You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RuntimeError: Cannot launch Triton kernel since n = 46336 exceeds the maximum CUDA blocksize = 65535. #7
RuntimeError: Cannot launch Triton kernel since n = 46336 exceeds the maximum CUDA blocksize = 65535.
ile /usr/local/lib/python3.10/dist-packages/unsloth/kernels/utils.py:23, in calculate_settings(n)
21 # CUDA only supports 65535 - 2^16-1 threads per block
22 if BLOCK_SIZE > MAX_FUSED_SIZE:
---> 23 raise RuntimeError(f"Cannot launch Triton kernel since n = {n} exceeds "\
24 f"the maximum CUDA blocksize = {MAX_FUSED_SIZE}.")
25 num_warps = 4
26 if BLOCK_SIZE >= 32768: num_warps = 32
H100 80GB
File "/storage/venvs/unsloth/lib/python3.11/site-packages/unsloth/kernels/utils.py", line 23, in calculate_settings
raise RuntimeError(f"Cannot launch Triton kernel since n = {n} exceeds "\
RuntimeError: Cannot launch Triton kernel since n = 64000 exceeds the maximum CUDA blocksize = 65535.
Activity
epicfilemcnulty commentedon Dec 4, 2023
Getting the same on my RTX 4090:
danielhanchen commentedon Dec 5, 2023
@epicfilemcnulty Possibly fixed with a pre-release - hopefully you can try it to check it out! :) Thanks!
epicfilemcnulty commentedon Dec 5, 2023
@danielhanchen yep, it's fixed! Thank you for awesome work!
Merge pull request unslothai#7 from unslothai/fix/restructure-repo-root
CI(consolidated): matrix over (transformers, trl) combos + aggressive…
studio: fix double-install of tilelang on the FLA hook install path
studio: install flash-linear-attention and tilelang for Qwen3.5 family (
Fix/adjust diffusion: round 7 swap-aware guards + race-free generate …
Fix/adjust diffusion: round 10 fix export-active asymmetry + GGUF cha…
Fix/adjust diffusion: round 18 P1+P2 batch for PR #5754
Fix/adjust diffusion: round 19 P1+P2 batch for PR #5754
Fix/adjust diffusion: round 21 P1+P2 batch for PR #5754
Fix/adjust diffusion: round 23 P1+P2 batch for PR #5754
Fix/adjust diffusion: round 24 P1 batch for PR #5754
Fix/adjust diffusion: round 30 P1 + P2 batch for PR #5754
Fix/adjust diffusion: round 30 follow-up P1 batch for PR #5754
Fix/adjust diffusion: round 31 P1 batch for PR #5754
Fix/adjust diffusion: round 33 P1 batch for PR #5754