Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Nov 28, 2024
1 parent f9b6e6f commit f85fea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum_benchmark/task_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_repo_config(
model_name_or_path: str, config_name: str, token: Optional[str] = None, revision: Optional[str] = None
):
if is_hf_hub_repo(model_name_or_path, token=token):
config = json.loads(
config = json.load(
open(
huggingface_hub.hf_hub_download(
repo_id=model_name_or_path,
Expand Down

0 comments on commit f85fea8

Please sign in to comment.