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 All, I’M Looking For Suggestions On Best Practices For Easily Going Between Local Development And Remote Execution. Currently, The Approach I’Ve Been Using Is To Have A Gitlab Ci/Cd Pipeline That Builds A New Docker Image For Each Commit And Then Setti

Hi all, I’m looking for suggestions on best practices for easily going between local development and remote execution. Currently, the approach I’ve been using is to have a Gitlab CI/CD pipeline that builds a new docker image for each commit and then setting CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL=1 on the ClearML agents so that I have all of my dependencies and my local project installed already. The downside is that building and pushing a new image on each commit takes a while. I would prefer to utilize the approach of cloning the repository, however I need to be able to install the repository as a pip package for the local imports to work correctly. Is there a way to tell the ClearML agent after cloning the repo and checking out the current commit to run something like: cd /root/.clearml/venvs-builds/task_repository/<my-code-repo> && pip install . ?

  
  
Posted 8 months ago
Votes Newest

Answers 4


The requirements option using git+https does work, at least for the main install_requires dependences in my setup.cfg. It didn’t install extra dependencies of i tried to do something like pip install my-package[with-optional] @ git+ None

  
  
Posted 8 months ago

The bash setup script option doesn’t work because that runs before the repo is cloned. I could add the git clone step there, but not sure how to access the git credentials stored in the agent.

  
  
Posted 8 months ago

Hi @<1523701070390366208:profile|CostlyOstrich36> , thanks for your reply. I’ll try both and see what happens.

  
  
Posted 8 months ago

Hi @<1533620191232004096:profile|NuttyLobster9> , first, you can insert it using the bash startup script.
Also, I think you can add this repo to the requirements using the following format:

git+
  
  
Posted 8 months ago
608 Views
4 Answers
8 months ago
8 months ago
Tags