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 Setup An Auto Scaler, But I Am Getting The Following Dependency Error:

Hi,

I am trying to setup an auto scaler, but I am getting the following dependency error:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. clearml-agent 1.5.0rc0 requires attrs<20.4.0,>=18.0, but you have attrs 22.1.0 which is incompatible.My requirements.txt file has attrs==20.3.0
The tested task was cloned from a task that was finished successfully in a machine running the clearml-agent in docker mode with the same docker image as the autoscaler.
I

  
  
Posted 12 months ago
Votes Newest

Answers 19


Hi SkinnyPanda43
Can you attache the full log?
Clearml agent is installed before your requirements.txt , at least in theory it should not collide

  
  
Posted 12 months ago

SkinnyPanda43 can you please try agent v1.5.1rc0 and let me know if it changes anything?

  
  
Posted 12 months ago

SuccessfulKoala55 , how do I set the agent version when creating the autoscaler?

  
  
Posted 11 months ago

I am launching through the UI, "XXX workspace / https://app.clear.ml/applications / AWS Autoscaler".

  
  
Posted 11 months ago

Hi SkinnyPanda43
This issue was fixed with clearml-agent 1.5.1, can you verify?

  
  
Posted 11 months ago

Based on what I see when the ec2 instance starts it installs the latest, could it be this instance is still running?

  
  
Posted 11 months ago

Hmm let me check first when it is going to upgraded and if there is a workaround

  
  
Posted 11 months ago

I think not, I have not set any ENV variable. Just went to the web UI, added an autoscaler, filled the data in the UI and launched the autoscaler.

By inspecting the scaler task, it is running the following docker image: allegroai/clearml-agent-services-app:app-1.1.1-47

  
  
Posted 11 months ago

Any chance there is an env variable you set to get 1.5.0rc0? Because this is the version that is being used

  
  
Posted 11 months ago

Basically, I am following the steps in this video:
https://www.youtube.com/watch?v=j4XVMAaUt3E

  
  
Posted 11 months ago

SkinnyPanda43 I've identified the reason for the forced RC version - we'll remove this constraint and I'll ping you here when you can try again

  
  
Posted 11 months ago

So It could be launched by the clearml cli? I can also try that.

  
  
Posted 11 months ago

Hi @<1523701875835146240:profile|SkinnyPanda43> , sorry for the delay, we're just in the process of upgrading this in app.clear.ml

  
  
Posted 10 months ago

Hi @<1523701875835146240:profile|SkinnyPanda43> , it should be OK now - please try it out and let me know

  
  
Posted 10 months ago

Hi, any update on that?

  
  
Posted 10 months ago

Hmm how do you launch the autoscaler, code?

  
  
Posted 11 months ago

Hi, AgitatedDove14

How do I set the version to 1.5.1,? When I launch the autoscaler the version 1.5.0 is picked by default.

  
  
Posted 11 months ago

AgitatedDove14 , here follows the full log:

  
  
Posted 11 months ago

Actually, this error happens when a launch the autoscaler from the Web UI, when I enqueue a task, it launches an EC2 instance which "Status Check" stays in "Pending" for over 15 minutes and then the instance is terminated by the scaler that launches another one in a loop.

  
  
Posted 11 months ago