JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.52k stars 3.16k forks source link

How to limit VRam GPU usage #1326

Open Pabloferex opened 3 weeks ago

Pabloferex commented 3 weeks ago

Is there anyway to limit the GPU VRam usage?

romanvelichkin commented 2 days ago

EasyOCR is based on PyTorch framework. If PyTorch has such an option, then it is possible. You can read PyTorch documentation and search for such an option.