Skip to content

Commit 2941a6b

Browse files
authored
remove (#3721)
1 parent c0a3aef commit 2941a6b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/accelerate/commands/launch.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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. "

0 commit comments

Comments
 (0)