CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

偶尔触发CUDA error: device-side assert triggered,频率还挺高

Open LongMarch7 opened this issue 1 year ago • 8 comments

cosyvoice/cli/model.py", line 108, in token2wav token_len=torch.tensor([token.shape[1]], dtype=torch.int32).to(self.device), RuntimeError: CUDA error: device-side assert triggered Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

LongMarch7 avatar Nov 28 '24 08:11 LongMarch7

没遇到过

aluminumbox avatar Nov 30 '24 02:11 aluminumbox

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.

matrixloong avatar Dec 12 '24 08:12 matrixloong

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jan 12 '25 02:01 github-actions[bot]

后来解决了吗?

DongmingShenDS avatar Feb 05 '25 17:02 DongmingShenDS

后来解决了吗?

@matrixloong @LongMarch7 @DongmingShenDS @passerbya hi,你们有解决吗,我发现flow推理,在压测时会出现这个问题

wang-TJ-20 avatar May 11 '25 01:05 wang-TJ-20

+1,同遇到这个问题!大家有解决方案不?

duanyu avatar May 13 '25 06:05 duanyu

我也是推理的时候遇到的这个问题。

DongmingShenDS avatar May 13 '25 06:05 DongmingShenDS