Repository navigation
Sync Marlin/Machete Kernel with upstream - #2717
Merged
Merged
Conversation
Qubitium
marked this pull request as ready for review
April 12, 2026 21:20
Collaborator
Author
| Case | Backend | MaxAbsDiff | MeanAbsDiff | MaxRelErr | MeanRelErr |
|---|---|---:|---:|---:|---:|
| fp16 | TRITON | 0.0 | 0.0 | 0.0 | 0.0 |
| fp16 | EXLLAMA_V2 | 0.00390625 | 0.00025356 | 152587888.0 | 2.3560 |
| fp16 | MACHETE | 0.0009765625 | 4.38e-07 | 715255.75 | 0.01469 |
| fp16 | MARLIN | 0.0009765625 | 5.42e-07 | 357627.875 | 0.00827 |
| bf16 | TRITON | 0.0 | 0.0 | 0.0 | 0.0 |
| bf16 | EXLLAMA_V2 | 0.0078125 | 0.00052082 | 10923.667 | 0.01441 |
| bf16 | MACHETE | 0.0078125 | 2.28e-07 | 4.6 | 3.77e-06 |
| bf16 | MARLIN | 0.0078125 | 2.44e-07 | 4.4667 | 3.86e-06 |
| fp16+lora | TRITON | 0.0 | 0.0 | 0.0 | 0.0 |
| fp16+lora | EXLLAMA_V2 | 0.00390625 | 0.00025205 | 732421888.0 | 961.37 |
| fp16+lora | MACHETE | 0.001953125 | 4.38e-07 | 30517578.0 | 6.7479 |
| fp16+lora | MARLIN | 0.001953125 | 5.42e-07 | 30517578.0 | 6.2785 |
| bf16+lora | TRITON | 0.0 | 0.0 | 0.0 | 0.0 |
| bf16+lora | EXLLAMA_V2 | 0.015625 | 0.00070216 | 1983642624.0 | 46407.65 |
| bf16+lora | MACHETE | 0.0078125 | 2.27e-07 | 244140624.0 | 5.1636 |
| bf16+lora | MARLIN | 0.0078125 | 2.42e-07 | 244140624.0 | 5.1636 | |
9 of 11 tasks
Qubitium
added a commit
that referenced
this pull request
Nov 18, 2026
Remove the Turing support added with the upstream Marlin sync (#2717): * marlin_mma.h: the m16n8k8 MMA paths and the FP16-accumulate variant; mma() and mma_trans() lose the use_fp16_accum template parameter. * marlin_template.h: the sm_75 use_fp16_accum epilogue conversion and the bf16 early return. Kernels compile to stubs below sm_80 again, so a mixed TORCH_CUDA_ARCH_LIST that includes 7.5 still builds. * gptq_marlin.cu: the 2-stage Turing pipeline, its kernel selection and tile-validity rules, and the Turing capability branch. The host now requires compute capability >= 8.0. * generate_kernels.py: no more stage-2 instantiations (fp16 instantiations go from 616 to 330). * GPTQ MarlinLinear and the Marlin runtime check require sm_80, matching AWQ Marlin; the fp16-only sm_75 dtype gate is gone. The cp.async fallbacks in marlin.cuh predate the Turing work. They stay, so the repack kernels keep building for any arch list. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.