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 one year ago
Votes Newest

Answers 6


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 one year 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 one year ago

Hi @<1523701066867150848:profile|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 one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago
905 Views
6 Answers
one year ago
one year ago
Tags
Similar posts