Qwen3-Coder-Next fixes and updated recipe
This commit is contained in:
9
mods/fix-qwen3-coder-next/_triton_alloc_setup.py
Normal file
9
mods/fix-qwen3-coder-next/_triton_alloc_setup.py
Normal file
@@ -0,0 +1,9 @@
|
||||
try:
|
||||
import triton.runtime._allocation as _alloc
|
||||
import torch
|
||||
|
||||
_alloc.NullAllocator.__call__ = staticmethod(
|
||||
lambda size, alignment, stream:
|
||||
torch.cuda.caching_allocator_alloc(size, stream=stream))
|
||||
except Exception:
|
||||
pass
|
||||
Reference in New Issue
Block a user