interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / mk / expert-coder.mk

19 lines · 1258 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2# ERC1, the lossless row-addressable coder for E4M3 expert weights (om/coder/erc.om, om/coder/FORMAT.md).
3# Host only, no GPU. These targets run the pinned omc (OMEGA_OMC, checked against PIN by the scripts) and
4# are not part of `make test`: test-expert-coder-real reads the Qwen3.8-Flash-Next checkpoint.
5# make test-expert-coder generated matrices: round trips, every negative control, row independence
6# make test-expert-coder-mutants each check deliberately broken once; the suite must fail each time
7# make test-expert-coder-real real routed-expert matrices; EXPERT_CODER_CKPT, EXPERT_CODER_OUT choose paths
8EXPERT_CODER_CKPT ?= $(HOME)/models/qwen3.8-flash-next-fp8-7fb48d70
9EXPERT_CODER_OUT ?= $(OUT_DIR)/expert-coder-real
10.PHONY: test-expert-coder test-expert-coder-mutants test-expert-coder-real
11test-expert-coder:
12 @$(CUDAPP_REQUIRE_OMC)
13 bash tests/coder/synthetic.sh "$(OMEGA_OMC)" "$(OUT_DIR)/expert-coder"
14test-expert-coder-mutants:
15 @$(CUDAPP_REQUIRE_OMC)
16 bash tests/coder/mutants.sh "$(OMEGA_OMC)" "$(OUT_DIR)/expert-coder-mutants"
17test-expert-coder-real:
18 @$(CUDAPP_REQUIRE_OMC)
19 bash tests/coder/real.sh "$(OMEGA_OMC)" "$(EXPERT_CODER_OUT)" "$(EXPERT_CODER_CKPT)"