Skip to content

refactor!: move sensitivity analysis to fasterrecipes (BREAKING)#42

Open
nathanhubens wants to merge 1 commit into
masterfrom
feature/sensitivity-migration
Open

refactor!: move sensitivity analysis to fasterrecipes (BREAKING)#42
nathanhubens wants to merge 1 commit into
masterfrom
feature/sensitivity-migration

Conversation

@nathanhubens

@nathanhubens nathanhubens commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

BREAKING. Removes the sensitivity-analysis code from fasterai. Per the architecture split, fasterai holds the compression mechanisms; the sensitivity decision/allocation logic now lives in the higher-level workflow package.

Removed from fasterai.analyze.sensitivity:

  • analyze_sensitivity, SensitivityAnalyzer, SensitivityResult (incl. to_layer_targets), LayerSensitivity

fasterai.analyze.sensitivity is now a PEP-562 stub — importing any of the moved names raises a helpful ImportError with the new import path. fasterai gains no new dependency (it does not import the downstream package).

Validation

  • nbdev export/clean check: clean (the stub cell was given a stable id → deterministic export).
  • Stub notebook test is self-contained (asserts all four moved names raise ImportError; no downstream import, so it passes in CI).
  • _quarto sidebar entries + the moved sensitivity tutorial removed.

@nathanhubens
nathanhubens force-pushed the feature/sensitivity-migration branch 2 times, most recently from f9932bb to 438ca68 Compare July 1, 2026 15:52
analyze_sensitivity, SensitivityAnalyzer, SensitivityResult, LayerSensitivity
moved out of fasterai into the higher-level FasterAI workflow package (decisions
and allocation logic live there; fasterai holds compression mechanisms only).
fasterai.analyze.sensitivity now raises a helpful ImportError via a PEP-562
__getattr__ stub. _modidx pruned; quarto sidebar entries and the sensitivity
tutorial removed.
Validated: nbdev-test stub green; import fasterai OK; stub raises with guidance.
@nathanhubens
nathanhubens force-pushed the feature/sensitivity-migration branch from 438ca68 to 4974e75 Compare July 2, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant