-
Notifications
You must be signed in to change notification settings - Fork 190
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]: RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same #543
Comments
If you really want to use the CPU Mode of the Webui you need to additional add: |
I really DON'T want to use the CPU mode, but I it's just doing it. Is it a setting I can't find? |
Whats your GPU then? |
6800XT It USED to work. but I attempted to update and now it doesn't and I was dumb enough to try to update the original install instead of doing a new folder so i can't just go back. Though to be clear I did make a new folder once that failed so it should be fresh. |
Then best is to follow my install guide and then you can move the models over. |
Thanks. it is running now. though... now im having a totally different problem, btu at least its running new problem: https://www.youtube.com/watch?v=qOJWORCgl3M specifically the last 10 seconds. It looks like its working but the output is fucked. though thats likely a model thing i assume. |
Would need to know your txt2img settings and which model you used |
parameters human, female, slim, muscular, green eyes, relax, relaxing, throne room, gold chair, regal, queen, couch, recline, detailed background, Steps: 80, Sampler: Euler a, Schedule type: Automatic, CFG scale: 7, Seed: 825779648, Size: 512x512, Model hash: c262d30f65, Model: steinrealism_b5, Version: v1.10.1-amd-11-gefddd05e Model: https://civitai.com/models/793771/steinrealism I'm guessing its the 'VAE' thing it mentions? maybe? I tried doing the thing where you rename the VAE like the original except .vae.pt but then it wouldn't run at all. so thats a thing. |
I Just tried two other models and am getting the same behavior of the preview looking fine till the very last step when things go insane |
try without a vae and also Pony models are trained on 1024x1024. so try that. If you still get the error, please provide a full cmd log |
Switching from "Euler a" to "DPM++ 2M" seems to be preventing this issue. no clue why that would be. DDIM CFG++ also works LMS fails entirely as does DPM adaptive It seems to be related to the sampling method somehow. |
Hmm Pony models should work with Euler a normaly. But you can also try a 1.5 or sdxl model and check if it happens there too. |
One of the others I tried lists its 'base' as SD 1.5 and it is having an identical issue. Running euler or euler a seems to be going fine till the last second and then goes borked |
Very strange. What you can try is to update your Python to 3.10.11 64bit and then delete the venv folder. |
thats actually how i got it working to this point. i followed your link, updated python to 10.11 and did a fresh git bash from the link you provided earlier. I followed the "[AMD] Automatic1111 with DirectML" section would any of the commands it lists be potentially causing things? I put all the ones it said to use in the command args. so these "--use-directml --medvram --opt-sub-quad-attention --opt-split-attention --no-half-vae --upcast-sampling" |
Oh you used Directml before too? |
I gave it a go. the ZLUDA one fails to start |
This is a hip bug as it found your CPUs iGPU (gfx1036) before your dedicated GPU. To fix this you have two options: Or you can add: Then relaunch the webui-user.bat |
I tried the set HIP_VISIBLE_DEVICES=1 and got this return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse) Then i tried the disable radeon option (and removed the set command) and it starts, but the performance seems to be utter fucking garbo Failed to create model quickly; will retry using slow method. I gave up after awhile. it was just in a permanent 'compiling' loop |
The first run will take 15-40 minutes. Its a one time only compiling thing. |
ITS WORKING. and the weird thing with the Euler isn't happening with zulda |
Checklist
What happened?
I followed the install instructions and it runs, but any attempt to produce anything gives the title error
Steps to reproduce the problem
What should have happened?
generate the image
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
sysinfo-2024-10-08-20-52.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: