-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: black screen on output #3070
Comments
SDXL is prone to generating black images after VAE if there are issues in its internal calculations when using FP16 on some devices. As you're using the MPS backend there might be some issues with this combination. Please check if this can be solved by using EDIT: as of #2171 upgrading the OS did help. See also:
|
have updated as requested. python entry_with_update.py --theme dark --all-in-fp16 --attention-pytorch --disable-offload-from-vram --always-high-vram --gpu-device-id 0 --async-cuda-allocation --unet-in-fp16 --vae-in-fp32 --clip-in-fp16 just need to re download some files |
blank screen [Fooocus Model Management] Moving model(s) has taken 2.90 seconds |
also on term cmd window different bars ended as nothing 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 60/60 [14:30<00:00, 14.50s/it] |
remove base model to a new one /Users/Quad-Core/Fooocus/modules/core.py:257: RuntimeWarning: invalid value encountered in cast seems to be when i add a photo prompt so far |
downgraded to 2.4.0 same error /Users/Quad-Core/Fooocus/modules/core.py:257: RuntimeWarning: invalid value encountered in cast |
removing extra code and will report back |
ok removed all code and still getting black screens. /Users/Quad-Core/Fooocus/modules/core.py:257: RuntimeWarning: invalid value encountered in cast tried all 7 preset and as soon as i put a image in prompt error |
Please check out the MacOS support issue here and ask for help: #129 |
Please link to this issue in #129 to clarify with tother MacOS users. |
today tested and was ok as soon with image prompt as i add my sister and bf, errors |
still errors, new install using 2.3.1 prompt Create a cool picture of a business man, age 40, in front of a London skyline with futuristic lighting, relaxed, serious, determined, color, dramatic light, detailed, sharp focus, intricate, very inspirational, innocent, attractive, sublime, pretty, fine detail, epic composition, elegant, perfect formal atmosphere, extremely stylish, creative, appealing, cheerful, beautiful, stunning Loading 1 new model |
I have really never had any problem with face swap, it only seems to be in the last three or four months that I've had problems with this software.
i have a 12gb rtx 3060 on my desk and just waiting on my epgu case to test external
should add, tested also on my bootcamp windows and same
when i started here , i never had problems at all, everything just worked.
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Manuel Schmid ***@***.***>
Sent: Saturday, July 27, 2024 12:29:27 PM
To: lllyasviel/Fooocus ***@***.***>
Cc: James ***@***.***>; Author ***@***.***>
Subject: Re: [lllyasviel/Fooocus] [Bug]: black screen on output (Issue #3070)
Did you check out #129<#129> / #1184<#1184>?
—
Reply to this email directly, view it on GitHub<#3070 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPK7J7ZVPDPKGIPJZ72OL3ZOOABPAVCNFSM6AAAAABI4PMD5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGEZDEMBRHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Checklist
What happened?
when trying to cartoon or cute photos with image prompt getting errors
Steps to reproduce the problem
man meets woman, Cutest cartoon illustration, empty background, cute, colorful, beautiful, art station, deviant art, pinterest in prompt
add photo prompt
What should have happened?
a good photo and not a blank black one
What browsers do you use to access Fooocus?
Mozilla Firefox
Where are you running Fooocus?
Locally
What operating system are you using?
mac os 14.5
Console logs
Additional information
also another error from today
/Users/Quad-Core/Fooocus/modules/core.py:331: RuntimeWarning: invalid value encountered in cast
return [np.clip(255. * y.cpu().numpy(), 0, 255).astype(np.uint8) for y in x]
this is in my start up
[System ARGV] ['entry_with_update.py', '--theme', 'dark', '--all-in-fp16', '--attention-pytorch', '--disable-offload-from-vram', '--always-high-vram', '--gpu-device-id', '0', '--async-cuda-allocation', '--unet-in-fp16', '--vae-in-fp16', '--clip-in-fp16']
Python 3.11.5 (main, Sep 11 2023, 08:19:27) [Clang 14.0.6 ]
Fooocus version: 2.4.1
Set device to: 0
[Cleanup] Attempting to delete content of temp dir /var/folders/6l/xrkxgs657g7_vq50479x7lc40000gp/T/fooocus
[Cleanup] Cleanup successful
Total VRAM 65536 MB, total RAM 65536 MB
Forcing FP16.
Set vram state to: SHARED
Device: mps
VAE dtype: torch.float16
Using pytorch cross attention
Refiner unloaded.
IMPORTANT: You are using gradio version 3.41.2, however version 4.29.0 is available, please upgrade.
The text was updated successfully, but these errors were encountered: