Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 41d4661

Browse files
committed
fixed bugs
1 parent b0e39c4 commit 41d4661

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dl_bench/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_llm(name, dtype):
2626

2727
kwargs = {}
2828
if name.startswith("llama2") and "HF_TOKEN" in os.environ:
29-
kwargs = {"HF_TOKEN": os.environ.get("HF_TOKEN")}
29+
kwargs = {"token": os.environ.get("HF_TOKEN")}
3030

3131
model_name, M, T = name2params[name]
3232

scripts/margin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ do
3131
LLMS=(gptj llama2-7b)
3232
for COMPILER in ipex
3333
do
34-
for BS in 0001 0004 0008
34+
for BS in 1 4 8
3535
do
3636
for DTYPE in bfloat16
3737
do

0 commit comments

Comments
 (0)