lkwq007 / lkwq007/stablediffusion-infinity

[Bug] Unable to load model

Open
#76 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.9k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After the stablediffusion model got downloaded, it is unable to be loaded by pytorch.

**Error**

> Unable to load weights from pytorch checkpoint file for '[...]/.cache\huggingface\diffusers\models--CompVis--stable-diffusion-v1-4\snapshots\a304b1ab1b59dd6c3ba9c40705c29c6de4144096\unet\diffusion_pytorch_model.bin' at '[...]/.cache\huggingface\diffusers\models--CompVis--stable-diffusion-v1-4\snapshots\a304b1ab1b59dd6c3ba9c40705c29c6de4144096\unet\diffusion_pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

**Desktop (please complete the following information):**
- OS: Windows

Contributor guide

No contributing guide indexed for this repository

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

The report names no source file or test; start by reproducing the Windows failure after the Stable Diffusion model downloads and inspect the reported diffusion_pytorch_model.bin loading path. Done means identifying and fixing the cause so the downloaded model loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.