Skip to content

chore(adapters): bump granitelib-core pin once requirement-check aLoRA io.yaml is republished #1699

Closed

Description

@planetf1

What users see today

The requirement-check aLoRA on LocalHFBackend never activates, for any granite-4.1 slot. A caller that registers it explicitly gets base-model answers and a one-time WARNING saying the adapter's invocation sequence is missing from the prompt. The default requirement_check() path is unaffected, because it resolves to the LoRA.

Once this is done, the aLoRA activates as published and the differential e2e test passes.

Cause

The published requirement-check/granite-4.1-{3b,8b,30b}/alora/io.yaml instruction starts <requirements>: {requirement}. The Granite tokeniser merges >: into one token, so the declared alora_invocation_tokens (<requirements>) never appear in the prompt. The activation fix in #1685 correctly leaves the adapter off in that case.

The adapter owners have agreed to correct the aLoRA io.yaml files by dropping the colon. The LoRA files need no change, since a LoRA has no invocation sequence. A sweep of every io.yaml in granitelib-{core,rag,guardian}-r1.0 at the pinned revisions found no other affected aLoRA.

To do

  • Wait for the corrected io.yaml files in ibm-granite/granitelib-core-r1.0.
  • Bump _CORE_R1_SHA in mellea/backends/adapters/catalog.py to the new revision.
  • Remove the strict xfail from test_requirement_check_adapter_moves_score in test/formatters/granite/base/test_base_alora_activation.py. With strict=True it reports XPASS as a failure once the fix is picked up.
  • Run the core intrinsic e2e tests on a GPU (-m slow, at least the requirement-check and uncertainty differential tests plus test/stdlib/components/intrinsic/test_core.py) and post the output. CI skips these, and the pin covers every core adapter, so the bump can change more than requirement-check.

Related

Activity

  1. added
    p2
    chore
    area/adapter-functions
    on Oct 5, 2026
  2. added a commit that references this issue on Oct 6, 2026
    fe18c0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/adapter-functionschorep2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions