Logo
Explore Help
Register Sign In
biondizzle/nvfp4-megamoe-kernel
1
0
Fork 0
You've already forked nvfp4-megamoe-kernel
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
48fa64dfda170bb0b60dbeb796acdda62c2089e9
nvfp4-megamoe-kernel/tests/requirements.txt

3 lines
18 B
Plaintext
Raw Normal View History

test: add standalone layer 0 comparison test (no vLLM, no Docker) tests/layertest.py: - Loads layer 0 expert weights from both original (MXFP4) and NVFP4 checkpoints - Dequantizes both to BF16 for reference comparison - Runs MoE forward pass in pure BF16 (no kernel) - Runs same forward pass through our NVFP4 CUTLASS kernel - Compares cosine similarity: kernel vs BF16 reference tests/run_test.sh: - Creates venv, installs deps, builds kernel from source, runs test Isolates our kernel completely from vLLM's weight loading, tensor parallelism, and MoE routing. If cosine ≈ 1.0, bug is in vLLM. If cosine ≈ 0, bug is in our kernel pipeline.
2026-05-16 02:13:18 +00:00
torch
safetensors
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 40ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API