国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Stable Diffusion本地部署報錯解決:RuntimeError: Couldn‘t determine Stable Diffusion‘s hash: xxxxxxx

這篇具有很好參考價值的文章主要介紹了Stable Diffusion本地部署報錯解決:RuntimeError: Couldn‘t determine Stable Diffusion‘s hash: xxxxxxx。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

報錯信息

Commit hash: c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui\launch.py", line 39, in <module>
    main()
  File "D:\AI\stable-diffusion-webui\launch.py", line 30, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui\modules\launch_utils.py", line 345, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui\modules\launch_utils.py", line 151, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
  File "D:\AI\stable-diffusion-webui\modules\launch_utils.py", line 113, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 128
stdout: HEAD

升級git版本等都沒有解決的話,看這里!

解決

找到stable-diffusion-webui\modules\launch_utils.py,打開,搜索current_hash(當前是第151行):
原內容:

current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()

Stable Diffusion本地部署報錯解決:RuntimeError: Couldn‘t determine Stable Diffusion‘s hash: xxxxxxx,stable diffusion,git
改成:

current_hash = run(f'"{git}" rev-parse HEAD -C "{dir}"', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()

Stable Diffusion本地部署報錯解決:RuntimeError: Couldn‘t determine Stable Diffusion‘s hash: xxxxxxx,stable diffusion,git
如果有用記得贊賞一下喲~文章來源地址http://www.zghlxwxcb.cn/news/detail-704701.html

到了這里,關于Stable Diffusion本地部署報錯解決:RuntimeError: Couldn‘t determine Stable Diffusion‘s hash: xxxxxxx的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!

本文來自互聯(lián)網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如若轉載,請注明出處: 如若內容造成侵權/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經查實,立即刪除!

領支付寶紅包贊助服務器費用

相關文章

  • 【Python】部署stable diffusion的踩坑分享(Couldn‘t clone Stable Diffusion+stderr顯示亂碼)

    【Python】部署stable diffusion的踩坑分享(Couldn‘t clone Stable Diffusion+stderr顯示亂碼)

    在部署stable diffusion時,進行到運行webui-user.bat環(huán)節(jié)時出現(xiàn) 主要困難點在于錯誤流(stderr)顯示為亂碼,無法判斷錯誤原因 以及網上找不到對應解決方案 1、首先解決亂碼問題 win11為 設置-時間與語言-語言和區(qū)域-管理語言設置-區(qū)域-管理-更改系統(tǒng)區(qū)域設置 將 Beta版:使用Unic

    2024年02月11日
    瀏覽(25)
  • Linux端部署Stable Diffusion報錯解決

    【新修正】手把手教你在linux中部署stable-diffusion-webui N卡A卡顯卡可用 - 嗶哩嗶哩 (bilibili.com) 參照如上教程進行部署,感謝作者的教程 實際部署中遇到如下bug,主要是在運行啟動腳本的時候 sh start.sh 1、RuntimeError: cannot import name \\\'_compare_version\\\' from \\\'torchmetrics.utilities.imports\\\' 需要降

    2024年02月14日
    瀏覽(20)
  • stable diffusion 安裝xFormers 報錯:Couldn‘t install open_clip.

    stable diffusion 安裝xFormers 報錯:Couldn‘t install open_clip.

    這是因為沒有安裝xformers導致的。 解決辦法: 在webui-user.bat文件這添加一行: 如下圖所示: 試著點擊webui-user.bat,看能否下載,如果等了很久報錯了,是網絡問題,需要科學,但是科學你開全局也沒有用 解決方法:我使用的是有藍色的貓的軟件。步驟如下: (1)打開webui中的

    2023年04月24日
    瀏覽(19)
  • Win 10部署stable-diffusion-webui時github報錯的解決方法

    這篇博客就是簡單記錄一下。有很多文章已經詳細介紹了怎么在Windows上部署stable-diffusion-webui了,例如: 本地部署Stable Diffusion教程,詳細教學,已安裝成功 - 知乎 (zhihu.com) 五千字長文:Stable Diffusion 保姆級教程,附帶免費繪畫小程序 - 嗶哩嗶哩 (bilibili.com) 一份保姆級的Stab

    2024年02月03日
    瀏覽(15)
  • Stable-Diffusion-Webui部署SDXL0.9報錯參數(shù)shape不匹配解決

    Stable-Diffusion-Webui部署SDXL0.9報錯參數(shù)shape不匹配解決

    已經在model/stable-diffusion文件夾下放進去了sdxl0.9的safetensor文件,但是在切換model的時候,會報錯model的shape不一致。 update一些web-ui項目就可以,因為當前項目太老了,沒有使用最新的版本。

    2024年02月15日
    瀏覽(26)
  • Stable Diffusion 本地部署

    Stable Diffusion 本地部署

    注意:如果沒有顯卡或顯卡性能較弱的同學們不要嘗試,不然到最后也還是不行!當然這些同學們可以去(免費,效果稍遜) Stable Diffusion - a Hugging Face Space by stabilityai Discover amazing ML apps made by the community https://huggingface.co/spaces/stabilityai/stable-diffusion 或者(收費,但是效果更好) D

    2023年04月14日
    瀏覽(29)
  • 本地部署Stable Diffusion

    本地部署Stable Diffusion

    報錯:RuntimeError:“LayerNormKernelImpl” not implemented for ‘Half 解決方案: 產生報錯的原因是因為顯卡不支持half-float的數(shù)據(jù)類型,所以在啟動項set COMMANDLINE_ARGS=后增加這一句 --precision full --no-half,以后運行webui-user.bat就可以了

    2024年02月11日
    瀏覽(24)
  • Stable Diffusion本地部署

    Stable Diffusion本地部署

    網絡很重要,安裝會因為超時失敗,我是失敗了很多次才成功 Windows10,N 卡(我的是古早的1070) 安裝conda,也可以安裝miniconda 進入stable-diffusion-webui目錄 創(chuàng)建conda 虛擬環(huán)境 激活conda 環(huán)境 安裝依賴 安裝其他依賴 安裝好后終端會顯示服務以運行 直接訪問域名,以上步驟安裝順利

    2024年02月09日
    瀏覽(33)
  • Stable Diffusion 本地部署教程

    Stable Diffusion 本地部署教程

    最近看Stable Diffusion開源了,據(jù)說比Disco Diffusion更快,于是從git上拉取了項目嘗試本地部署了,記錄分享一下過程~ 這里是官網介紹:https://stability.ai/blog/stable-diffusion-public-release 科學上網。很多鏈接都需要用到。 顯卡的顯存需要足夠大,至于多大沒看到哪有說,反正3g絕對不行

    2023年04月11日
    瀏覽(30)
  • Stable Diffusion本地部署教程

    Stable Diffusion本地部署教程

    0.介紹與版本 1)介紹 Stable Diffusion是一個文本到圖像的潛在擴散模型,由CompVis、Stability AI和LAION的研究人員在Latent Diffusion Model的基礎上于2022年8月創(chuàng)建并推出。其核心技術源于AI視頻剪輯技術創(chuàng)業(yè)公司Runway的首席研究科學家Patrick Esser以及慕尼黑大學機器視覺學習組的Robin Rom

    2024年04月10日
    瀏覽(41)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領取紅包,優(yōu)惠每天領

二維碼1

領取紅包

二維碼2

領紅包