Epic: #929 | Blocked by: #1141 (LocalFileBinding / PEFT path must be stable before the aLoRA example can be rewritten to use the new API) | Lands with: Phase 4 / #1144 docs + tutorials consolidation
Fix broken aLora example after intrinsics refactor
Problem
docs/examples/aLora/101_example.py has been broken since commit 1229206 (Nov 2025) when mellea/backends/aloras/ was removed during the intrinsics refactor.
Error:
from mellea.backends.aloras.huggingface.granite_aloras import HFConstraintAlora
# ImportError: No module named 'mellea.backends.aloras'
Root Cause
The intrinsics refactor removed the bespoke aLora implementation in favour of the new intrinsics API, but the example was not updated.
Solution
Rewrite docs/examples/aLora/101_example.py to use the new intrinsics API for loading and using trained adapters via LocalFileBinding (Epic #929 Phase 2 / #1141).
Related Issues
Files Affected
docs/examples/aLora/101_example.py
- Possibly
docs/alora.md (documentation)
Epic: #929 | Blocked by: #1141 (LocalFileBinding / PEFT path must be stable before the aLoRA example can be rewritten to use the new API) | Lands with: Phase 4 / #1144 docs + tutorials consolidation
Fix broken aLora example after intrinsics refactor
Problem
docs/examples/aLora/101_example.pyhas been broken since commit1229206(Nov 2025) whenmellea/backends/aloras/was removed during the intrinsics refactor.Error:
Root Cause
The intrinsics refactor removed the bespoke aLora implementation in favour of the new intrinsics API, but the example was not updated.
Solution
Rewrite
docs/examples/aLora/101_example.pyto use the new intrinsics API for loading and using trained adapters viaLocalFileBinding(Epic #929 Phase 2 / #1141).Related Issues
m aloraCLI)Files Affected
docs/examples/aLora/101_example.pydocs/alora.md(documentation)