Skip to content

Commit 0b402bd

Browse files
authored
fix: unpin granite_commons version from 0.3.5 (#287)
1 parent cbd78a7 commit 0b402bd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

mellea/backends/adapters/adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def __init__(
134134
config_file = granite_common.intrinsics.obtain_io_yaml(
135135
self.intrinsic_name,
136136
self.base_model_name,
137+
self.intrinsic_metadata.repo_id,
137138
alora=is_alora,
138-
repo_id=self.intrinsic_metadata.repo_id,
139139
)
140140
if config_file:
141141
with open(config_file, encoding="utf-8") as f:
@@ -201,8 +201,8 @@ def download_and_get_path(self, base_model_name: str) -> str:
201201
granite_common.intrinsics.obtain_lora(
202202
self.intrinsic_name,
203203
base_model_name,
204+
self.intrinsic_metadata.repo_id,
204205
alora=is_alora,
205-
repo_id=self.intrinsic_metadata.repo_id,
206206
)
207207
)
208208

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"mistletoe>=1.4.0",
4343
"huggingface-hub>=0.33.4",
4444
"pillow",
45-
"granite-common==0.3.5", # Needed for Intrinsics.
45+
"granite-common>=0.3.6", # Needed for Intrinsics.
4646
"math_verify", # Needed for Majority Voting Sampling Strategies.
4747
"rouge_score", # Needed for Majority Voting Sampling Strategies.
4848
"llm-sandbox[docker]>=0.3.23",

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)