Custom fast path cuts PISA feature attribution from 17s to 1s per example on H200
jmschreiber91 · x · 2026-12-02
The author hand-wrote a fast path for the PISA feature attribution algorithm on Cherimoya genomics models, improving throughput from 17s to 1s per example on an H200.
- Background: tangermeme's PISA runs DeepLIFT/SHAP once per output position—about 1,000 runs per sequence for a 2,114 bp input with default trimming; a trained 128-filter model with 20 shuffles took 17s per peak.
- Implementation: merged PR #107 (written with Claude Code) ports #104's fast DeepLIFT/SHAP path to PISA. New API cherimoya.pisa.pisa(model, X, channel=0, ..., fast=True) computes attributions for one profile channel's logits, wrapping the model in ControlWrapper and registering attributionops; a hand-written wrapper was needed since ProfileWrapper/LogCountWrapper return one value per sequence. Args follow tangermeme conventions.
Related event: Cherimoya Feature Attribution Speeds Up 17x(2 posts)→
More from coding & agent
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- auto-optimize speeds up GPN-Star variant-effect scoring by 1.87x-3.80x in open PR — jmschreiber91 · 2026-12-02
- Custom DeepLIFT/SHAP fast path boosts Cherimoya attribution from ~17s to ~1s per example — jmschreiber91 · 2026-12-02
- JAZ: open-source framework turns an LLM agent into a single invoke() with native Python objects — a1zhang · 2026-12-02
- NVIDIA and Anthropic team up to help businesses deploy AI agents with data control — nvidia · 2026-12-02
- WebGPU wins for WebRTC video effects: benchmarks vs WebGL, WASM, WebNN — chadwallacehart · 2026-12-02