StickyCoyote36 , Hi!
Is the agent ignoring the requirements.txt
and only installing the "installed packages" in the task or installing them both?
It’s installing them both, I just got it to ignore installed packages by adding Task.force_requirements_env_freeze(requirements_file='requirements.txt')
but I’d like a more general solution (i.e. not have to add that line before every Task.init(..)
)
StickyCoyote36 , I think that is the solution. Is there a reason you want to ignore the "installed packages"? After all those are the packages that the task was ran with.
It’s because I have an M1 chip and can’t install the latest tensorflow
version locally
StickyCoyote36 , I'm looking into a solution.
Please hold on 🙂
StickyCoyote36 , if I understand correctly due to your M1 chip limitation you run the script from a different machine and then you use the agent to run on the M1 chip machine and you want the requirements.txt in the repo to override the "installed packages" when running with agent, correct?