Skip to content

Tags: iamzainhuda/ao

Tags

ciflow/xpu/4096

Toggle ciflow/xpu/4096's commit message
Fix the debugging change

ciflow/xpu/4384

Toggle ciflow/xpu/4384's commit message
pin memory for int8 on xpu

ciflow/xpu/3823

Toggle ciflow/xpu/3823's commit message
[xpu][float8] device cleanup

ciflow/xpu/4251

Toggle ciflow/xpu/4251's commit message
[mx][test] Enable non-cuda in test_mx_mm

- Replace hardcoded device="cuda" with torch.accelerator
- Use F.scaled_mm (torch 2.10+) which takes explicit
  ScalingType/SwizzleType args enabling non-CUDA backends,
  fall back to torch._scaled_mm on older versions
  (CUDA-only, implicit layout).
- Skip xpu tests when oneDNN < 3.11

Signed-off-by: Ula Golowicz <urszula.golowicz@intel.com>

ciflow/xpu/4214

Toggle ciflow/xpu/4214's commit message
[mx][test] Enable non-cuda in test_mx_tensor

- Replace hardcoded device="cuda" with torch.accelerator
- Add prameter ids for readable test names.

Signed-off-by: Ula Golowicz <urszula.golowicz@intel.com>

ciflow/xpu/4354

Toggle ciflow/xpu/4354's commit message
XPU support for float8 dtensor test

ciflow/xpu/4342

Toggle ciflow/xpu/4342's commit message
XPU support for MX format kernels and tensor ops

ciflow/xpu/4272

Toggle ciflow/xpu/4272's commit message
[mx][test] Enable non-cuda in test_mx_serialization

Signed-off-by: Ula Golowicz <urszula.golowicz@intel.com>

ciflow/xpu/4213

Toggle ciflow/xpu/4213's commit message
[mx][test] Enable non-cuda in mx_formats/test_kernels

- Replace hardcoded device="cuda" with torch.accelerator
- Add prameter ids for readable test names.

ciflow/rocm-mi300/4275

Toggle ciflow/rocm-mi300/4275's commit message
[ROCm] MXFP8 MoE: persistent grouped kernel, F.scaled_mm dense, corre…

…ctness + tests

- Persistent grouped-MM kernel (grid = num_CUs * ctas_per_cu); walks experts
  in-kernel with a global tile counter. Avoids silent row-dropping under
  (M+E-1)//E bounds and keeps the dispatcher torch.compile-clean.
- Dense MXFP8 path: dispatch to F.scaled_mm with BlockWise1x32.
- Wgrad: retune default tile to (BN=256, BK=256, BM=64, nw=8).
- K-tail and scale-tail masking; m_mask bounded by group_end and global M.
- torch.compile: register pad/unpad helpers as torch.library.custom_op;
  skip nonstrict_trace on ROCm.
- mx_linear / MXFP8TrainingOpConfig: drop is_ROCM() auto-switch; expose
  mxfp8_dim1_cast_kernel_choice as explicit arg (CUDA default).
- bench_2d_3d_grouped_gemm.py: run on MI350+ via bench_mxfp8_grouped_mm_rocm;
  fix flops formula = 2 * M * N * K.

Tested on MI355X / gfx950 / ROCm 7.1 / Triton 3.7:
  Accuracy: test/prototype/moe_training/test_mxfp8_grouped_mm.py
            -> 129 passed, 16 skipped.
            SQNR margins: out >= 27.6 (>= 27), in_grad >= 25.2 (>= 25),
            w_grad >= 25.5 (>= 24).
  Perf:     benchmarks/prototype/moe_training/bench_2d_3d_grouped_gemm.py