lllyasviel / lllyasviel/stable-diffusion-webui-forge
After updating to support FLUX errors when starting
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
After I did the update, I get the following errors when I try to start Forge:
`Traceback (most recent call last):
File "E:\AI\forge-webui\webui\launch.py", line 51, in
main()
File "E:\AI\forge-webui\webui\launch.py", line 47, in main
start()
File "E:\AI\forge-webui\webui\modules\launch_utils.py", line 546, in start
import webui
File "E:\AI\forge-webui\webui\webui.py", line 21, in
initialize.imports()
File "E:\AI\forge-webui\webui\modules\initialize.py", line 32, in imports
from modules import processing, gradio_extensions, ui # noqa: F401
File "E:\AI\forge-webui\webui\modules\ui.py", line 16, in
from modules import sd_hijack, sd_models, script_callbacks, ui_extensions, deepbooru, extra_networks, ui_common, ui_postprocessing, progress, ui_loadsave, shared_items, ui_settings, timer, sysinfo, ui_checkpoint_merger, scripts, sd_samplers, processing, ui_extra_networks, ui_toprow, launch_utils
File "E:\AI\forge-webui\webui\modules\ui_settings.py", line 10, in
from modules_forge import main_entry
File "E:\AI\forge-webui\webui\modules_forge\main_entry.py", line 26, in
'fp8e4': torch.float8_e4m3fn,
AttributeError: module 'torch' has no attribute 'float8_e4m3fn'`
Any idea how to fix this please?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the traceback entry points in webui/launch.py and webui/modules_forge/main_entry.py, then inspect the installed torch package and its available attributes. Reproduce the startup failure and verify that the application gets past the torch.float8_e4m3fn error without introducing another startup error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100