Add Torch Dependency Resolution
-
Use our compatibility matrix to automatically resolve the torch version if the torch version is blank but adjacent dependencies are defined.
-
Make torchaudio capable of determining CUDA version compatibility like torchvision
-
Rewrite dependency versions to align with resolved versions
-
Remove version modifiers, this is now satisfied by adding in extra index URLs to the requirements
-
Fixes: https://github.com/replicate/cog/issues/1951
Now that the tests run properly, that test_torch_version_resolution_with_torchvision test failure looks suspicious 👀
Now that the tests run properly, that
test_torch_version_resolution_with_torchvisiontest failure looks suspicious 👀
Looks like we are hitting the timeout on integration tests, I will bump to 20