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, How Does

Hi, how does agent.enable_git_ask_pass works? I am using the clearml-agent in docker mode and my experiment is stuck at downloading a private dependency:
Cloning (to revision dev) to /tmp/pip-install-sip2pnbd/repo Username for ' ':EDIT: I just set agent.enable_git_ask_pass: true in the config of the clearml agent (v1.5.1) and the task is still stuck at asking username when trying to get the private dependency.
I declare the requirements using task.update_requirements([".[my-config]"]) , and the private dependency is specified in the "install_requires" of my setup.py using the syntax my-private-dependency @ git_url
How can I fix that?

  
  
Posted 2 years ago
Votes Newest

Answers 6


Ping CostlyOstrich36 AgitatedDove14 SuccessfulKoala55 Just making sure this wasn't missed 🙂

  
  
Posted 2 years ago

There was no possible cache, the agent was running on a new ec2 instance

  
  
Posted 2 years ago

I just set

agent.enable_git_ask_pass: true

in the config of the clearml agent (v1.5.1) and the task is still stuck at asking username when trying to get the private dependency.

Hmm that should not happen, could you delete the cache and retry? maybe?

  
  
Posted 2 years ago

Hi JitteryCoyote63

Hi, how does

agent.enable_git_ask_pass

works

basically it pushes the pass through stdin to git when it asks (it is a git feature)

  
  
Posted 2 years ago

The workaround I could find for now is to add the following to CONTAINER > SETUP SHELL SCRIPT:
mkdir -p ~/git/credential chmod 0700 ~/git/credential git config --global credential.helper 'cache --socket ~/git/credential/socket'

  
  
Posted 2 years ago

Also enable_git_ask_pass is not dumped into the logs when an experiment start btw

  
  
Posted 2 years ago
1K Views
6 Answers
2 years ago
2 years ago
Tags
Similar posts