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! I'D Like To Confirm That I'Ve Understood The Concept Of Using

Hello! I'd like to confirm that I've understood the concept of using clearml-task with a docker image

I've built my image locally, but when I try to execute it, this is what I get

clearml-task --project my_project --name remote_test --docker test --queue default
ClearML launch - launch any codebase on remote machine running clearml-agent

Error: Entry point script not provided

Do we also need the entry point script here, given that its already defined in the dockerfile?

Thanks
None

  
  
Posted 10 months ago
Votes Newest

Answers 6


Hi @<1523701070390366208:profile|CostlyOstrich36> I ran this with the repo and script arguments, and it seemed that the package installation reverted to cloning the repo.

Executing task id [task]:
repository = my_repo
branch = my_branch
version_num = 
tag = 
docker_cmd = test
entry_point = clearml_pipeline/scheduler.py
working_dir = .

The docker image is correctly identified here, but I still face the installation errors I had before, which I hoped to circumvent using the image

  
  
Posted 10 months ago

Hi @<1603560525352931328:profile|BeefyOwl35> , The agent uses it's own entry point, so yes you do need to specify it even if it's in the dockerfile 🙂

  
  
Posted 10 months ago

And if so, does it mean the dockerfile isn't necessary?

  
  
Posted 10 months ago

Thanks @<1523701070390366208:profile|CostlyOstrich36> , what would be the intended use case of the docker option?
I was using it because I have some packages I'd like to install from a private repo, with a poetry environment, so I found it easier to containerize this set up process, as some authentication was necessary

I thought the docker option meant I can simply run the task using nothing but the docker image

  
  
Posted 10 months ago

Yes and yes 🙂

  
  
Posted 10 months ago

Thanks @<1523701070390366208:profile|CostlyOstrich36> , so then I must still reference the repo and script?

  
  
Posted 10 months ago
573 Views
6 Answers
10 months ago
9 months ago
Tags