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
Hey.

Hey. May be a question asked previously , but does clearml support ECR? I have a series of pre-created containers that I would like to use during training. Is there a way I can use those containers hosted on ECR in c learml?

  
  
Posted 2 years ago
Votes Newest

Answers 9


TenseOstrich47 as long as on the machine running the agent has credentials to your ECR, when the agent will run Any docker container, it will able to pull it. There is no need to manually change anything, notice the Task itself contains the name of the image it will use

  
  
Posted 2 years ago

Was trying to figure out how the method knows that the docker image ID belongs to ECR. Do you have any insight into that?

Basically you should have the docker service login before running the agent, then the agent uses docker to run the image from the ECR.
Make sense ?

  
  
Posted 2 years ago

Hi Max
you can configure a clearml agent to pull your docker image from ECR and run the experiment into it. Is that answering your question ?

  
  
Posted 2 years ago

yes it does, but that requires me to manually create a new agent every time I want to run a different env no?

  
  
Posted 2 years ago

TenseOstrich47 , you can specify a docker image with
task.set_base_docker(docker_image="<DOCKER_IMAGE>")You will of course need to login to ECR on that machine so it will be able to download the docker image.

  
  
Posted 2 years ago

Sorry, just revisiting this as I'm only getting around to implementation now. How do you pass the ECR container ID to the defined task?

  
  
Posted 2 years ago

ECR access should be enabled as part of the role the agent instance assumes when it runs a task

  
  
Posted 2 years ago

Oh great, thanks! Was trying to figure out how the method knows that the docker image ID belongs to ECR. Do you have any insight into that?

  
  
Posted 2 years ago

And how will it know that the container is on ECR instead of some other container repository?

  
  
Posted 2 years ago
972 Views
9 Answers
2 years ago
one year ago
Tags