Open prmbittencourt opened 7 months ago
hint
==============================================================================
You are running torch 2.0.1+rocm5.4.2.
The program is tested to work with torch 2.1.2.
To reinstall the desired version, run with commandline flag --reinstall-torch.
Beware that this will cause a lot of large files to be downloaded, as well as
there are reports of issues with training tab on the latest version.
Use --skip-version-check commandline argument to disable this check.
============================================================================
Hi, thanks for your input. I ran the script with --reinstall-torch and am now on Torch 2.2.2+rocm5.7. Loading the SDXL model works but every time I generate an image, I get the following error:
==========================================================================================s/it]
A tensor with all NaNs was produced in VAE.
Web UI will now convert VAE into 32-bit float and retry.
To disable this behavior, disable the 'Automatically revert VAE to 32-bit floats' setting.
To always start with 32-bit VAE, use --no-half-vae commandline flag.
==========================================================================================
I'm not sure if it's related to the original problem or not.
that is not an error message
a message
does not equal error message
it is telling you what's happening
if it is actually an error you won't say SDXL model works but every time
what vae are you using sdxl-vae-fp16-fix if you are not using the nan fix onw then irrc it's it is quite likely to get nan in vae download https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/blob/main/sdxl.vae.safetensors and place it in you vae dir select it when using sdxl in setting / quick setting or configure XL models to use this vae in the checkpoints tab card icon
I never tried fp8 my self so I can't be sure, but if you want my guess assuming if fp8 is used during vae then I suspect it will only increase the chance of nan
Toggling the fp8 option seems to have fixed it.
Doesn't SDXL require Python 3.10 and not anything newer?
3.10 is what we test webui on it doesn't necessarily mean that it wouldn't work with other versions
but if you're using a new version you might run into issues like if you're packing version is too new and the package hasn't been updated for that version yet or on the other hand the version of python can be too new and the package we use is no longer available on that version
Checklist
What happened?
Whenever I select an SDXL model from the dropdown list at the top of the page, including the SDXL base model, it fails to load. The terminal output shows the following error:
AttributeError: module 'torch' has no attribute 'float8_e4m3fn'
.Steps to reproduce the problem
What should have happened?
The model should load.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-04-18-15-34.json
Console logs
Additional information
SD1.5 models work. Tested on fully up-to-date EndeavourOS.