In this section, the translation environment I will be run in its native form. LibreTranslate also provides a Docker container under https://registry.hub. docker.com/r/libretranslate/ libretranslate. Its use, however, is not necessarily recommended – keep in mind that exposing CUDA acceleration to Docker, as outlined at https://docs.nvidia.com/datacenter/cloud-native/ container-toolkit/install-guide.html, is an involved and finicky process. Deployment of the underlying library can be handled via Pip, because the product is considered stable enough by the Python community. For reasons of comfort, we first create a virtual environment (the current environment is in parentheses) by entering the following commands: (base) ~$ conda create -n aitranslator (base) ~$ conda activate aitranslator (aitranslator) ~$
The actual download is then accomplished via (aitranslator) ~$ pip3