Lightning-AI / Lightning-AI/pytorch-lightning

ModelSummary can't show the mode of model whitch is frozen

Open
#20,944 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion feature
Dominant language
Python
Stars
31.4k
Forks
3.8k
Avg merge
6d 7h
Merged PRs (30d)
6

Description

### Description & Motivation

Current ModelSummary model can only show the mode of module in two state, either train or eval, but we want to know if the module is frozen.

### Pitch

_No response_

### Alternatives

_No response_

### Additional context

_No response_

cc @lantiga @borda

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

Start by locating the ModelSummary implementation and its existing train/eval mode display, then inspect the related tests if present. Determine how a frozen module is represented and update the summary so that state is distinguishable; done means the new mode appears correctly without changing the existing train/eval output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.