Skip to content
View Mattral's full-sized avatar
👀
I may be slow to respond.
👀
I may be slow to respond.

Highlights

  • Pro

Block or report Mattral

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mattral/README.md

Min Htet Myet (Mattral)

ML Systems Engineer · Distributed Training · LLM Infrastructure

I build ML systems, and I try to understand why they fail when they do.

mattral.tech · Medium


What I do

I work in the space between clean research ideas and the messy reality of clusters that fail, data that drifts, and models that need to stay honest in production.

Work at my employer is not public. Everything here is my own, and each project’s README has the measurements behind its numbers.


Upstream contributions

Merged fixes in projects other people depend on:

Project What was fixed Link
Triton NaN handling in tl.argmin / tl.argmax in the interpreter PR #10699 · write-up
TensorFlow swapaxes now raises on an out-of-bounds axis PR #122544 · write-up
Megatron-LM Crash in get_grad_norm_fp32 on an empty gradient list PR #5530 · write-up

Selected work

Built from scratch. Each one links to its measurements.

Project What it is Measured
FlashSpec Speculative decoding for Hugging Face models 1.26–1.67× faster than compiled generate on one T4, batch 1
Downloads
simd-ml-kernels AVX2, AVX-512 and VNNI kernels for inference arithmetic 1.02–1.69× llama.cpp decode speed on Llama-3.2-1B, nine configurations
Per-case results in the README
KANX Kolmogorov–Arnold networks for PyTorch, TensorFlow and ONNX 5.1× fewer parameters than the MLP, with lower test error, on a smooth 2-D target (three seeds)
Downloads
guardrail-rs LLM security proxy in Rust 47 µs to screen an 8 KB request
40% injection recall with the optional model on 263 labelled prompts · Details
filing-qa Question answering over financial filings, with cited answers Every stated number is checked against its retrieved sources
On a 119-question set, the six it flagged were all correct derivations
moe-engine Mixture-of-Experts training runtime Node-kill recovery on CPU: 20/20 vs 1–2/20 with torchrun's default
Every parallel mode matches a single-device reference on CPU in CI; expert, tensor, sequence and FSDP2 also on 4 T4s
What's verified

Problem-solving

LeetCode stats

Pinned Loading

  1. KANX KANX Public

    Kolmogorov-Arnold Networks for TensorFlow and PyTorch, with ONNX export, a FastAPI service, a CLI, and Docker and Kubernetes configs.

    Python 38 8

  2. guardrail-rs guardrail-rs Public

    LLM security proxy written in Rust.

    Rust 14

  3. simd-ml-kernels simd-ml-kernels Public

    C++17 library of hand-written x86 SIMD kernels for the arithmetic at the core of neural-network inference: matrix multiplication, the matrix-vector product that dominates generating text with a lan…

    C++ 16 5

  4. Composed-Mixture-of-Experts-Engine Composed-Mixture-of-Experts-Engine Public

    Runtime for Mixture-of-Experts training: a Triton router kernel, 4D parallelism, checkpointing and recovery, and telemetry.

    Python

  5. FlashSpec FlashSpec Public

    Lossless speculative decoding for HuggingFace causal language models, with a static-cache CUDA-graph fast path.

    Python 17

  6. filing-qa filing-qa Public

    Multimodal RAG for financial filings. Hybrid dense+BM25 retrieval (RRF), numeric grounding checks, a sandboxed calculator and cited answers. Measured on a 119-question golden set: evidence hit@5 0.…

    Python 93 21