techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.9K
active users

#780m

0 posts0 participants0 posts today
Continued thread

Then your Docker compose container should have:

image-name:
build:
context: .
devices:
- /dev/dri
- /dev/kfd
group_add:
- video
shm_size: 4G
environment:
- PYTORCH_HIP_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
- PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
- HSA_OVERRIDE_GFX_VERSION=11.0.0

#rocm#gfx1103#780M

在Ryzen 7 #8845HS w/ Radeon #780M#ComfyUI 生圖( #Linux
https://blog.pastwind.org/2025/02/ryzen-7-8845hs-w-radeon-780mcomfyuilinux.html

試了很久才發現成功的方程式…這是因為每次安裝
#ROCm 都需要下載安裝超過30GB的檔案!!!

tl;dr 直接說結論

OS: Ubuntu 22.04(因為ROCm 6.1只支援此以下的版本)

ROCm: <= 6.1.2,6.2跟6.3都沒辦法正常運行

PyTorch: <= 2.4.1,2.5.1版會顯示不支援硬體的警告,圖片有時候無法正確產生。

UserWarning: Attempting to use hipBLASLt on an unsupported architecture! Overriding blas backend to hipblas
2.6以上則完全無法正常運行。使用PyTorch官網的版本而不是AMD提供的。

https://pytorch.org/get-started/previous-versions/

ComfyUI: 當前版本v0.3.14可正常運行。
blog.pastwind.org在Ryzen 7 8845HS w/ Radeon 780M用ComfyUI生圖(Linux)試了很久才發現成功的方程式…這是因為每次安裝ROCm都需要下載安裝超過30GB的檔案!!!   tl;dr 直接說結論 OS: Ubuntu 22.04(因為ROCm 6.1只支援此以下的版本) ROCm:  <= 6.1.2,6.2跟6.3都沒辦法正常運行 PyTorch: <...