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
I Am Training A Model With Pytorch Lightning. I Save

I am training a model with Pytorch lightning. I save .ckpt checkpoints. But they never get uploaded to clearml! How do I make clearml detect the checkpoints?
I tried:

    task = Task.init(
        project_name=args.project,
        task_name=f"Train {args.model_name}",
        task_type=TaskTypes.training,
        output_uri=True,
        auto_connect_frameworks={
            "pytorch": ["*.pt", "*.pth", "*.ckpt"],
            "lightning": ["*.ckpt"],
            "pytorch_lightning": ["*.ckpt"],
            "pytorch-lightning": ["*.ckpt"],
            "pytorch lightning": ["*.ckpt"],
        },
    )

But it doesnt work

  
  
Posted 10 months ago
Votes Newest

Answers 5


Looking through history I found this link: None

Tldr: ClearML doesn’t support lightning , but supports pytorch_lightning . Downgrading from the new interface to the old one fixed my issue

  
  
Posted 10 months ago

@<1523702786867335168:profile|AdventurousButterfly15> , to upload artifacts automatically you can use the output_uri parameter of Task.init()
None

  
  
Posted 10 months ago

I did that, but it didnt work

  
  
Posted 10 months ago

Yes

  
  
Posted 10 months ago

Hi @<1523702786867335168:profile|AdventurousButterfly15> , are the models logged in the artifacts section?

  
  
Posted 10 months ago
527 Views
5 Answers
10 months ago
10 months ago
Tags