Unanswered
When We Run A Task On Gpu, We Can Access Gpu Monitoring. But Can We Access It From Code? Usecase Is: When We See That There Is Enough Resources For Some Task, We Schedule It
Hi @<1523701240951738368:profile|RoundMosquito25>
Sure you can 🙂
task = Task.get_task("task_id_here")
metrics = task.get_last_scalar_metrics()
print(metrics[":monitor:gpu"])
169 Views
0
Answers
one year ago
one year ago