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

from pytorch_lightning.core.lightning import LightningModule #414

Open
arlorostirolla opened this issue May 6, 2023 · 2 comments
Open

Comments

@arlorostirolla
Copy link

In the latest pytorch-lightning, LightningModule is directly accessible from core, and the current torchsynth code gives an import error

@jorshi
Copy link
Collaborator

jorshi commented May 16, 2023

@arlorostirolla -- thanks for raising the issue. Will look into this. We're relying on some LightningModule methods that have been removed in more recent versions of PTL so it unfortunately may not be a quick fix.

In the meantime, it should work with an older version of PTL. I was using pytorch_lightning==1.5.10 the other day and it was working.

@turian
Copy link
Collaborator

turian commented Dec 15, 2023

@jorshi @arlorostirolla this is currently fixed I believe and can be closed, if you work from main (not pypi).

Or, from pypi, just change the import to import lightning

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

No branches or pull requests

3 participants