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 2 years ago
Votes Newest

Answers 20


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

  
  
Posted 2 years ago

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 2 years 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 2 years 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 2 years ago

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

  
  
Posted 2 years ago

docker mode

  
  
Posted 2 years ago

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

  
  
Posted 2 years 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 2 years 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 2 years ago

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

  
  
Posted 2 years 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 2 years 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 2 years ago

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

  
  
Posted 2 years 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 2 years ago

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

  
  
Posted 2 years ago

Oh, I see...

  
  
Posted 2 years 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 2 years 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 2 years ago

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

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago
1K Views
20 Answers
2 years ago
one year ago
Tags