modelscope / modelscope/DiffSynth-Studio
KeyError: 'pytorch-lightning_version'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
When I resum from the previous checkpoint, the code error message is "KeyError: 'pytorch-lightning_version'", I just add "ckpt_path="/home/shuchenweng/zhj/project/DiffSynth-Studio/wan_training/lightning_logs/version_0/checkpoints/epoch=0-step=5000.ckpt" to the code
trainer.fit(model, dataloader, ckpt_path="/home/shuchenweng/zhj/project/DiffSynth-Studio/wan_training/lightning_logs/version_0/checkpoints/epoch=0-step=5000.ckpt")
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by running trainer.fit with the checkpoint path shown in the issue. Inspect how the checkpoint is loaded and where the missing "pytorch-lightning_version" key is expected. Done means resuming from that checkpoint no longer raises the reported KeyError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100