Skip to content

Commit 9ba4442

Browse files
authored
Merge pull request #187 from intel/fix_commits
Sync commits
2 parents a6a9365 + c3c60d8 commit 9ba4442

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

models_v2/common/enable_ipex_for_transformers.diff

+10-2
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,18 @@ index fc9411e95..21f1d3a43 100644
453453

454454
# Evaluate
455455
diff --git a/examples/pytorch/image-classification/run_image_classification.py b/examples/pytorch/image-classification/run_image_classification.py
456-
index e2ce9f1c5..2a7fc1201 100644
456+
index e2ce9f1c5..e0666475c 100644
457457
--- a/examples/pytorch/image-classification/run_image_classification.py
458458
+++ b/examples/pytorch/image-classification/run_image_classification.py
459-
@@ -275,6 +275,7 @@ def main():
459+
@@ -230,6 +230,7 @@ def main():
460+
cache_dir=model_args.cache_dir,
461+
task="image-classification",
462+
use_auth_token=True if model_args.use_auth_token else None,
463+
+ revision="014711311cec8b5959350c373878a3311caeb764",
464+
)
465+
else:
466+
data_files = {}
467+
@@ -275,6 +276,7 @@ def main():
460468
id2label=id2label,
461469
finetuning_task="image-classification",
462470
cache_dir=model_args.cache_dir,

0 commit comments

Comments
 (0)