Reputation
Badges 1
10 × Eureka!Adding venv into cache: /home/clearml/.clearml/venvs-builds/3.8
Running task id [...]:
[.]$ /home/clearml/.clearml/venvs-builds/3.8/bin/python -u /home/clearml/.clearml/venvs-builds/3.8/code/interactive_session.py
Summary - installed python packages:
pip:
- Cython==0.29.34
Environment setup completed successfully
Starting Task Execution:
Traceback (most recent call last):
File "/home/clearml/.clearml/venvs-builds/3.8/code/interactive_session.py", line 372, in <module>
import psuti...
@<1523701087100473344:profile|SuccessfulKoala55> I added some extra logs. Does this help to understand whats going on?
clearml-session
tried with some flags for requirements and git-credentials but that didn't change anything.
` from clearml import PipelineController
pipe = PipelineController(
name="Test Pipeline Controller",
project="test_pipelines",
version="1.0.0"
)
pipe.set_default_execution_queue('cpu')
pipe.add_parameter(
name='test_parameter',
description='just a random number for testing',
default='42'
)
def step_one(test_parameter):
return int(test_parameter) * 2
def step_two(new_number):
return int(new_number) * 2
pipe.add_function_step(
name='step_one',
...
I thought it might me related to this https://github.com/allegroai/clearml-agent/issues/124 but I already updated to the most recent version and it didnt help
Hi @<1523701087100473344:profile|SuccessfulKoala55> Im using hosted clearml, only the agent is self hosted on a local machine. I have used that setup to train on the agent without problem. Only when trying session that issue occurs
@<1523701087100473344:profile|SuccessfulKoala55> are there any other infos that would help to get a picture of what is happening? Does the agent need any special configuration to be able to run a clearml-session?
[package_manager.force_repo_requirements_txt=true] Skipping requirements, using repository "requirements.txt"
created virtual environment CPython3.8.10.final.0-64 in 101ms
creator CPython3Posix(dest=/home/clearml/.clearml/venvs-builds/3.8, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/clearml/.local/share/virtualenv)
added seed packages: pip==23.0.1, setuptools==67.6.1...
I think it was the "force_repo_requirements_txt=true". After I changed it in some tmp file were it was loaded from I had no issues anymore
I tried them already, e.g. running https://github.com/allegroai/clearml/blob/master/examples/pipeline/pipeline_from_functions.py gives me the exact error again