五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

使用AMD GPU運(yùn)行ai繪畫

2023-03-25 22:34 作者:Zhoukker  | 我要投稿

安裝顯卡驅(qū)動(dòng)以及rocm

sudo apt install ./amdgpu-install_xxxxxxx-xxxxxx_all.deb

sudo apt update

sudo apt upgrade -y

sudo amdgpu-install --no-dkms

sudo apt install rocm-dev

?

ls -l /dev/dri/render*

sudo usermod -a -G render $LOGNAME

sudo usermod -a -G video $LOGNAME

sudo reboot

?

rocm-smi

#查看顯卡信息的兩條命令(直接在終端輸入)

/opt/rocm/bin/rocminfo

/opt/rocm/opencl/bin/clinfo

#有一條報(bào)錯(cuò)可能是沒安裝好

?

安裝Miopen

sudo apt-get install miopen-hip

#下載miopenkernels,適用與gfx1030的a卡,如果你不是可以試一下

鏈接:https://www.123pan.com/s/xW39-oyMmH

sudo dpkg -i miopenkernels-gfx1030-36kdb_1.1.0.50200-65_amd64.deb

?

安裝pytorch運(yùn)行webui 以及安裝插件

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui

修改launch.py中的第240行為torch_command = os.environ.get('pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2',"")

請確??s進(jìn)的正確也就是保持格式與原先一致

?

HSA_OVERRIDE_GFX_VERSION=10.3.0 python launch.py

如果你沒有安裝python3.9請使用

HSA_OVERRIDE_GFX_VERSION=10.3.0 python3 launch.py

之后每一次啟動(dòng)都是使用這個(gè)


?安裝python3.9 (可選)

apt install python3.9-full

update-alternatives --install /usr/local/bin/python python /usr/bin/python3.9 1

echo 'PATH=/usr/local/bin:$PATH' >> ~/.bashrc

啟動(dòng)如果出現(xiàn)

ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:7890/')這個(gè)報(bào)錯(cuò)請?jiān)诮K端內(nèi)執(zhí)行以下命令

unset all_proxy; unset ALL_PROXY

?這是由于代理和webui的端口沖突大概,你可以嘗試修改代理的端口


使用AMD GPU運(yùn)行ai繪畫的評論 (共 條)

分享到微博請遵守國家法律
额济纳旗| 海丰县| 榕江县| 景谷| 平定县| 白山市| 普陀区| 长兴县| 齐齐哈尔市| 会宁县| 阿合奇县| 油尖旺区| 高雄县| 余庆县| 富蕴县| 旬阳县| 年辖:市辖区| 呈贡县| 隆安县| 安阳县| 饶河县| 鄯善县| 海口市| 临夏市| 贡觉县| 大埔县| 宁城县| 长宁县| 徐州市| 嵩明县| 山丹县| 观塘区| 安丘市| 翼城县| 慈利县| 大埔区| 维西| 嘉义市| 凌海市| 敖汉旗| 临城县|