Following up on this @<1523701070390366208:profile|CostlyOstrich36> @<1523701435869433856:profile|SmugDolphin23>
Hi @<1715175986749771776:profile|FuzzySeaanemone21> , can you provide a log of the run? Also some code snippet that reproduces this behavior on your side?
Hi @<1523701070390366208:profile|CostlyOstrich36> @<1523701435869433856:profile|SmugDolphin23> . I have used these lines in my script:
task = Task.init(project_name="prediction", task_name="local")
task.set_repo(repo=" None ", branch="main")
task.execute_remotely(queue_name="default", exit_process=True)
It installs all the dependencies using Poetry from .toml file in the repository, but fails to find the config file after that. This is what the error log looks like:
"""
Writing lock file
Installing the current project: project_unet (0.0.1)
Could not freeze installed packages
Running task id [1b83e9263ddf4f13a856c7052fab68b5]:
[.]$ poetry run python -u "C:\Users\HP.clearml\venvs-builds\3.10\task_repository\project_unet.git\predict.py"
No freeze information available
Environment setup completed successfully
Starting Task Execution:
Primary config directory not found.
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Leaving process id 23458
DONE: Running task '1b83e9263ddf4f13a856c7052fab68b5', exit status 1
"""
Hi @<1715175986749771776:profile|FuzzySeaanemone21> ! Are you running this remotely? If so, you should work inside a repository such that the agent can clone the repository which should include the config as well. Otherwise, the script will run as a "standalone"