This repository hosts the predictor weights for Gemma2-2b-it (BF16) used in Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference (ICML 2026 Spotlight).
First, clone our repository and download the checkpoint files from Hugging Face:
git clone https://github.com/xiongsiheng/DHSA
cd DHSA/legacy
hf download sxiong/DHSA-Gemma2-2b-it-BF16 \
--local-dir boundary_predictor_weights/DHSA-Gemma2-2b-it-BF16
@inproceedings{xionglong,
title={Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference},
author={Xiong, Siheng and Zou, Joe and Fekri, Faramarz and Cho, Yae Jee},
booktitle={Forty-third International Conference on Machine Learning}
}
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo sxiong/DHSA-Gemma2-2b-it-BF16 ./model-folder