RuntimeError: Triton Error [CUDA]: an illegal memory access was encountered
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 18/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
The crash is raised from the Triton launcher during a kernel call in the sagesla attention path, reached from turbodiffusion/inference/wan2.1_t2v_infer.py with --attention_type sagesla and --quant_linear. Start by reproducing with the reported command on a B200 and reading the traceback to find which Triton kernel is launched. The reporter says editing core.py made it run but produced invalid video, so the real fix is a memory-safety or shape bug in the kernel, not a workaround. Done means the illegal access is gone and the output video matches a known-good run.
索引モデルが issue の本文から書いたものです。
説明
I encountered the following issue when running the code below
python turbodiffusion/inference/wan2.1_t2v_infer.py
--model Wan2.1-1.3B
--dit_path checkpoints/TurboWan2.1-T2V-1.3B-480P-quant.pth
--resolution 480p
--prompt "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black boots, and carries a black purse. She wears sunglasses and red lipstick. She walks confidently and casually. The street is damp and reflective, creating a mirror effect of the colorful lights. Many pedestrians walk about."
--num_samples 1
--num_steps 4
--quant_linear
--attention_type sagesla
--sla_topk 0.1
The platform is an NVIDIA B200 GPU. The Triton version is :
pytorch-triton 3.2.0+git4b3bb1f8b.nvinternal
triton 3.4.0
File "TurboDiffusion/lib/python3.12/site-packages/triton/runtime/jit.py", line 617, in run
kernel.run(grid_0, grid_1, grid_2, stream, kernel.function, kernel.packed_metadata, launch_metadata,
File "/envs/TurboDiffusion/lib/python3.12/site-packages/triton/backends/nvidia/driver.py", line 708, in call
self.launch(gridX, gridY, gridZ, stream, function, self.launch_cooperative_grid, self.launch_pdl,
RuntimeError: Triton Error [CUDA]: an illegal memory access was encountered
After modifying core.py to make the code run, the generated video was invalid. Could you please advise me on how to resolve this issue? Thank you very much!
- 主要言語
- Python
- スター
- 3.9k
- フォーク
- 280
- 平均マージ
- 5日 2時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
thu-ml/TurboDiffusion のほかの issue
-
難易度 4/5 1〜2日 初心者へのやさしさ 20/100
thu-ml/TurboDiffusion#142 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
thu-ml/TurboDiffusion#135 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
thu-ml/TurboDiffusion#131 ·
-
关于merge的一些疑问オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
thu-ml/TurboDiffusion#130 · リアクション 7 件 ·
-
能否支持多卡并行推理呢?オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
thu-ml/TurboDiffusion#128 ·
thu-ml/TurboDiffusion の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
comet-ml/opik#9877 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Resource]: Flavianオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
hesreallyhim/awesome-claude-code#3736 · コメント 1 件 ·
-
area: trackers bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Review: WordPress copy/snapshot download media with no size cap and a hostname-only origin checkオープンperformance product:quill
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Community-Access/quill#2634 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信