Skip to content

Add IBM Granite client and configs for supported watsonx.ai models#2344

Open
RonalddMatias wants to merge 4 commits intoopen-compass:mainfrom
llm-pt-ibm:feat/ClientIBM
Open

Add IBM Granite client and configs for supported watsonx.ai models#2344
RonalddMatias wants to merge 4 commits intoopen-compass:mainfrom
llm-pt-ibm:feat/ClientIBM

Conversation

@RonalddMatias
Copy link

Summary

This PR introduces an IBMGranite client wrapper that enables the use of IBM Cloud watsonx.ai Granite models within OpenCompass. It also adds built-in configurations for three ready-to-use models:

  • granite-8b-code-instruct
  • granite-4-h-small
  • llama-3-3-70b-instruct

Usage Notes

To run any Granite-based configuration, users must define the following environment variables before invoking opencompass:

  • IBM_CLOUD_API_KEY
  • Either IBM_CLOUD_PROJECT_ID or IBM_CLOUD_SPACE_ID

These settings allow OpenCompass to authenticate and interact with IBM Cloud’s model serving endpoints.

@RonalddMatias RonalddMatias marked this pull request as draft December 3, 2025 18:52
@RonalddMatias RonalddMatias marked this pull request as ready for review December 5, 2025 11:27
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