Explore the research collection
2 entries · Follow this search
- Code
xBridges
Checkpoint conversion, serving, and evaluation toolkit for xLLM. Converts tensor-parallel xLLM checkpoints to Hugging Face format (K2HorizonForCausalLM, BF16 safetensors) and back, with multi-node Slurm support; validates conversions by comparing per-token logprobs between xLLM and HF on the same document; registers K2 Horizon with vLLM 0.24, launches multi-node Ray+vLLM servers on Slurm, and runs lm-eval against them.
- Code
xattn
Efficient attention modules for the xLLM framework, with Python APIs for use in other PyTorch projects. Features high-precision FP32 attention output state for backward (reducing BF16 gradient error) and flexible segment-aware masking (segment IDs or BOS masks) for packed sequences. Supports causal Flash Attention, sliding window, sliding chunk, and SoftDelta attention variants; FP16/BF16 inputs; MHA, GQA, and MQA.