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 Everyone, Two Questions: 1- How Does Clearml Figures Out The Environment? For Example In My Env I Have This

hi everyone, two questions:
1- How does clearml figures out the environment? for example in my env I have this

qiskit 0.37.2 qiskit-aer 0.10.4 qiskit-experiments 0.4.0 qiskit-ibm-experiment 0.2.5 qiskit-ibmq-provider 0.19.2 qiskit-terra 0.21.2but clearml when launching this task remotely it installs only a subset, making the task fail.

` - qiskit-experiments==0.4.0

  • qiskit-ibm-experiment==0.2.5
  • qiskit-ibmq-provider==0.19.2
  • qiskit-terra==0.21.2 `
    2.- Im launching jobs using hydra multirun. In my script I have the following logic

if config.clearml.enabled: task = Task.init( project_name=config.clearml.project_name, task_name=config.clearml.task_name, reuse_last_task_id=False, ) if config.clearml.remote: task.execute_remotely(queue_name=config.clearml.queue_name)However, when running the first job, it switches to remote run, and stops all the other hydra runs. I would like to send all the jobs from hydra to the queue

  
  
Posted 2 years ago
Votes Newest

Answers 4


Hi AttractiveCockroach17 , in the first question - clearml captures the packages used during the run. What does your script use and what does clearml capture when running locally on your machine?

You can configure the clearml to capture your entire environment as well.

Regarding 2:
Can you please expand on the entire process?

  
  
Posted 2 years ago

1.- The script im running uses qiskit.providers but as installed by when you install qiskit. If you try to install the submodules independently, it doesnt work. How do I use the full environment instead? cannot find this in the documentation. Also, I cannot configure the agents it seems because im using the aws autoscaler service so I dont spin them explicitly.

2.- My workflow would be that I usually, locally I run multiple sequential experiments using hydra multirun. What I want is that If I pass an extra flag, like, remote=true , all these runs get enqueued. So at first thought excecute_remotely would work but doenst do what I need because it stops the full excecution, not only one of the runs from hydra's multirun, but the whole thing.

  
  
Posted 2 years ago

found the env freeze. For the second workflow all I would need I guess then would be and env variable that would tell me whether this is being currently run by an agent or not

  
  
Posted 2 years ago

basically running_locally() ok, I think I have everything I need. Will give it a try.

  
  
Posted 2 years ago
1K Views
4 Answers
2 years ago
one year ago
Tags