Cool, now I understand the auto detection better
WackyRabbit7 the auto detection will only import direct packages you import (so that we do not end up with bloated venvs)
It seems that the transformers
library does not have it as a requirements, otherwise it would have pulled it...
In your code you can always do either:import torch
orTask.add_requirements('torch')