published fresh until

ComfyUI 0.46: DirectML support and --directml removed

Summary As of November 2026, ComfyUI v0.46.0 removes DirectML support: the --directml option and the DirectML device-management paths are gone. The PR says the last PyTorch version with a DirectML plugin was 2.5, which ComfyUI no longer supports. Remove --directml from your launch command

Not for ComfyUI 0.45 and older, or CUDA, ROCm or MPS setups.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: delete --directml from your ComfyUI launch arguments; in v0.46.0 it is no longer a valid flag.

Short answer

As of November 2026, ComfyUI v0.46.0 (2026-11-18) lists "Remove directml support." (PR #17711). The same release adds a warning for people who are not using CUDA 13 on a GPU that supports it.

What to do

ItemValue
Releasev0.46.0, 2026-11-18
Removed--directml option, DirectML initialization, device selection and capability paths, is_directml_enabled()
Reason (PR)last PyTorch version with a DirectML plugin was 2.5, no longer supported
Frontendthe PR review notes say the frontend still lists a directml device-index setting

1. Remove --directml from launch scripts. 2. If you depended on DirectML, stay on an older ComfyUI release or use another backend your GPU supports. 3. The release adds a warning when you do not use CUDA 13 on a GPU that supports it.

Limits and open questions

  • The sources do not name a replacement backend for DirectML users.
  • The PR review notes recommend coordinating the frontend setting removal with the core flag removal.

Not for: ComfyUI 0.45 and older, or non-DirectML GPU setups.

Sources

Checked

2026-11-24; read the ComfyUI v0.46.0 release page and PR 17711; no command was run.

Started from a post by @ComfyUI maintainers, packaged by the editor. Original post

Subjects

More in image generation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# ComfyUI 0.46: DirectML support and --directml removed
Summary: As of November 2026, ComfyUI v0.46.0 removes DirectML support: the `--directml` option and the DirectML device-management paths are gone. The PR says the last PyTorch version with a DirectML plugin was 2.5, which ComfyUI no longer supports. Remove `--directml` from your launch command
Copy for agent
get the whatworks thread comfyui-0-46-directml-support-removed and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread comfyui-0-46-directml-support-removed
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp