Answered
Hi Everyone!
Did Anyone Have This Issue With Clearml Agent In K8S When Trying To Run A Task Remotely?
👋 Hi everyone!
Did anyone have this issue with clearml agent in k8s when trying to run a task remotely?
│ k8s-glue ERROR: Could not push back task [11d1b3170be44aaca741a178e2d93335] to k8s pending queue k8s_scheduler [3a6d082dc762454d80cef9cbad2eb60d], error: Validation error (Cannot skip setting execution queue for a task that is not enqueued or does not have execution queue set)
The agent listent to the same queue I i put the task in.
I'm just running this code:
from clearml import Task
import os
from ultralytics import YOLO
task = Task.init(project_name="Ultralytics Demo", task_name="YOLOv8 Training Example")
task.execute_remotely(queue_name='gpu', exit_process=True)
model = YOLO('yolov8n.pt')
results = model.train(data='coco128.yaml', epochs=1, imgsz=640)
Thank you in advance!
110 Views
2
Answers
19 days ago
18 days ago
Tags
Similar posts