full-evening-87657
12/06/2023, 7:33 AMcustom_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 caseglamorous-carpet-83516
12/06/2023, 9:02 AMglamorous-carpet-83516
12/06/2023, 9:02 AMfull-evening-87657
12/06/2023, 9:11 AMfull-evening-87657
12/06/2023, 9:13 AMfull-evening-87657
12/06/2023, 9:15 AMglamorous-carpet-83516
12/06/2023, 10:17 AMImageSpec(apt_packages=["git"], packages=["--timeout=1000 numpy"], registry="localhost:30000")
full-evening-87657
12/06/2023, 10:29 AMfull-evening-87657
12/06/2023, 10:30 AMglamorous-carpet-83516
12/06/2023, 10:33 AM