replicate / cog

Containers for machine learning
https://cog.run
Apache License 2.0
7.84k stars 545 forks source link

Support poor network environments. #1509

Open lvelvee opened 7 months ago

lvelvee commented 7 months ago

It will download Tini first. However, downloading is difficult in poor network environments.

https://github.com/replicate/cog/blob/a81c7a4338be7596e64f3c3efe363852d6a4193d/pkg/dockerfile/generator.go#L269-L275 https://github.com/replicate/cog/blob/a81c7a4338be7596e64f3c3efe363852d6a4193d/pkg/docker/build.go#L34-L39

ZhouhaoJiang commented 7 months ago

I have also encountered many network issues, but they are not very friendly to Chinese developers