Skip to content

Support AMD GPUs on Desktop#7799

Merged
benceruleanlu merged 13 commits intomainfrom
bl/amd-gpu-picker
Jan 3, 2026
Merged

Support AMD GPUs on Desktop#7799
benceruleanlu merged 13 commits intomainfrom
bl/amd-gpu-picker

Conversation

@benceruleanlu
Copy link
Copy Markdown
Member

@benceruleanlu benceruleanlu commented Dec 30, 2025

Add AMD ROCm GPU option to the desktop installer

What changed

  • Add an AMD GPU choice to the installer picker with updated recommended badge logic, logo asset, and i18n copy.
  • Accept and auto-select the new amd device type in the install flow when it is detected.
  • Update @comfyorg/comfyui-electron-types and lockfile entries required for the new device enum.

Why

  • Desktop users with AMD GPUs need a first-class install path instead of falling back to CPU/manual options.
  • This reuses the existing picker/device model to keep the change scoped and consistent with current UX.
  • Tradeoffs: torch mirror selection still falls back to the CPU mirror for AMD until a dedicated ROCm mirror is available.

Evidence

  • Interactive Storybook file apps/desktop-ui/src/components/install/GpuPicker.stories.ts
image

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 30, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

📝 Walkthrough

Walkthrough

Adds AMD GPU support and related UI/storybook updates: GpuPicker renders AMD on non-darwin platforms, storybook stories/platform decorators were added, HardwareOption props were simplified, install/maintenance views updated for AMD and prop removal, English locale strings added, workspace dependency bumped and a storybook script added. Also adds THIRD_PARTY_NOTICES.md.

Changes

Cohort / File(s) Summary
GPU picker & stories
apps/desktop-ui/src/components/install/GpuPicker.vue, apps/desktop-ui/src/components/install/GpuPicker.stories.ts
Adds AMD option rendering on non-darwin platforms, introduces recommendedDevices and updates badge/description logic, converts inline pick handler to named pickGpu, and adds Storybook file with platform-aware decorators and preselected-device stories.
Translations
src/locales/en/main.json
Adds install.gpuPicker.amdSubtitle and install.gpuPicker.amdDescription.
Hardware option cleanup
apps/desktop-ui/src/components/install/HardwareOption.vue, apps/desktop-ui/src/components/install/HardwareOption.stories.ts
Removes value: TorchDeviceType and recommended?: boolean props from HardwareOption and removes value fields from related story args.
Install flow & mirror mapping
apps/desktop-ui/src/views/InstallView.vue, apps/desktop-ui/src/components/install/InstallLocationPicker.vue
install() now early-returns when device is unset; GPU detection accepts amd. getTorchMirrorItem changed from const arrow to named function and now handles amd in its switch.
Maintenance panel prop removal
apps/desktop-ui/src/components/maintenance/TaskListPanel.vue, apps/desktop-ui/src/views/MaintenanceView.vue
Removes isRefreshing prop from TaskListPanel definition and removes its binding in MaintenanceView.
Workspace & scripts
package.json, pnpm-workspace.yaml
Adds storybook:desktop npm script; updates @comfyorg/comfyui-electron-types catalog version from 0.5.5 → 0.6.2.
Third-party notices
THIRD_PARTY_NOTICES.md
Adds a file containing an AMD trademark statement.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 30, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 12/31/2025, 09:31:11 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 30, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 12/31/2025, 09:44:21 PM UTC

📈 Summary

  • Total Tests: 511
  • Passed: 500 ✅
  • Failed: 1 ❌
  • Flaky: 2 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 490 / ❌ 1 / ⚠️ 1 / ⏭️ 8
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 30, 2025

Bundle Size Report

Summary

  • Raw size: 17.3 MB baseline 17.3 MB — 🔴 +120 B
  • Gzip: 3.54 MB baseline 3.54 MB — 🔴 +78 B
  • Brotli: 2.7 MB baseline 2.7 MB — 🟢 -106 B
  • Bundles: 98 current • 98 baseline • 43 added / 43 removed

Category Glance
App Entry Points 🔴 +120 B (3.21 MB) · Vendor & Third-Party ⚪ 0 B (9.12 MB) · Other ⚪ 0 B (3.47 MB) · Graph Workspace ⚪ 0 B (1000 kB) · Panels & Settings ⚪ 0 B (300 kB) · UI Components ⚪ 0 B (199 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.21 MB (baseline 3.21 MB) • 🔴 +120 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-aXxJekgg.js (new) 3.01 MB 🔴 +3.01 MB 🔴 +633 kB 🔴 +481 kB
assets/index-DmYEru38.js (removed) 3.01 MB 🟢 -3.01 MB 🟢 -633 kB 🟢 -481 kB
assets/index-CEvVoFE2.js (removed) 193 kB 🟢 -193 kB 🟢 -42.1 kB 🟢 -35.1 kB
assets/index-lQQdKWzU.js (new) 193 kB 🔴 +193 kB 🔴 +42.1 kB 🔴 +35.1 kB
assets/index-B8NXkrGI.js (removed) 345 B 🟢 -345 B 🟢 -247 B 🟢 -210 B
assets/index-CATq7-_Q.js (new) 345 B 🔴 +345 B 🔴 +244 B 🔴 +202 B

Status: 3 added / 3 removed

Graph Workspace — 1000 kB (baseline 1000 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BQpJmZQL.js (new) 1000 kB 🔴 +1000 kB 🔴 +194 kB 🔴 +148 kB
assets/GraphView-TMUbuY7q.js (removed) 1000 kB 🟢 -1000 kB 🟢 -194 kB 🟢 -148 kB

Status: 1 added / 1 removed

Views & Navigation — 6.63 kB (baseline 6.63 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-BimFxzzb.js (removed) 6.63 kB 🟢 -6.63 kB 🟢 -2.15 kB 🟢 -1.9 kB
assets/UserSelectView-DiHZFOM1.js (new) 6.63 kB 🔴 +6.63 kB 🔴 +2.15 kB 🔴 +1.9 kB

Status: 1 added / 1 removed

Panels & Settings — 300 kB (baseline 300 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LegacyCreditsPanel-5jpNhhub.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.26 kB 🔴 +4.6 kB
assets/LegacyCreditsPanel-BdRTcenY.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.26 kB 🟢 -4.6 kB
assets/KeybindingPanel-DbjLd-BP.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.57 kB 🟢 -3.12 kB
assets/KeybindingPanel-DDhcuMX6.js (new) 14.8 kB 🔴 +14.8 kB 🔴 +3.58 kB 🔴 +3.12 kB
assets/ExtensionPanel-CXnHkw_C.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.62 kB 🟢 -2.3 kB
assets/ExtensionPanel-HluRg0YN.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.62 kB 🔴 +2.3 kB
assets/AboutPanel-CMxFZbdl.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/AboutPanel-CRcjSQMc.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.21 kB
assets/ServerConfigPanel-C2Y3IAxy.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -2.04 kB 🟢 -1.81 kB
assets/ServerConfigPanel-C7lcEzp7.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +2.04 kB 🔴 +1.81 kB
assets/UserPanel-CWhJNA6-.js (new) 6.88 kB 🔴 +6.88 kB 🔴 +1.79 kB 🔴 +1.57 kB
assets/UserPanel-DJHn1FVA.js (removed) 6.88 kB 🟢 -6.88 kB 🟢 -1.79 kB 🟢 -1.57 kB
assets/settings-AN2JfZVQ.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BhbWhsRg.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BIdKi-OT.js 26.2 kB 26.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Bu3OR-lX.js 24.6 kB 24.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-ByL6gy5c.js 25.4 kB 25.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CjlRFMdL.js 32.8 kB 32.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DkGwvylK.js 26.9 kB 26.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Dyd027Dx.js 24.7 kB 24.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-wwBxqLH5.js 21.3 kB 21.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-xx2Yb6R2.js 23.8 kB 23.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

UI Components — 199 kB (baseline 199 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-CBhDL9UM.js (removed) 60.1 kB 🟢 -60.1 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-P4ocXQFp.js (new) 60.1 kB 🔴 +60.1 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-aFainjZb.js (removed) 56.4 kB 🟢 -56.4 kB 🟢 -8.9 kB 🟢 -7.61 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-DeDfQdt8.js (new) 56.4 kB 🔴 +56.4 kB 🔴 +8.9 kB 🔴 +7.61 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-BWMWW7ml.js (new) 49 kB 🔴 +49 kB 🔴 +10.5 kB 🔴 +9.13 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-CDUwiTEl.js (removed) 49 kB 🟢 -49 kB 🟢 -10.5 kB 🟢 -9.14 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-Cr5vX4iT.js (removed) 14.3 kB 🟢 -14.3 kB 🟢 -3.73 kB 🟢 -3.29 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-DT4qPe4q.js (new) 14.3 kB 🔴 +14.3 kB 🔴 +3.74 kB 🔴 +3.29 kB
assets/ComfyQueueButton-C0YbZGJ-.js (removed) 8.83 kB 🟢 -8.83 kB 🟢 -2.58 kB 🟢 -2.29 kB
assets/ComfyQueueButton-Df3cp_DX.js (new) 8.83 kB 🔴 +8.83 kB 🔴 +2.58 kB 🔴 +2.29 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-CDshRkik.js (removed) 3.72 kB 🟢 -3.72 kB 🟢 -1.45 kB 🟢 -1.31 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-DMkujMXT.js (new) 3.72 kB 🔴 +3.72 kB 🔴 +1.46 kB 🔴 +1.32 kB
assets/WidgetButton-BhAnqgS1.js (new) 2.21 kB 🔴 +2.21 kB 🔴 +997 B 🔴 +873 B
assets/WidgetButton-DAPD9quO.js (removed) 2.21 kB 🟢 -2.21 kB 🟢 -999 B 🟢 -873 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-B6wl0PY7.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +890 B 🔴 +769 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-s6Jb8BeG.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -891 B 🟢 -771 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-CqUjXLIa.js (new) 897 B 🔴 +897 B 🔴 +502 B 🔴 +443 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-DOEixFRq.js (removed) 897 B 🟢 -897 B 🟢 -501 B 🟢 -463 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-DV-9JnFV.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 removed

Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-B-rq9xVP.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.58 kB
assets/keybindingService-XNj-mT7q.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.59 kB
assets/audioService-CDvyH0s6.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +962 B 🔴 +825 B
assets/audioService-Dyz3rTxh.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -960 B 🟢 -822 B
assets/serverConfigStore-CulKZi3K.js 2.83 kB 2.83 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

Utilities & Hooks — 1.41 kB (baseline 1.41 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-B0wFmugV.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -651 B 🟢 -549 B
assets/audioUtils-DDOX5dXV.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +652 B 🔴 +552 B

Status: 1 added / 1 removed

Vendor & Third-Party — 9.12 MB (baseline 9.12 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-KBsqeQPQ.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-CzYzbUcM.js 3.89 MB 3.89 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-Ch6rhmJJ.js 1.95 MB 1.95 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-DYL0ZbEr.js 2.02 MB 2.02 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-XfQ74oRB.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-DLbRHZS7.js 160 kB 160 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BF8peZ5_.js 420 kB 420 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.47 MB (baseline 3.47 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SubscriptionRequiredDialogContent-BQkGvcXo.js (new) 28.5 kB 🔴 +28.5 kB 🔴 +6.3 kB 🔴 +5.47 kB
assets/SubscriptionRequiredDialogContent-UykzgcJO.js (removed) 28.5 kB 🟢 -28.5 kB 🟢 -6.3 kB 🟢 -5.47 kB
assets/WidgetRecordAudio-euDTsF9Y.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.24 kB 🟢 -4.64 kB
assets/WidgetRecordAudio-H-bAdRHC.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.24 kB 🔴 +4.64 kB
assets/AudioPreviewPlayer-B68Lykow.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.35 kB 🔴 +3 kB
assets/AudioPreviewPlayer-BfBEVyQM.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -3.01 kB
assets/ValueControlPopover-C7ofvIfl.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.71 kB 🟢 -1.51 kB
assets/ValueControlPopover-eW5ALzq4.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.71 kB 🔴 +1.52 kB
assets/WidgetGalleria-C0KK9izq.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.45 kB 🟢 -1.3 kB
assets/WidgetGalleria-Ijj-xI8I.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetColorPicker-BL2jw_3h.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetColorPicker-DRl6Sr7C.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.38 kB 🔴 +1.24 kB
assets/WidgetTextarea-CuqdlXY2.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.22 kB 🔴 +1.07 kB
assets/WidgetTextarea-DCNBVwvV.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.22 kB 🟢 -1.08 kB
assets/WidgetMarkdown-BtQ3geUT.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.13 kB
assets/WidgetMarkdown-CGtd6lnz.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/WidgetAudioUI-EvIhObyz.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetAudioUI-YTL18i8O.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.17 kB 🔴 +1.06 kB
assets/WidgetInputText-CAqcZqaL.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +923 B 🔴 +853 B
assets/WidgetInputText-CyGtfa8W.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -922 B 🟢 -849 B
assets/WidgetToggleSwitch-be75XDcv.js (removed) 1.76 kB 🟢 -1.76 kB 🟢 -836 B 🟢 -733 B
assets/WidgetToggleSwitch-C7wER_Sn.js (new) 1.76 kB 🔴 +1.76 kB 🔴 +836 B 🔴 +730 B
assets/MediaImageBottom-Di2PVFGg.js (removed) 1.55 kB 🟢 -1.55 kB 🟢 -737 B 🟢 -641 B
assets/MediaImageBottom-NRkjPaWn.js (new) 1.55 kB 🔴 +1.55 kB 🔴 +737 B 🔴 +638 B
assets/MediaAudioBottom-BbNF7bjo.js (new) 1.51 kB 🔴 +1.51 kB 🔴 +734 B 🔴 +644 B
assets/MediaAudioBottom-BNejrRrM.js (removed) 1.51 kB 🟢 -1.51 kB 🟢 -732 B 🟢 -649 B
assets/Media3DBottom-C19R1_h6.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +732 B 🔴 +642 B
assets/Media3DBottom-oNeu4Qs2.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -731 B 🟢 -642 B
assets/MediaVideoBottom-BaIfkQXB.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +643 B
assets/MediaVideoBottom-qd6pi41S.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -732 B 🟢 -647 B
assets/Media3DTop-CJjgmdQ6.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +769 B 🔴 +652 B
assets/Media3DTop-Z97TtsIB.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -767 B 🟢 -650 B
assets/WidgetSelect-B9QwbwB2.js (removed) 733 B 🟢 -733 B 🟢 -363 B 🟢 -330 B
assets/WidgetSelect-MYOUTGa-.js (new) 733 B 🔴 +733 B 🔴 +362 B 🔴 +329 B
assets/WidgetInputNumber-BObY90gM.js (removed) 673 B 🟢 -673 B 🟢 -348 B 🟢 -291 B
assets/WidgetInputNumber-CHnhdBbL.js (new) 673 B 🔴 +673 B 🔴 +350 B 🔴 +291 B
assets/Load3D-B2A4mV4K.js (removed) 424 B 🟢 -424 B 🟢 -268 B 🟢 -222 B
assets/Load3D-B5-jfWYF.js (new) 424 B 🔴 +424 B 🔴 +267 B 🔴 +222 B
assets/WidgetLegacy-D0n3GZxf.js (removed) 364 B 🟢 -364 B 🟢 -238 B 🟢 -195 B
assets/WidgetLegacy-DmNySBHn.js (new) 364 B 🔴 +364 B 🔴 +238 B 🔴 +193 B
assets/commands-bTEY9Mp6.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BWp4HdfU.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CcfGaui5.js 14.4 kB 14.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CisfgZf5.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CkU12Foh.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CoH2DJa6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-COSt-Bjx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DalfIW5f.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DfTl0eCm.js 13.5 kB 13.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwSJL865.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Bdc58rJq.js 97.1 kB 97.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BRKE6VDs.js 91 kB 91 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C9ZJBRdI.js 81.5 kB 81.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CAL83XT3.js 84.6 kB 84.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CHLLfvpG.js 82.4 kB 82.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Cw9RZWRY.js 89 B 89 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DDqR5EuX.js 71.3 kB 71.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DLHyaEcz.js 92.1 kB 92.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-O7KfJeMO.js 79.9 kB 79.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-OzGsrlqJ.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-DnMHwvAw.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-BenufCTB.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-uhl1tYxE.js 2.65 kB 2.65 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-aW9En70v.js 260 kB 260 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BIckSVgU.js 273 kB 273 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BiYpVi7D.js 263 kB 263 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bw_Jitw_.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CCEXtYfM.js 243 kB 243 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CvmVDWYd.js 323 kB 323 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-D_wreoPJ.js 267 kB 267 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DIAYlJwM.js 246 kB 246 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dz-0ZIBN.js 297 kB 297 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-VZsNmhG7.js 264 kB 264 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-CXIOBBuD.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-DOO74J4Y.js 3.18 kB 3.18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 20 added / 20 removed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to make the types all work well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah the desktop types package didn't publish with the AMD changes until recently, I just updated it

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Dec 30, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​comfyorg/​comfyui-electron-types@​0.5.5 ⏵ 0.6.272 -610069 +196 +170

View full report

:filter
:display-as-list
:is-refreshing
/>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used, flagged by typechecking and linting

displayAsList: string
filter: MaintenanceFilter
isRefreshing: boolean
}>()
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used, flagged by typechecking and linting

Comment on lines 41 to 46
interface Props {
imagePath?: string
placeholderText: string
subtitle?: string
value: TorchDeviceType
selected?: boolean
recommended?: boolean
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used, flagged by typechecking and linting, it's handled by the parent component

Comment on lines 46 to 47
:subtitle="$t('install.gpuPicker.manualSubtitle')"
:value="'unsupported'"
:selected="selected === 'unsupported'"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not used, flagged by typechecking and linting, it's handled by the parent component

@benceruleanlu benceruleanlu marked this pull request as ready for review December 31, 2025 02:24
Copilot AI review requested due to automatic review settings December 31, 2025 02:24
@benceruleanlu benceruleanlu requested review from a team as code owners December 31, 2025 02:24
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 31, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds first-class support for AMD GPUs with ROCm acceleration in the ComfyUI desktop installer, providing AMD GPU users with a proper installation path instead of having to fall back to CPU or manual options.

  • Adds AMD as a selectable GPU option in the hardware picker UI with appropriate branding and i18n support
  • Updates device detection logic to automatically recognize and select AMD GPUs during installation
  • Upgrades @comfyorg/comfyui-electron-types dependency from 0.5.5 to 0.6.2 to support the new AMD device type

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/locales/en/main.json Adds i18n entries for AMD ROCm subtitle and description text
pnpm-workspace.yaml Updates @comfyorg/comfyui-electron-types catalog version to 0.6.2
pnpm-lock.yaml Updates lockfile entries for the new types package version
package.json Adds convenience script storybook:desktop for running desktop UI Storybook
apps/desktop-ui/src/views/MaintenanceView.vue Removes unused isRefreshing prop from TaskListPanel component
apps/desktop-ui/src/views/InstallView.vue Adds AMD to GPU detection logic and adds null safety check before installation
apps/desktop-ui/src/components/maintenance/TaskListPanel.vue Removes unused isRefreshing prop from component definition
apps/desktop-ui/src/components/install/InstallLocationPicker.vue Adds AMD case to torch mirror selection (falls back to CPU mirror) and updates function declaration style
apps/desktop-ui/src/components/install/HardwareOption.vue Removes unused value and recommended props from component interface
apps/desktop-ui/src/components/install/HardwareOption.stories.ts Updates stories to remove the now-unused value prop
apps/desktop-ui/src/components/install/GpuPicker.vue Adds AMD hardware option with proper i18n, updates recommended badge logic to include AMD, and adds AMD to description keys
apps/desktop-ui/src/components/install/GpuPicker.stories.ts New Storybook file with comprehensive stories showcasing AMD, NVIDIA, CPU options on Windows and MPS on macOS
apps/desktop-ui/public/assets/images/amd-rocm-logo.png Adds AMD ROCm logo asset for the hardware picker UI
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment on lines +14 to 16
image-path="./assets/images/apple-mps-logo.png"
placeholder-text="Apple Metal"
subtitle="Apple Metal"
Copy link

Copilot AI Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Apple Metal option uses a hardcoded string "Apple Metal" for the subtitle, while NVIDIA and AMD use i18n translations. For consistency, consider adding an i18n key for the Apple Metal subtitle as well (e.g., "appleMetalSubtitle") to match the pattern used for NVIDIA and AMD.

Copilot generated this review using guidance from repository custom instructions.
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 786c56e and 1c21e78.

📒 Files selected for processing (1)
  • THIRD_PARTY_NOTICES.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
THIRD_PARTY_NOTICES.md

1-1: First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


1-1: Files should end with a single newline character

(MD047, single-trailing-newline)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: test
  • GitHub Check: setup
  • GitHub Check: lint-and-format
  • GitHub Check: collect

Comment thread THIRD_PARTY_NOTICES.md
@@ -0,0 +1 @@
AMD and the AMD Arrow logo are trademarks of Advanced Micro Devices, Inc. No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a top-level heading and trailing newline to comply with markdown conventions.

The file is missing a top-level heading and does not end with a newline character, triggering linter warnings.

🔎 Proposed fix
+# Third-Party Notices
+
-AMD and the AMD Arrow logo are trademarks of Advanced Micro Devices, Inc.
+AMD and the AMD Arrow logo are trademarks of Advanced Micro Devices, Inc.

Note: The + after the final line indicates a trailing newline.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
AMD and the AMD Arrow logo are trademarks of Advanced Micro Devices, Inc.
# Third-Party Notices
AMD and the AMD Arrow logo are trademarks of Advanced Micro Devices, Inc.
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

1-1: First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


1-1: Files should end with a single newline character

(MD047, single-trailing-newline)

🤖 Prompt for AI Agents
In THIRD_PARTY_NOTICES.md around lines 1 to 1, the file lacks a top-level
heading and a trailing newline which causes linter warnings; add a suitable
top-level heading (e.g., "# Third Party Notices") as the first line, ensure the
existing content follows beneath it, and make sure the file ends with a single
newline character.

@benceruleanlu benceruleanlu merged commit 675a67c into main Jan 3, 2026
41 of 44 checks passed
@benceruleanlu benceruleanlu deleted the bl/amd-gpu-picker branch January 3, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants