add-handler
CommunityEnhance JAX interpreter precision.
Software Engineering#performance optimization#jax#interpreter#jaxpr#primitive handler#automatic differentiation
Authoradrhill
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the JAX Jaxpr interpreter by adding precise, primitive-specific handlers, replacing less efficient, conservative fallbacks for improved performance and accuracy.
Core Features & Use Cases
- Primitive Handler Implementation: Develops custom handlers for JAX primitives to accurately map input/output indices and Jacobian structures.
- Interpreter Optimization: Replaces generic fallback logic with specialized code for specific JAX operations.
- Use Case: When JAX encounters an unsupported primitive during Jaxpr interpretation, this Skill allows for the creation of a new, efficient handler, ensuring sparse Jacobians are computed correctly instead of relying on a dense, slower fallback.
Quick Start
Use the add-handler skill to add a precise primitive handler for the 'reshape' primitive.
Dependency Matrix
Required Modules
None requiredComponents
referencesscripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-handler Download link: https://github.com/adrhill/asdex/archive/main.zip#add-handler Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.