Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge branch 'add_windows_test' of https://github.com/intel/neural-speed
Browse files Browse the repository at this point in the history
 into add_windows_test
  • Loading branch information
VincyZhang committed Feb 21, 2024
2 parents 6e49140 + 20e4d0a commit 55c81b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main(args_in: Optional[List[str]] = None) -> None:
dir_model = snapshot_download(repo_id=str(args.model), resume_download=True, token=args.token)
except Exception as e:
if e.response.status_code == 401:
print("You are required to input an acccess token ID for {}, please add it in option --token or download model weights locally".format(args.model))
print("You are required to input an access token ID for {}, please add it in option --token or download model weights locally".format(args.model))
sys.exit(f"{e}")

convert_model(dir_model, args.outfile, args.outtype, use_quantized_model=args.use_quantized_model)
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def main(args_in: Optional[List[str]] = None) -> None:
# Handles Missing token ID for gated models
except Exception as e:
if e.response.status_code == 401:
print("You are required to input an acccess token ID for {}, please add it in option --token or download model weights locally".format(args.model))
print("You are required to input an access token ID for {}, please add it in option --token or download model weights locally".format(args.model))
sys.exit(f"{e}")

parent_path = Path(__file__).parent.absolute()
Expand Down

0 comments on commit 55c81b1

Please sign in to comment.