Skill / SKILL.md

Difflow Gradient Check

jkitchin/differentiable-flowsheets

Verifies that JAX gradients through a difflow unit operation or flowsheet match finite differences, and tracks down NaN or wrong gradients. Use when the user asks to check, test or debug gradients, derivatives, sensitivities or jax.grad of a difflow unit (CSTR, PFR, Flash, distillation, ...) or flowsheet, or sees NaN gradients.
1 views 17 repository starsUpdated Nov 27, 2026
Overview

Verifies that JAX gradients through a difflow unit operation or flowsheet match finite differences, and tracks down NaN or wrong gradients. Use when the user asks to check, test or debug gradients, derivatives, sensitivities or jax.grad of a difflow unit (CSTR, PFR, Flash, distillation, ...) or flowsheet, or sees NaN gradients.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/jkitchin/differentiable-flowsheets' skill-source

Use the complete skill-source/skills/difflow-gradient-check directory with your client’s skill installer.

  • skills/difflow-gradient-check

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/difflow-gradient-check

Compatibility & requirements

Declared compatibility

Requires Python 3.11+ and difflow.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7fd15f4aa450e1ed62fdacb101c3399c763ff59f6d4eb7a629b54e70e343b313
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills