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
I come to you because I try to run and enqueue different yolo training remotly with clearml-agent, the task run correctly BUUUUUT, yolo doesn't run in GPU mode ...
So, have you any idea how to install CUDA (if it's the problem) in the environment created by my clearml-agent ?
I launch my agent with this code :
fromultralyticsimportYOLOfromclearmlimportTaskfromclearmlimportDatasettask=Task.init(
project_name='Boudineuse', # project name of at least 3 characterstask_name='B1_V8', # task name of at least 3 characterstask_type=None,
tags=None,
reuse_last_task_id=True,
continue_last_task=False,
output_uri=None,
auto_connect_arg_parser=True,
auto_connect_frameworks=True,
auto_resource_monitoring=True,
auto_connect_streams=True,
)
task.execute_remotely(
queue_name='danl', # type: Optional[str]clone=False, # type: boolexit_process=True# type: bool
)
dataset=Dataset.get(
dataset_id=None,
dataset_project="Boudineuse",
dataset_name="Boudineuse",
dataset_version="1.0.0",
only_completed=True,
only_published=False,
)
# Load a modelmodel=YOLO('yolov8n-cls.pt') # load a pretrained model (recommended for training)# Train the modelresults=model.train(data=dataset.get_local_copy(), epochs=1000, imgsz=640)
Well, if you need more informations, please ask me.
Thanks !
The text was updated successfully, but these errors were encountered:
Hi @NBarile, I see you're running it not in docker mode. The agent cannot install CUDA, and you must have CUDA installedin your system if you'd like ti to be used. The easier way to do that is to use docker mode and use a docker container with a preinstalled CUDA version.
Hello there !
I come to you because I try to run and enqueue different yolo training remotly with clearml-agent, the task run correctly BUUUUUT, yolo doesn't run in GPU mode ...
So, have you any idea how to install CUDA (if it's the problem) in the environment created by my clearml-agent ?
I launch my agent with this code :
Well, if you need more informations, please ask me.
Thanks !
The text was updated successfully, but these errors were encountered: