this is caused by the remote instance installing clearml 1.1.1 which is incompatible with python3.11 due to the regex in the traceback. However, even when I specify to use a compatible clearml version in the requirements it installs clearml 1.1.1 anyways....
Answered
Hello, Remote Task Execution Is Failing Due To The Following Error, Right After Packages Have Been Installed. Any Idea How To Fix This? :
hello, remote task execution is failing due to the following error, right after packages have been installed. ANy idea how to fix this? :
Environment setup completed successfully
Starting Task Execution:
Traceback (most recent call last):
File "/root/.clearml/venvs-builds/3.11/code/module_execution.py", line 1, in <module>
from clearml import Task
File "/root/.clearml/venvs-builds/3.11/lib/python3.11/site-packages/clearml/__init__.py", line 5, in <module>
from .task import Task
File "/root/.clearml/venvs-builds/3.11/lib/python3.11/site-packages/clearml/task.py", line 37, in <module>
from .backend_interface.task.models import TaskModels
File "/root/.clearml/venvs-builds/3.11/lib/python3.11/site-packages/clearml/backend_interface/task/models.py", line 37, in <module>
class TaskModels(UserDict):
File "/root/.clearml/venvs-builds/3.11/lib/python3.11/site-packages/clearml/backend_interface/task/models.py", line 38, in TaskModels
_input_models_re = re.compile(pattern=r"((?i)(Using model id: )(\w+)?)", flags=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/__init__.py", line 227, in compile
return _compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/__init__.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_parser.py", line 863, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/re/_parser.py", line 841, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 1
79 Views
1
Answer
one month ago
one month ago
Tags