You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use "python -m ..." to execute a module in the clearml-task cli tool it rejects the task even though the backend can run that task when cloning and executing from the web UI
To reproduce
Exact steps to reproduce the bug. Provide example code if possible.
Create a new folder with the name "mymodule"
Add an empty init.py file in the folder
Add a file callde train.py in the folder with some clearml code (e.g. pytorch mnist example)
Hi @EladDvash ! We are taking a look. It seems that we can actually support modules to run (the agent can properly run them and the backend allows them as well), but the SDK can't create a task from a module yet. We will soon patch this.
Describe the bug
When trying to use "python -m ..." to execute a module in the clearml-task cli tool it rejects the task even though the backend can run that task when cloning and executing from the web UI
To reproduce
Exact steps to reproduce the bug. Provide example code if possible.
clearml-task --project test --name task_test --skip-task-init --folder . --requirements requirements.txt --script "-m mymodule.train" --args epochs=2 --queue default
Expected behaviour
What is the expected behaviour? What should've happened but didn't?
Environment
The text was updated successfully, but these errors were encountered: