Slackbot
12/07/2021, 9:12 PMBo
12/08/2021, 2:18 AMpip_packages option, bentoml will just use the versions that's available on your system. Can you set the packages to torch=1.6.0 and torchvision=0.7.0 and see ?Ben Kaiser
12/08/2021, 1:40 PMbentoml==0.13.1
imageio
torch==1.10.0
botocore==1.23.20
torchvision==0.11.0
and docker build will fail with the dependency conflicts
if I pin the versions via @bentoml.env(pip_packages=["torch==1.6.0", "torchvision==0.7.0"]) then
I get some dependency conflict again (I don’t have the exact error at the moment but this case doesn’t convey anything about the issue I am describing either)
if I pin the versions via @bentoml.env(pip_packages=["torch>=1.6.0", "torchvision>=0.7.0"]) then
bentoml will output
bentoml==0.13.1
imageio
torch>=1.6.0
botocore==1.23.20
torchvision>=0.7.0
and docker will successfully build the image with the following versions installed
torch==1.10.0
torchvision==0.11.1
-----
I am fine pinning the version but I feel it is a bug that if I leave the dependency version selection up to bentoml it will select incompatible/conflicting versionsBo
12/08/2021, 10:42 PM