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 Am Trying To Use Agent With A Sample, Very Simple Task. But It Stucks And Task Does Not Finish. In Ui In Console I See What I Pasted On Image. Do You Know What I Might Be Doing Wrong? Agent Is Run In Virtual Env Mode

Hi, I am trying to use agent with a sample, very simple task. But it stucks and task does not finish.

In UI in console I see what I pasted on image. Do you know what i might be doing wrong?

Agent is run in virtual env mode

  
  
Posted one year ago
Votes Newest

Answers 20


Agent works when I am running it from virtual environment but stucks in the same place all the time when I using Docker

Can you please provide a log? I'm not sure what it means stuck

  
  
Posted one year ago

Agent works when I am running it from virtual environment but stucks in the same place all the time when I using Docker

  
  
Posted one year ago

Actually I am still struggling with a problem of agent running on docker (message on starting at 10:54)

  
  
Posted one year ago

do I need to have the repo that I am running on my account

If it is a public repo, then no need, credentials are only needed for private repos 🙂
Am I missing something ?

  
  
Posted one year ago

AgitatedDove14 do I need to have the repo that I am running on my account? Even if it is public repo, like repo with your (clearml) examples:

SOURCE CODE
REPOSITORY
https://github.com/allegroai/clearml.git
BRANCH NAME
Latest in branch master
SCRIPT PATH
pytorch_matplotlib.py
WORKING DIRECTORY
examples/frameworks/pytorch

?

  
  
Posted one year ago

Its stored on the Task, you can see it under the execution tab in the UI

  
  
Posted one year ago

AgitatedDove14 how does the Agent know which git repo from my account to clone for execution?

  
  
Posted one year ago

There is a git repo 🙂 my question was to clarify if I understand well. Thank you for response :)

  
  
Posted one year ago

(just using local server not connected to Internet), am I right?

You can if you host your own git server, Or if your code is a single file / jupyter notebook, then the entire code is stored on the Task.
btw: what is the exact setup, how come there is no git repo?

  
  
Posted one year ago

So there is no way to use Agent without use of remote repo (just using local server not connected to Internet), am I right?

  
  
Posted one year ago

Oh, I see...

  
  
Posted one year ago

RoundMosquito25 do notice the agent is pulling the code from the remote repo, so you do need to push the local commits, but the uncommitted changes clearml will do for you. Make sense?

  
  
Posted one year ago

No 🙂

The full process to get the same code you run on your machine includes applying the local changes:
Clone the code from a git repository. Apply any uncommitted changes recorded.you can view the entire clearml agent diagram https://clear.ml/docs/latest/docs/clearml_agent

  
  
Posted one year ago

Do I need to push the needed code to github if it needs to be cloned?

  
  
Posted one year ago

btw. why do I need to give my git name/pass to run it if I serve an agent from local?

The main idea is that you can run the agent in any machine (local, cloud) and all should be done out of the box.

If your code is running as part of a git repository, the clearml agent will have to clone it, and for doing so it will use credentials.
Git name and pass are one way for it, but you can also use ssh - if you dont have the git name and password in the configuration, the clearml-agent will try cloning the repo with ssh (it should be printed in the log too), you can also enforce it with agent.force_git_ssh_protocol: true in your clearml.conf file.

  
  
Posted one year ago

btw. why do I need to give my git name/pass to run it if I serve an agent from local?

  
  
Posted one year ago

Ok, I noticed something that might have been causing that. I didn't add "agent" section to config file...

  
  
Posted one year ago

I also see, that I can't abort a task

  
  
Posted one year ago

docker mode

  
  
Posted one year ago

Hi RoundMosquito25
How did you spin the agent (whats the cmd line? is it in docker mode or venv mode?)
From the console it seems the pip installation inside the container (based on the log this is what I assume) seems like it is stuck ?!

  
  
Posted one year ago
645 Views
20 Answers
one year ago
one year ago
Tags