Skip to content

Commit

Permalink
[NPU] Fix of c++ convert example (#12797)
Browse files Browse the repository at this point in the history
  • Loading branch information
plusbang authored Feb 10, 2025
1 parent 468d3f2 commit 3fee838
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
args = parser.parse_args()
model_path = args.repo_id_or_model_path
save_dir = args.save_directory
if not os.path.exists(save_dir):
os.mkdir(save_dir)

tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

Expand Down

0 comments on commit 3fee838

Please sign in to comment.