nidhaloff / deep-translator

A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
https://deep-translator.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
1.61k stars 185 forks source link

using certain cuda in multi gpu environment? #174

Closed Marcophono2 closed 1 year ago

Marcophono2 commented 1 year ago

Hello!

As my nvidia-smi monitor displays an increase in gpu usage when making a translation it seems that deep-translator is using cuda, if available. But I have three graphic cards and due to performance reasons I need to use always the related gpu. Is it possible to influence this?

nidhaloff commented 1 year ago

@Marcophono2 Hi, Can you please provide more context? deep-translator does not use cuda!

Marcophono2 commented 1 year ago

Thanx @nidhaloff , that is the answer. :-)