mat-sz / metastable

🖼️ A project-based Stable Diffusion Web UI, for easier organization of generated images. Work in progress.
https://metastable.studio
GNU Affero General Public License v3.0
27 stars 1 forks source link

Undetectable GPU #3

Open BarrenWardo opened 2 days ago

BarrenWardo commented 2 days ago

I am running it on cloud GPU - Nvidia T4 but GPU is not getting detected. I tried putting it to GPU only & then restarting it but it didn't work as well.

GPU Error:

image

Available GPU:

image

Logs:

(base) root@modal:~/metastable# yarn install && yarn build && yarn start ➤ YN0065: Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry ➤ YN0065: Run yarn config set --home enableTelemetry 0 to disable

➤ YN0000: · Yarn 4.5.0 ➤ YN0000: ┌ Resolution step ➤ YN0000: └ Completed in 0s 367ms ➤ YN0000: ┌ Post-resolution validation ➤ YN0060: │ eslint is listed by your project with version 9.10.0 (pc92b6), which doesn't satisfy what eslint-plugin-import and other dependencies request (^8.57.0). ➤ YN0002: │ @metastable/client@workspace:packages/client doesn't provide @trpc/server (p8c12c), requested by @trpc/client and other dependencies. ➤ YN0002: │ @metastable/client@workspace:packages/client doesn't provide eslint (p97541), requested by eslint-plugin-react-hooks and other dependencies. ➤ YN0002: │ @metastable/server@workspace:packages/server doesn't provide electron (p1649d), requested by @metastable/metastable. ➤ YN0002: │ @metastable/server@workspace:packages/server doesn't provide electron-updater (pe6667), requested by @metastable/metastable. ➤ YN0002: │ metastable@workspace:. doesn't provide typescript (p2a523), requested by @typescript-eslint/eslint-plugin and other dependencies. ➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code. ➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details. ➤ YN0000: └ Completed ➤ YN0000: ┌ Fetch step ➤ YN0013: │ 941 packages were added to the project (+ 772.1 MiB). ➤ YN0000: └ Completed in 23s 350ms ➤ YN0000: ┌ Link step ➤ YN0007: │ electron@npm:32.1.2 must be built because it never has been before or the last one failed ➤ YN0007: │ exifreader@npm:4.23.5 must be built because it never has been before or the last one failed ➤ YN0007: │ sharp@npm:0.33.5 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.23.1 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed ➤ YN0000: └ Completed in 16s 649ms ➤ YN0000: · Done with warnings in 40s 891ms [@metastable/common]: Process started [@metastable/types]: Process started [@metastable/common]: Process exited (exit code 0), completed in 1s 888ms [@metastable/types]: Process exited (exit code 0), completed in 1s 996ms [@metastable/model-info]: Process started [@metastable/model-info]: Process exited (exit code 0), completed in 1s 609ms [@metastable/metastable]: Process started [@metastable/metastable]: Process exited (exit code 0), completed in 3s 51ms @metastable/client: Process started [@metastable/server]: Process started [@metastable/server]: Process exited (exit code 0), completed in 3s 19ms @metastable/client: vite v5.4.6 building for production...

@metastable/client: ✓ 646 modules transformed. @metastable/client: rendering chunks... @metastable/client: computing gzip size... @metastable/client: dist/index.html 0.49 kB │ gzip: 0.31 kB @metastable/client: dist/assets/logo-BvB6ukQC.svg 1.00 kB │ gzip: 0.37 kB @metastable/client: dist/assets/Inconsolata-BlX5Rdmz.woff2 150.32 kB @metastable/client: dist/assets/InterTight-CMB3tgIJ.woff2 234.66 kB @metastable/client: dist/assets/InterTight-Italic-btKm-Q6Q.woff2 246.26 kB @metastable/client: dist/assets/index-O7UN1Kz5.css 3.50 kB │ gzip: 1.09 kB @metastable/client: dist/assets/index-Cds11B30.css 64.10 kB │ gzip: 11.58 kB @metastable/client: dist/assets/index-BCsY11_F.js 43.24 kB │ gzip: 13.90 kB @metastable/client: dist/assets/index-BvET8-KN.js 652.11 kB │ gzip: 203.85 kB @metastable/client: ✓ built in 8.79s @metastable/client: @metastable/client: (!) Some chunks are larger than 500 kB after minification. Consider: @metastable/client: - Using dynamic import() to code-split the application @metastable/client: - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks @metastable/client: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. @metastable/client: Process exited (exit code 0), completed in 15s 670ms Done in 22s 358ms Server running on 0.0.0.0:5001 [Backend (stdout)] Starting ComfyUI server

[Backend (stdout)] Ready! [Backend (stdout)]

Error in tRPC handler on path 'project.file.all': Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) ... 3 lines matching cause stack trace ... at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) { code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', [cause]: Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///root/metastable/packages/metastable/lib/trpc.js:315:33 at async resolveMiddleware (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:102:30) at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) } Error in tRPC handler on path 'project.file.onChange': Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) ... 3 lines matching cause stack trace ... at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) { code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', [cause]: Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///root/metastable/packages/metastable/lib/trpc.js:376:33 at async resolveMiddleware (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:102:30) at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) } Error in tRPC handler on path 'project.file.all': Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) ... 3 lines matching cause stack trace ... at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) { code: 'INTERNAL_SERVER_ERROR', name: 'TRPCError', [cause]: Error: Project not found at ProjectRepository.get (file:///root/metastable/packages/metastable/lib/data/project.js:181:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///root/metastable/packages/metastable/lib/trpc.js:315:33 at async resolveMiddleware (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:102:30) at async callRecursive (file:///root/metastable/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:32) }

mat-sz commented 1 day ago

@BarrenWardo Could you try using the Docker version? It uses CUDA. Requires nvidia-container-runtime to be configured in your system.

I'll try to figure out how to exactly detect those GPUs but the code I have was made with consumer GPUs in mind.

BarrenWardo commented 1 day ago

Requires nvidia-container-runtime to be configured in your system.

@mat-sz

I installed it & tried but still it is showing the same issue.

image
mat-sz commented 22 hours ago

@BarrenWardo I meant using the Docker container (as mentioned in README), just the runtime by itself won't help.

mat-sz commented 17 hours ago

@BarrenWardo Could you try 5b707484d4d946e706ddc4e645a7d22e847d8665 either way? Should improve the detection - you might need to reset your bundle though in Settings -> About Metastable.

BarrenWardo commented 6 hours ago

@mat-sz I tried. Still same issue.