Skip to content

bug: broken aLora example after intrinsics refactor #385

Closed

Description

@planetf1

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)

Activity

  1. planetf1 commented on Feb 5, 2026

    @planetf1
    ContributorAuthor

    I can take a look at this

  2. self-assigned this
    on Feb 5, 2026
  3. added a commit that references this issue on Feb 6, 2026
    760ad31
  4. added
    area/alora
    area/backends
    area/adapter-functions
    bug
    on May 20, 2026
  5. added
    p2
    on Jun 18, 2026
  6. removed their assignment
    on Jun 24, 2026
  7. self-assigned this
    on Aug 10, 2026
  8. added a commit that references this issue on Aug 24, 2026
    c9b4334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/adapter-functionsarea/aloraarea/backendsbugp2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions