Skip to content

Migrate HuggingFace Tests to Granite 4 When Adapters Available #359

Closed

Description

@planetf1

Migrate HuggingFace Tests to Granite 4 When Adapters Available

Background

During the Granite 3 → 4 migration (#344), all backends and tests were successfully migrated to Granite 4 hybrid models except HuggingFace tests, which require aLoRA adapters that don't yet exist for Granite 4.

Current State

  • HuggingFace tests: Use granite-3.3-8b-instruct (hardcoded in test/backends/test_huggingface.py)
  • All other backends: Successfully migrated to Granite 4 hybrid models
  • Blocking issue: Missing requirement_check adapter for Granite 4

What's Missing

HuggingFace tests use two adapters:

  1. ✅ answerability - Available for Granite 4.0-micro in ibm-granite/granite-lib-rag-r1.0
  2. ❌ requirement_check - Only available for Granite 3.x in ibm-granite/rag-intrinsics-lib

What Needs to Happen

Once Granite 4 adapters for requirement_check are released, update test/backends/test_huggingface.py to use Granite 4 model and test. Consider using smaller model (granite-4.0-micro) to reduce memory requirements.

References

Activity

  1. planetf1 commented on Jan 28, 2026

    @planetf1
    ContributorAuthor

    Additionally note that multiple examples use intrinsics and hence remain at granite 3 for now

  2. psschwei commented on May 12, 2026

    @psschwei
    Contributor

    erither done or superseded by new issue

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions