Skip to content

Conversation

@kingjr
Copy link
Contributor

@kingjr kingjr commented Dec 11, 2024

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 11, 2024
pretrained: bool = True
learning_rate: float = 0.001

model_config = pydantic.ConfigDict(extra="forbid")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be automatically dealt by infra IMO


# Return model if not saved
if self.checkpoint_path is None:
return model
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is solving the caching issue of models with a really bad practice (changing output type depending on the inputs) :s I don't know how to solve this one though

@jrapin jrapin changed the title [WIP] doc: pytorch lightning example [doc] pytorch lightning example Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants