<@USU6W5ATA> I have question with Image Spec ```cu...
# ask-the-community
r
@Kevin Su I have question with Image Spec
Copy code
custom_image = ImageSpec(
    name="flyte-kfpytorch-plugin",
    packages=["torch", "torchvision", "flytekitplugins-kfpytorch", "matplotlib", "tensorboardX",
    registry="localhost:30000",
)
some lib is very large such as torch like above, This may reach timeout in pip install when building the image. Formally, how to set timeout for pip in this case
k
interesting. we didn’t set timeout in the flytekit. seems like the timeout in envd
How long does it take to build this image
r
@Kevin Su The time build image will base on internet speed of user.
In my case, it's time out of pip install when envd was executing
k
could you give it a try
Copy code
ImageSpec(apt_packages=["git"], packages=["--timeout=1000 numpy"], registry="localhost:30000")
r
@Kevin Su have you just updated it ? =))
or this is trick for write script build before execute
k
this is trick. envd allows you to do that😂