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
Brand New User Here. I’M Trying To Run An Optimization Task. The Tasks Resulting From The Optimization All Fail Because A Necessary Package Is Not Installed On Them. I Checked The Template Task And The List Of “Installed Packages” Indeed Does Not Have One

Brand new user here. I’m trying to run an optimization task. The tasks resulting from the optimization all fail because a necessary package is not installed on them. I checked the template task and the list of “Installed Packages” indeed does not have one of my required packages in the list. It seems to have everything else. Is there a way to fix that? In case it’s helpful, the missing package is the snowflake-connector-python .

  
  
Posted 2 years ago
Votes Newest

Answers 6


Hi BeefyHippopotamus73

. I checked the template task and the list of “Installed Packages” indeed does not have one of my required packages in the list.

Basically the "installed packages" is auto populated based on the directly imported packages n your code base.
Could it be you do not have import snowflake-connector-python and this is a derivative package (i.e. required from a different package)

BTW: when you clone your Task in the UI you can edit and add the missing packages, just like you would with any "requirements.txt"
You can also (if for some reason ClearML fails to autodetect) manually add a package in code:
` # notice this should be called before the Task.init call
Task.add_requirements("snowflake-connector-python",">=0")

task = Task.init(....) `

  
  
Posted 2 years ago

That’s how I generate my raw input data is from a Snowflake query, then I do all the feature encoding/building etc.

  
  
Posted 2 years ago

Thanks! I think you were right on all counts there. That was my work around.

  
  
Posted 2 years ago

Yey!
Out of curiosity, what's the workflow with snowflake?

  
  
Posted 2 years ago

I suppose in the end I’m going to want to log the inference values back to snowflake as well … haven’t gotten to that part yet

  
  
Posted 2 years ago

Nice!

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