question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clearml does not respect diffs in requirements.txt

See original GitHub issue

If I change requirements.txt and not commit the changes, ClearML disregards the uncomitted changes as installs older packages.

The wanted behaviour is to apply the uncommited changes for requirements.txt before installing requirements

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
InCogNiTo124commented, Sep 6, 2021

Hi @InCogNiTo124

it seems that Task.add_requirements(“-r requirements.txt”) does not work at all;

My apologies, you need the latest cleaml-agent RC for “-r” support, could you try with:

pip install clearml-agent==1.0.1rc5

Thank you for the offer but we’ll wait for v1.0.1

1reaction
jkhenningcommented, Sep 4, 2021

Hi @InCogNiTo124 ,

it seems that Task.add_requirements(“-r requirements.txt”) does not work at all; somehow, and we do not know why, the space gets propagated and the system tries to load the requirements.txt file instead of requirements.txt. Notice the starting space in the filename.

I think the formatting messed things up here - I assume you mean the file the system tried to load is " requirements.txt"? We’ll take a look at the code to figure it out 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

ClearML Task
If a local script requires certain packages, or the remote repository doesn't have a requirements.txt file, manually specify the required Python packages ...
Read more >
clearml vs Poetry - compare differences and reviews? | LibHunt
Compare clearml vs Poetry and see what are their differences. allegroai logo ... App to version requirements.txt with respect to a specific date....
Read more >
clearml Changelog - pyup.io
Fix broken pip package might mess up requirements detection ... Fix `Dataset.get()` does not respect `auto_create` - Fix getting datasets fails with new ......
Read more >
What metadata do you track when training models? : r/mlops - Reddit
Unit testing … respect! What you are using here basic assertions or something more fancy? Also you probably collect whether or not the...
Read more >
SSD — TAO Toolkit 4.0 documentation
where, args_per_subtask are the command line arguments required for a given ... Note: SSD does not support loading a pruned non-QAT model and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found