Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Really slow model downloads... More than ARGOS_DEBUG=1? #461

Open
IngwiePhoenix opened this issue Jan 31, 2025 · 1 comment
Open

Really slow model downloads... More than ARGOS_DEBUG=1? #461

IngwiePhoenix opened this issue Jan 31, 2025 · 1 comment

Comments

@IngwiePhoenix
Copy link

Hello!

Coming here after fighting with LibreTranslate for hours and attempting to figure out why or what is causing startup to be incredibly slow. Like, insanely so. In my search, I came across this project here as a dependency and within the Settings.md, I got to find ARGOS_DEBUG=1.

But...even so, and with a little bit of hacking and smacking an installation together under uv/uvx, I get to this:

PS C:\Users\Ingwie Phoenix> $env:ARGOS_DEBUG=1
PS C:\Users\Ingwie Phoenix> & "C:\Users\Ingwie Phoenix\AppData\Roaming\uv\tools\argostranslate\Scripts\python.exe" "C:\Users\Ingwie Phoenix\AppData\Roaming\uv\tools\argostranslate\Scripts\argospm" install translate-en_de
('Get https://argos-net.com/v1/translate-en_de-1_9.argosmodel',)

...and this is the state since two hours. That shouldn't be the problem, because I am on a legit 600/300mbit/s up/down link (FTTH).

Any other methods to "debug" this?

I have been trying on...

  • Windows, Ryzen 9 3900X, py3.11.x, x86_64
  • Linux, Debian 12 (Armbian), RockChip RK3588 (armv8/aarch64), Docker image (both from Docker hub and self built)
  • Linux, Ubuntu 24.04, 4 vCPU cores of an Ampere CPU (hoster wouldn't say which skew) (aarch64), Docker with image from hub and self built

That last node was the most successful but with 4c/4t, and 8GB RAM and a small remaining rootfs storage, I did only run it there to see if it worked or not.

Thanks in advance!

Kind regards,
Ingwie

@simplylu
Copy link

simplylu commented Feb 21, 2025

Same here, tried it on the below devices.

  • Linux, Ubuntu 24.04, 1x Intel(R) Xeon(R) CPU ES-2640 v3 @ 2.60GHz, 16 GB RAM, py 3.12.4
  • Linux, Manjaro, 8x Intel(R) Core(TM) i5-1035G1, 16GB RAM, py 3.12.4
  • Linux, EndeavourOS 2024.01.25, 12x Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz , 64GB RAM, py 3.12.7

export ARGOS_DEBUG=1; argospm install translate-nl_en results in a similar error as the OP stated: ('Get https://argos-net.com/v1/translate-nl_en-1_8.argosmodel',)

Library version is 1.9.6.

BR;
Lu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants