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: device-side assert triggered #37

Open
FlameinfirenBr opened this issue Oct 5, 2024 · 2 comments
Open

RuntimeError: CUDA error: device-side assert triggered #37

FlameinfirenBr opened this issue Oct 5, 2024 · 2 comments

Comments

@FlameinfirenBr
Copy link

FlameinfirenBr commented Oct 5, 2024

RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

That's on Forge branch

@PaleKemono
Copy link

same

@PaleKemono
Copy link

I think i found the solution. If you are using loras put them at the very end of your prompt, and keep the tags you put in the extension BEFORE any loras (not just the one you are interested in). For example. "male, day, outside, lora:pastel-art:1" . It stopped giving me that error after doing this

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