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
Hello, When Running A Task With A Remote Interpreter I Get

Hello, when running a task with a remote interpreter i get clearml.Task - INFO - No repository found, storing script code instead . I am using Pycharm and i have set up the clear-ml plugin, but it still doesnt work. The problem is that when I clone the task for an agent any other files used in my repo are not found. Thanks!

  
  
Posted 2 years ago
Votes Newest

Answers 17


Yes, I did that.

  
  
Posted 2 years ago

BTW: latest PyCharm plugin with 2022 support was just released:
https://github.com/allegroai/clearml-pycharm-plugin/releases/tag/1.1.0

  
  
Posted 2 years ago

In your code, can you print the following:
import os print(os.environ.keys())There should be a few keys the Pycharm plugin is sending from the local machine, pointing to the git repo

  
  
Posted 2 years ago

Yes this is with the latest plugin, and I can confirm that I have not checked that.

  
  
Posted one year ago

Can you also make sure you did not check "Disable local nachine git detection" in the clearml PyCharm plugin?

  
  
Posted one year ago

AgitatedDove14 Hi, yeah for some reason it isnt working. I should have specified that I am running a remote interpreter in docker on my machine. For now I fixed it by manually adding the code repository as a env variable in the Dockerfile.

  
  
Posted 2 years ago

AgitatedDove14 Hi, sorry for the late reply, this is the output:

  
  
Posted one year ago

And this is with the latest pycharm plugin 1.1.0 ?

  
  
Posted one year ago

AgitatedDove14 , I am using Ubuntu 20.04. git is recognized in shell and also I use pycharm git UI sometimes and it works there.

  
  
Posted one year ago

Hmm, could it be that the working dir is outside of the git repo?

  
  
Posted one year ago

AgitatedDove14 Hi, thanks for the update, I switched to the new version, because I am using PyCharm 2022, but still it isnt working. In the UI I found that the plugin is using the keys, but the repository is not found. The repo is in GitLab. The base docker image is http://nvcr.io/nvidia/pytorch:22.09-py3 . What could be wrong?

  
  
Posted one year ago

hmm DeliciousKoala34
what are you getting if you put this at the top of your code (the one you are running in the remote docker)
import os print([(k, os.environ[k]) for k in os.environ if k.startswith("CLEARML_")])

  
  
Posted one year ago

Maybe this should look differently?:

  
  
Posted 2 years ago

Hi DeliciousKoala34

I am using Pycharm and i have set up the clear-ml plugin, but it still doesnt work.

Did you provide the key/secret to the plugin? I think this is a must for it to actually work

  
  
Posted 2 years ago

Hi DeliciousKoala34
This means the pycharm plugin was not able to run git on your local machine.
Whats your OS ?
could it be that if you open cmd / shell "git" is not in the path ?

  
  
Posted one year ago

[('CLEARML_API_SECRET_KEY', 'my_secret_key'), ('CLEARML_FILES_HOST', ' '), ('CLEARML_WEB_HOST', ' '), ('CLEARML_API_ACCESS_KEY', 'VOQ1JYD64MYMH1O76A0L'), ('CLEARML_API_HOST', ' ')]

  
  
Posted one year ago

DeliciousKoala34 any chance you are using PyCharm 2022 ?

  
  
Posted 2 years ago