Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightning Refactor: pytorch_lightning -> lightning.pytorch #300

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

melo-gonzo
Copy link
Collaborator

@melo-gonzo melo-gonzo commented Oct 1, 2024

This pr migrated the pytorch lightning dependency from pytorch_lightning to lightning and replaces the imports. Since this pr touches a lot of files, there are some formatting changes, and just a few updates to tests, mostly to add a missing argument for MACE.

Failing tests are mostly due to materials project trajectory dataset not having a devset, and some with SAM which have been failing in recent PR's. Also I did not fix any pre-commit related items dealing with cdvae things.

@melo-gonzo melo-gonzo changed the title Lightning Refactor: pytorch_lightning -> 'lightning.pytorch' Lightning Refactor: pytorch_lightning -> lightning.pytorch Oct 1, 2024
@laserkelvin laserkelvin linked an issue Oct 1, 2024 that may be closed by this pull request
6 tasks
Copy link
Collaborator

@laserkelvin laserkelvin left a comment

Choose a reason for hiding this comment

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

Functionally it looks good to me. Just left the one comment, and should be good to go from there.

I also linked with #297 - please unlink if you don't think it fully addresses it

Copy link
Collaborator

Choose a reason for hiding this comment

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

Did something change with these files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think they were regenerated when i ran tests locally. i reverted to the old files.

pyproject.toml Outdated Show resolved Hide resolved
@laserkelvin
Copy link
Collaborator

LGTM, ready to merge

@melo-gonzo melo-gonzo merged commit dff4e6c into IntelLabs:main Oct 1, 2024
1 of 5 checks passed
@melo-gonzo melo-gonzo deleted the lightning-refactor branch October 1, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request]: Migrate from pytorch_lightning to lightning
2 participants