Add GPU selection to desktop installer (#1888)

* Remove redundant code

* Add GPU picker screen to installer

* Permit jumping installation steps when visited

* Prevent sad girl from covering buttons

* Update gpu options to match availability

* Ensure install screen renders inside bounds

* Pre-select GPU detected by desktop native

* Redesign GPU selection screen

* Prevent text highlight on installer stepper

* Add translations for GPU picker

* Rename for clarity

* Remove unused code

* Update electron types

* Update locales [skip ci]

---------

Co-authored-by: huchenlei <huchenlei@proton.me>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
filtered
2024-12-17 10:26:40 +11:00
committed by GitHub
parent a441908db3
commit 601b739f75
14 changed files with 441 additions and 68 deletions

View File

@@ -141,6 +141,7 @@
"bookmark": "ブックマーク",
"box": "ボックス",
"briefcase": "ブリーフケース",
"exclamation-triangle": "警告",
"file": "ファイル",
"folder": "フォルダー",
"heart": "ハート",
@@ -157,6 +158,22 @@
"desktopAppSettingsDescription": "ComfyUIのデスクトップでの動作を設定します。これらの設定は後で変更可能です。",
"desktopSettings": "デスクトップ設定",
"failedToSelectDirectory": "ディレクトリの選択に失敗しました",
"gpu": "GPU",
"gpuSelection": {
"cpuMode": "CPUモード",
"cpuModeDescription": "CPUモードは開発者やまれなエッジケースのみを対象としています。",
"cpuModeDescription2": "これが絶対に必要であることが確定していない場合は、このボックスを無視して上でGPUを選択してください。",
"customComfyNeedsPython": "ComfyUIはpythonがセットアップされるまで動作しません",
"customInstallRequirements": "すべての要件と依存関係をインストールするカスタムtorch",
"customManualVenv": "python venvを手動で設定する",
"customMayNotWork": "これは完全にサポートされておらず、単純に動作しない場合があります。",
"customSkipsPython": "このオプションは通常のpythonセットアップをスキップします。",
"enableCpuMode": "CPUモードを有効にする",
"mpsDescription": "Apple Metal Performance Shadersは、pytorch nightlyを使用してサポートされています。",
"nvidiaDescription": "NVIDIAデバイスは、pytorch CUDAビルドを使用して直接サポートされています。",
"selectGpu": "GPUを選択",
"selectGpuDescription": "所有しているGPUのタイプを選択してください"
},
"installLocation": "インストール先",
"installLocationDescription": "ComfyUIのユーザーデータを保存するディレクトリを選択してください。Python環境が選択した場所にインストールされます。選択したディスクに約15GBの空き容量が必要です。",
"installLocationTooltip": "ComfyUIのユーザーデータディレクトリ。保存内容:\n- Python環境\n- モデル\n- カスタムノード\n",