Skip to content
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

Vulkan version doesn't work on RTX 4070 ? #548

Open
olivbrau opened this issue Jan 4, 2025 · 2 comments
Open

Vulkan version doesn't work on RTX 4070 ? #548

olivbrau opened this issue Jan 4, 2025 · 2 comments

Comments

@olivbrau
Copy link

olivbrau commented Jan 4, 2025

Hi everybody
I'm still trying sd on my new computer which has a RTX 4070 GPU (12 GB VRAM)
I have a problem with CUDA (cf. another issue) so I try Vulkan.
It worked well on my old computer (with a RTX A1000 4GB RAM)
But it doesn't work on the RTX 4070 : it blocks on the 2d "Compiling shaders"
Here is the log :

C:\Users\obrau\Desktop\sd-master-9578fdc-bin-win-avx2-x64>"cuda\vulkan\sd.exe" --diffusion-model ".\Flux.1 Q4 F16\Dev\flux1-dev-q4_0.gguf" --clip_l ".\Flux.1 Q4 F16\clip_l.safetensors" --vae ".\Flux.1 Q4 F16\ae.safetensors" --t5xxl ".\Flux.1 Q4 F16\t5xxl_fp16.safetensors" -p "a cute cat" --sampling-method euler --steps 10 -W 512 -H 512 -s 42 -t 16
ggml_vulkan: Found 2 Vulkan devices:
ggml_vulkan: 0 = NVIDIA GeForce RTX 4070 SUPER (NVIDIA) | uma: 0 | fp16: 1 | warp size: 32
ggml_vulkan: 1 = Microsoft Direct3D12 (NVIDIA GeForce RTX 4070 SUPER) (Dozen) | uma: 0 | fp16: 1 | warp size: 32
ggml_vulkan: Compiling shaders..............................Done!
ggml_vulkan: Compiling shaders.....

And it is blocked here ...
Does anyone has an idea ?
Thanks a lot in advance
Olivier

@stduhpf
Copy link
Contributor

stduhpf commented Jan 4, 2025

That's weird. Have you tried running llama.cpp Vulkan with that same card to see if it works?

@jeffbolznv
Copy link

ggml_vulkan: 1 = Microsoft Direct3D12 (NVIDIA GeForce RTX 4070 SUPER) (Dozen) | uma: 0 | fp16: 1 | warp size: 32

This is a Vulkan-on-D3D12 layer that gets installed on some systems. It's probably having some problem with the shaders. There's a post here with instructions about how to remove it: https://steamcommunity.com/app/2198150/discussions/0/4330853251136279833/?ctp=12#c4844274022643931439

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants