And one more thing(seems like agent didn’t pull all necessary code)
I’m trying to run task export.py
with remote agent. But in this script there are some imports from my other .py scripts:
import torch - this module should be installed with pip
from from generate_triton_config import generate_configs - this import from generate_triton_config.py
And it also raise an error:
Traceback (most recent call last):
File "/root/.clearml/venvs-builds/3.10/code/export.py", line 8, in <module>
from generate_triton_config import generate_configs
ModuleNotFoundError: No module named 'generate_triton_config'
And when I checked folder: /root/.clearml/venvs-builds/3.10/code/
there is only one script export.py
So what I’m doing wrong ?
It even failed to create correct enviroment
And when it tried to execute import torch
It raise large error:
ImportError: cannot import name '_get_sequence_nr' from 'torch._C._autograd' (unknown location)
Thank you!
That works
CLEARML_AGENT_SKIP_PIP_VENV_INSTALL & CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL
But still have a problem with, agent didn’t pull all necessary code
Do you have any ideas why that happens?
In “Installed packages” section, I see:
# Local modules found - skipping:
# generate_triton_config == ../generate_triton_config.py
Mb this relate somehow?
Hi @<1706116294329241600:profile|MinuteMouse44> , you can use CLEARML_AGENT_SKIP_PIP_VENV_INSTALL & CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL