[PR #99] [CLOSED] Fix issue with "__assertfail" #246

Closed
opened 2026-10-26 21:15:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/99
Author: @cassanof
Created: 5/15/2025
Status: ❌ Closed

Base: main ← Head: federico/fix-assertfail


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 deep_gemm/jit/runtime.py (+1 -1)

📄 Description

Sometimes, an "__assertfail" line pops up in the compilation process:

    m_grouped_gemm_fp8_fp8_bf16_nt_contiguous(
  File "/mnt/large_shared/users/federico/env_nightly/lib/python3.11/site-packages/deep_gemm-1.0.0+ee916df-py3.11.egg/deep_gemm/jit_kernels/m_grouped_gemm.py", line 116, in m_grouped_gemm_fp8_fp8_bf16_nt_contiguous
    runtime(**best_keys, **kwargs)
  File "/mnt/large_shared/users/federico/env_nightly/lib/python3.11/site-packages/deep_gemm-1.0.0+ee916df-py3.11.egg/deep_gemm/jit/runtime.py", line 53, in __call__
    assert len(kernel_names) == 1, f'Too many kernels in the library: {kernel_names}'
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Too many kernels in the library: ['_ZN9deep_gemm15fp8_gemm_kernelILj2816ELj256ELj128ELj160ELj128ELj0ELj64ELj64ELj2ELj128ELj128ELj1ELb0ELNS_8GemmTypeE1EEEvPfPij14CUtensorMap_stS4_S4_S4_', '__assertfail']

Ignoring it fixes the issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepGEMM/pull/99 **Author:** [@cassanof](https://github.com/cassanof) **Created:** 5/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `federico/fix-assertfail` --- ### 📝 Commits (1) - [`09a19dc`](https://github.com/deepseek-ai/DeepGEMM/commit/09a19dcddd7b487978195cff73c8194cf6aebb27) fix ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `deep_gemm/jit/runtime.py` (+1 -1) </details> ### 📄 Description Sometimes, an "__assertfail" line pops up in the compilation process: ``` m_grouped_gemm_fp8_fp8_bf16_nt_contiguous( File "/mnt/large_shared/users/federico/env_nightly/lib/python3.11/site-packages/deep_gemm-1.0.0+ee916df-py3.11.egg/deep_gemm/jit_kernels/m_grouped_gemm.py", line 116, in m_grouped_gemm_fp8_fp8_bf16_nt_contiguous runtime(**best_keys, **kwargs) File "/mnt/large_shared/users/federico/env_nightly/lib/python3.11/site-packages/deep_gemm-1.0.0+ee916df-py3.11.egg/deep_gemm/jit/runtime.py", line 53, in __call__ assert len(kernel_names) == 1, f'Too many kernels in the library: {kernel_names}' ^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Too many kernels in the library: ['_ZN9deep_gemm15fp8_gemm_kernelILj2816ELj256ELj128ELj160ELj128ELj0ELj64ELj64ELj2ELj128ELj128ELj1ELb0ELNS_8GemmTypeE1EEEvPfPij14CUtensorMap_stS4_S4_S4_', '__assertfail'] ``` Ignoring it fixes the issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:15:16 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#246
No description provided.