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'M Trying To Run My Code With A Pipelinecontroller Within A Docker Container Instead Of On My Local Computer. Currently Having Trouble Where The Code Doesn'T Run In The Repo As Expected; "No Repository Found, Storing Script Code Instead" Is The Warni

Hi, I'm trying to run my code with a PipelineController within a docker container instead of on my local computer. Currently having trouble where the code doesn't run in the repo as expected; "no repository found, storing script code instead" is the warning. Using set_repo to the github also presents a problem where I'm running a script in a folder in the repo, but the execution work directory is the root and not the intended folder. Any suggestions as to how to fix this? Is this a problem with the clearml.conf file? Or is there a way to change the execution work directory for the pipeline controller?

  
  
Posted 4 months ago
Votes Newest

Answers


Hi @<1633638724258500608:profile|BitingDeer35> ! Looks like the SDK doesn't currently allow to create steps/controllers with a designated cwd. You will need to call the set_script function on your step's tasks and on the controller for now.
For the controller: If you are using the PipelineDecorator, you can do something like: PipelineDecorator._singleton._task.set_script(working_dir="something") , before you are running the pipeline function. In the case of regular PipelineController s , you need to do something like controller._task.set_script("...") .
For steps: you need to iterate through each node and change the cwd before the nodes run:

for node in controller.nodes:
   node.job.task.set_script("...")
  
  
Posted 4 months ago
234 Views
1 Answer
4 months ago
4 months ago
Tags
Similar posts