lightly-ai / lightly-ai/lightly

pytorch_lightning -> lightning

Open
#1,160 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

package
Dominant language
Python
Stars
3.8k
Forks
367
Avg merge
3d 22h
Merged PRs (30d)
5

Description

Starting with version 1.8, pytorch_lightning was renamed lightning. Although they are still updating the old pytorch_lightning package, the plan is to eventually deprecate and retire this: https://github.com/Lightning-AI/lightning/discussions/17095

Would the authors be interested in switching from pytorch_lightning to lightning? Other than the package name, the only other thing that would change is the import:

from pytorch_lightning import ...

would change to:

from lightning.pytorch import ...

If this sounds good I'm happy to submit a PR.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for imports from pytorch_lightning and review the surrounding dependency or setup files before changing them. Update the affected imports to lightning.pytorch, then run the project's existing tests to verify that the migration is complete and behavior is unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.