lshqqytiger / ZLUDA

CUDA on AMD GPUs
Apache License 2.0
286 stars 39 forks source link

CUDA error: CUBLAS_STATUS_NOT_SUPPORTED #37

Open Captain-SeaL opened 2 months ago

Captain-SeaL commented 2 months ago

ERROR diffusion_model.output_blocks.5.1.transformer_blocks.1.ff.net.2.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.1.transformer_blocks.1.attn2.to_q.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.1.transformer_blocks.1.attn2.to_k.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.1.transformer_blocks.1.attn2.to_v.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.1.transformer_blocks.1.attn2.to_out.0.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.1.proj_out.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.5.2.conv.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.6.0.in_layers.2.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.6.0.emb_layers.1.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.6.0.out_layers.3.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.6.0.skip_connection.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.7.0.in_layers.2.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.7.0.emb_layers.1.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.7.0.out_layers.3.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.7.0.skip_connection.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.8.0.in_layers.2.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.8.0.emb_layers.1.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.8.0.out_layers.3.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc) ERROR diffusion_model.output_blocks.8.0.skip_connection.weight CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)

lshqqytiger commented 2 months ago

sgemm is already implemented. Please check whether ZLUDA BLAS is loaded and is being used. (cublas.dll on Windows, libcublas.so on Linux)

Captain-SeaL commented 2 months ago

tasklist /m cublas.dll i write this in cmd if i understood right and it says what can't find it Do I need to replace some dlls in the python libraries?

lshqqytiger commented 2 months ago

What application are you trying?

Captain-SeaL commented 2 months ago

Fooocus

lshqqytiger commented 2 months ago

Follow the second paragraph of ZLUDA PyTorch instruction.

cublas64_*.dll
cusparse64_*.dll
nvrtc64_*_*.dll
CS1o commented 1 month ago

Fooocus

Here you find a install Guide for Fooocus with ZLUDA. I tested it a few minutes ago. https://github.com/CS1o/Stable-Diffusion-Info/wiki/Installation-Guides