ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
When I try to set packages, it gives me this error:
File "train.py", line 102, in train
task.set_packages(packages=Path(root/'requirements.txt'))
File"\Lib\site-packages\clearml\task.py", line 1595, in set_packages
self._update_requirements(packages or "")
File "Lib\site-packages\clearml\backend_interface\task\task.py", line 2546, in _update_requirements
requirements[key] = '\n'.join(requirements[key])
Hi @andruum ! Looks like using Path for packages is bugged. You could simply do task.set_packages(packages=Path(root/'requirements.txt').as_posix()) in the meantime, until we fix this issue.
Describe the bug
When I try to set packages, it gives me this error:
File "train.py", line 102, in train task.set_packages(packages=Path(root/'requirements.txt')) File"\Lib\site-packages\clearml\task.py", line 1595, in set_packages self._update_requirements(packages or "") File "Lib\site-packages\clearml\backend_interface\task\task.py", line 2546, in _update_requirements requirements[key] = '\n'.join(requirements[key])
The file exists.
Expected behaviour
Packages should be added to the task.
Environment