How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Warning: weights_only, torch.load, stanza, libretranslate

calendar_today December 8, 2025 person Bredordom domain libre-translate

FYI. There is a following warning in the libretranslate:v1.8.3 container log during every translation attempt: /app/venv/lib/python3.11/site-packages/stanza/models/tokenize/trainer.py:85: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See pytorch/SECURITY.md at main · pytorch/pytorch · GitHub for more details).

open_in_new Read original post