Skip to content

Conversation

@evaline-ju
Copy link
Collaborator

@evaline-ju evaline-ju commented Aug 6, 2025

Granite Guardian 3.3 ref now takes criteria_id instead of risk_name as in previous generations/versions. Since users may still want to use the adapter with 3.2 while testing out 3.3, the new parameters have been added, without the old ones removed. It has been confirmed that the extra presence of criteria_id does not impact older models, nor does the presence of risk_name impact the 3.3 model, so the adapter does not specifically have to check versions.

transformers pin needed due to https://github.com/vllm-project/vllm-ascend/issues/2046

Closes: #86

vllm-tgis-adapter = ["vllm-tgis-adapter>=0.7.0,<0.7.2"]
vllm = [
# Note: 0.8.4 has a triton bug on Mac
"transformers<4.54.0", # vllm <= 0.10.0 has issues with higher transformers versions, fixed later in https://github.com/vllm-project/vllm/pull/20921
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix isn't released yet so tests will fail with ValueError: 'aimv2' is already used by a Transformers config, pick another name. with the latest transformers versions

@evaline-ju evaline-ju requested a review from gkumbhat August 6, 2025 20:48
Copy link
Collaborator

@gkumbhat gkumbhat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit, but otherwise, looks good

@evaline-ju evaline-ju merged commit 55a5dd0 into foundation-model-stack:main Aug 8, 2025
3 checks passed
@evaline-ju evaline-ju deleted the gg-3.3-criteria branch August 8, 2025 15:54
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.

[Guardian 3.3] Support updated guardian_config parameters

2 participants