lllyasviel / lllyasviel/stable-diffusion-webui-forge

When starting: "AttributeError: module 'torch' has no attribute 'float8_e4m3fn'"

Open
#1,462 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

This happened when I restarted webui. I thought I fixed it earlier by installing a different transformers version.
Something with the auto update or whatever code is seriously broken?

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 only identifies restarting webui and an AttributeError involving torch.float8_e4m3fn; no file, test, or entry point is named. Reproduce the startup failure, record the installed PyTorch and transformers versions, and trace the auto-update path; done means restart completes without the reported error.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.