Skip to content

Commit 88cbbbb

Browse files
authored
Fix Intel Arc GPU installation in embedded python env, conda env is not required anymore (#331)
1 parent 9e169dc commit 88cbbbb

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

comfy_cli/cmdline.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def install(
219219
typer.Option(
220220
hidden=True,
221221
show_default=False,
222-
help="(Beta support) install for Intel Arc gpu, based on https://github.com/comfyanonymous/ComfyUI/pull/3439",
222+
help="Install for Intel Arc gpu",
223223
callback=g_gpu_exclusivity.validate,
224224
),
225225
] = None,
@@ -324,20 +324,6 @@ def install(
324324
[GPU_OPTION.NVIDIA, GPU_OPTION.AMD, GPU_OPTION.INTEL_ARC],
325325
)
326326

327-
if gpu == GPU_OPTION.INTEL_ARC:
328-
rprint("[bold yellow]Installing on Intel ARC is not yet completely supported[/bold yellow]")
329-
env_check = env_checker.EnvChecker()
330-
if env_check.conda_env is None:
331-
rprint("[bold red]Intel ARC support requires conda environment to be activated.[/bold red]")
332-
raise typer.Exit(code=1)
333-
if intel_arc is None:
334-
confirm_result = ui.prompt_confirm_action(
335-
"Are you sure you want to try beta install feature on Intel ARC?", True
336-
)
337-
if not confirm_result:
338-
raise typer.Exit(code=0)
339-
rprint("[bold yellow]Installing on Intel ARC is in beta stage.[/bold yellow]")
340-
341327
if gpu is None and not cpu:
342328
rprint(
343329
"[bold red]No GPU option selected or `--cpu` enabled, use --\\[gpu option] flag (e.g. --nvidia) to pick GPU. use `--cpu` to install for CPU. Exiting...[/bold red]"

0 commit comments

Comments
 (0)