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

RuntimeError: CUDA error #374

Open
algorithmconquer opened this issue Dec 2, 2024 · 3 comments
Open

RuntimeError: CUDA error #374

algorithmconquer opened this issue Dec 2, 2024 · 3 comments

Comments

@algorithmconquer
Copy link

RuntimeError: CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling cublasGemmEx( handle, opa, opb, m, n, k, &falpha, a, CUDA_R_16BF, lda, b, CUDA_R_16BF, ldb, &fbeta, c, CUDA_R_16BF, ldc, compute_type, CUBLAS_GEMM_DEFAULT_TENSOR_OP)

@feifeibear
Copy link
Collaborator

Please provide more context.

@algorithmconquer
Copy link
Author

@feifeibear The run command is as:
torchrun --nproc_per_node=8 examples/flux_example.py \ --model ${modelId} \ --height 1024 --width 1024 \ --pipefusion_parallel_degree 2 --ulysses_degree 2 --ring_degree 2 \ --num_inference_steps 28 --warmup_steps 0 --prompt "A small dog" \ --no_use_resolution_binning;
The environment is:
xfuser==0.3.5
diffusers==0.32.0.dev0
torch==2.4.0+cu124;
The cuda device is:H20, 8cards

@feifeibear
Copy link
Collaborator

I could not reproduce your error. Can you run it successfully with 1 gpu?

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

2 participants