File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -182,13 +182,6 @@ def launch_command_parser(subparsers=None):
182182 hardware_args .add_argument (
183183 "--tpu" , default = False , action = "store_true" , help = "Whether or not this should launch a TPU training."
184184 )
185- hardware_args .add_argument (
186- "--ipex" ,
187- default = False ,
188- action = "store_true" ,
189- help = "Whether or not this should launch a Intel PyTorch Extension (IPEX) training." ,
190- )
191-
192185 # Resource selection arguments
193186 resource_args = parser .add_argument_group (
194187 "Resource Selection Arguments" , "Arguments for fine-tuning how available hardware should be used."
@@ -1200,12 +1193,6 @@ def _validate_launch_command(args):
12001193 f"\t `--num_cpu_threads_per_process` was set to `{ args .num_cpu_threads_per_process } ` to improve out-of-box performance when training on CPUs"
12011194 )
12021195
1203- if args .ipex is not None :
1204- logger .warning (
1205- "ipex flag is deprecated, will be removed in Accelerate v1.10. "
1206- "From 2.7.0, PyTorch has all needed optimizations for Intel CPU and XPU."
1207- )
1208-
12091196 if args .use_xpu is not None :
12101197 logger .warning (
12111198 "use_xpu is deprecated and ignored, will be removed in Accelerate v1.20. "
You can’t perform that action at this time.
0 commit comments