Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Have A Remote Task That I Want To Run On Some Of The Gpus Of The Remote Machine. I Set The Agent In The Remote Machine On Two Of The Gpus. How Do I Query The Agent What Are His Gpu So That My Code Will Use Only Them

Hi,
i have a remote task that i want to run on some of the GPUs of the remote machine.
I set the agent in the remote machine on two of the GPUs. How do i query the agent what are his GPU so that my code will use only them

  
  
Posted one year ago
Votes Newest

Answers 8


Are you using the agent in docker mode (meaning is your task running inside a docker container)?

  
  
Posted one year ago

no, venv

  
  
Posted one year ago

Hi @<1546303277010784256:profile|LivelyBadger26> , when you run the agent, you can specify which CPUs to use using the --gpus argument like you used

  
  
Posted one year ago

Try inspecting the environment (os.environ) - I'm pretty sure you'll see it there...

  
  
Posted one year ago

not sure i follow you. i am only talking about the GPUs

  
  
Posted one year ago

How did you set the agent for these GPUs?

  
  
Posted one year ago

Sorry, GPUs 🙂

  
  
Posted one year ago

clearml-agent daemon --detached --queue bell --gpus 1

  
  
Posted one year ago
610 Views
8 Answers
one year ago
one year ago
Tags
Similar posts