Skip to content

Commit

Permalink
[Finetune]Enable IPEX by default for finetuning on CPU (#24)
Browse files Browse the repository at this point in the history
* enable IPEX

* test all models

* revert
  • Loading branch information
carsonwang authored Jan 8, 2024
1 parent 822f050 commit 5156c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finetune/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_accelerate_environment_variable(mode: str, config: Dict[str, Any]) -> di
mode_env_vars = {
"CPU_DDP": {
"ACCELERATE_USE_CPU": "true",
"ACCELERATE_USE_IPEX": "false",
"ACCELERATE_USE_IPEX": "true",
"ACCELERATE_MIXED_PRECISION": mixed_precision,
},
"GPU_DDP": {
Expand Down

0 comments on commit 5156c37

Please sign in to comment.