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

【Lora模型訓(xùn)練過程報(bào)錯(cuò)】Error no kernel image is available for execution on the device at line

這篇具有很好參考價(jià)值的文章主要介紹了【Lora模型訓(xùn)練過程報(bào)錯(cuò)】Error no kernel image is available for execution on the device at line。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

錯(cuò)誤現(xiàn)象

在使用 sd-script訓(xùn)練自己的Lora模型時(shí),可能會(huì)出現(xiàn)“Error no kernel image is available for execution on the device at line 167 ”的錯(cuò)誤:

steps:   0%|                                                                                  | 0/5040 [00:00<?, ?it/s]epoch 1/20
Error no kernel image is available for execution on the device at line 167 in file D:\ai\tool\bitsandbytes\csrc\ops.cu
Traceback (most recent call last):
  File "S:\miniconda\envs\stable\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "S:\miniconda\envs\stable\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "S:\01code\stable_diff\lora-scripts\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>
  File "S:\01code\stable_diff\lora-scripts\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 45, in main

錯(cuò)誤原因

這是因?yàn)榕f的顯卡 例如10系列不支持unit8類型

解決方法

,需要在 訓(xùn)練的配置文件中,修改:文章來源地址http://www.zghlxwxcb.cn/news/detail-505897.html

 # use 8bit adam optimizer | 使用 8bit adam 優(yōu)化器節(jié)省顯存,默認(rèn)啟用。
 # 部分 10 系老顯卡無法使用,修改為 0 禁用。
$use_8bit_adam = 0
$use_lion = 0 # use lion optimizer | 使用 Lion 優(yōu)化器

到了這里,關(guān)于【Lora模型訓(xùn)練過程報(bào)錯(cuò)】Error no kernel image is available for execution on the device at line的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 出現(xiàn)錯(cuò)誤(已解決)RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA ker

    出現(xiàn)錯(cuò)誤(已解決)RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA ker

    為什么把警告po出來,是因?yàn)榫婵梢宰屛覀兞私庖恍┯杏眯畔ⅰ?首先警告里的內(nèi)容不可忽略,翻譯過來就是NVIDIA RTX GeForce 3060Ti(我使用的服務(wù)器)支持的CUDA的算力為8.6,與當(dāng)前的pytorch的版本不匹配。說白了就是CUDA和pytorch版本不一致。 當(dāng)前的pytorch版本支持的CUDA的算力為

    2024年02月10日
    瀏覽(32)
  • 當(dāng)出現(xiàn)RuntimeError:CUDA error:no kernel image is available for execution on the device 問題時(shí)候的pytorch安裝方法

    當(dāng)出現(xiàn)RuntimeError:CUDA error:no kernel image is available for execution on the device 問題時(shí)候的pytorch安裝方法

    當(dāng)出現(xiàn)一個(gè)明顯的特征就是出現(xiàn): RuntimeError:CUDA error:no kernel image is av ailable for execution on the device 這就說明你的顯卡太低了 可以到這個(gè)路徑下C:Program FilesNVIDIA GPU Computing ToolkitCUDAv11.1extrasdemo_suite, 找到deviceQuenry.exe這個(gè)文件拖到cmd命令窗口運(yùn)行可以看到自身電腦的算力 ?從

    2024年02月01日
    瀏覽(58)
  • Linux驅(qū)動(dòng)編譯報(bào)錯(cuò)ERROR: Kernel configuration is invalid怎么辦

    Linux驅(qū)動(dòng)編譯報(bào)錯(cuò)ERROR: Kernel configuration is invalid怎么辦

    Linux驅(qū)動(dòng)編譯報(bào)錯(cuò)ERROR: Kernel configuration is invalid怎么辦 報(bào)錯(cuò)信息 RROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run ‘make oldconfig make prepare’ on kernel src to fix it. WARNING: Symbol version dump ./Module.symvers is missing; modules will have no dependencies and modversi

    2024年02月11日
    瀏覽(33)
  • ERROR: The Nouveau kernel driver is currently in use by your system;新電腦安裝NVIDIA的GPU驅(qū)動(dòng)報(bào)錯(cuò)問題解決

    Ubuntu 安裝 NVIDIA 顯卡驅(qū)動(dòng)詳細(xì)步驟(ERROR: The Nouveau kernel driver is currently in use by your system) ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver…… 在禁用 Nouveau 驅(qū)動(dòng)前我們先了解下它是啥?有什么作用。 Nouveau 是由第三方為 NVIDIA 顯卡開

    2024年02月11日
    瀏覽(21)
  • Stable diffusion LoRA 訓(xùn)練過程

    1、使用diffusers-0.14.0, stabel-diffusion 模型 v-1.5版本 下載diffusers-0.14.0 并解壓,新建文件test.py, 寫入以下: import torch from diffusers import StableDiffusionPipeline pipe = StableDiffusionPipeline.from_pretrained(\\\"./stable-diffusion-v1-5\\\") pipe = pipe.to(\\\"cuda\\\") prompt = \\\"a photo of an astronaut riding a horse on mars\\\" image = pi

    2024年02月16日
    瀏覽(25)
  • 解決 PaddleClas 下載預(yù)訓(xùn)練模型報(bào)錯(cuò) ModuleNotFoundError No module named ‘ppcls‘ 的問題

    當(dāng)我們?cè)谑褂?PaddleClas 進(jìn)行預(yù)訓(xùn)練模型下載時(shí),可能會(huì)遇到一個(gè)報(bào)錯(cuò),報(bào)錯(cuò)信息為 ModuleNotFoundError: No module named \\\'ppcls\\\' 。這個(gè)錯(cuò)誤通常是因?yàn)?Python 解釋器無法找到名為 ppcls 的模塊,而我們的代碼中正嘗試導(dǎo)入它。讓我們一起來解決這個(gè)問題。 報(bào)錯(cuò)分析 首先,我們遇到的報(bào)錯(cuò)

    2024年02月10日
    瀏覽(54)
  • Windows 安裝lanms-neo 報(bào)錯(cuò) Microsoft Visual C++ 14.0 is required gcc:,No such file or directory等解決過程方法

    Windows 安裝lanms-neo 報(bào)錯(cuò) Microsoft Visual C++ 14.0 is required gcc:,No such file or directory等解決過程方法

    Windows 安裝lanms-neo 報(bào)錯(cuò) Microsoft Visual C++ 14.0 is required gcc:,gcc: error: /EHsc: No such file or directory ,gcc.exe’ failed with exit status 1,if…的 解決過程方法 想裝paddleocr,在安裝到遇到lanms-neo 時(shí)出現(xiàn) Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools 錯(cuò)誤 第一個(gè)查到的方

    2024年02月05日
    瀏覽(27)
  • Stable diffusion 訓(xùn)練lora出現(xiàn)報(bào)錯(cuò)

    Stable diffusion 訓(xùn)練lora出現(xiàn)報(bào)錯(cuò)

    今天使用kohya_ss訓(xùn)練lora時(shí)出現(xiàn)三個(gè)報(bào)錯(cuò),下面是解決辦法。 一: 報(bào)錯(cuò) UnboundLocalError: local variable \\\'pipe\\\' referenced before assignment 這個(gè)應(yīng)該是項(xiàng)目的BUG,現(xiàn)在的版本還沒修復(fù),但是可以繞過它。方法如下:去?huggingface 下載預(yù)訓(xùn)練的基礎(chǔ)模型到本地,復(fù)制模型的地址到紅色框內(nèi)并把

    2024年02月13日
    瀏覽(21)
  • Stable Diffusion訓(xùn)練Lora模型

    Stable Diffusion訓(xùn)練Lora模型

    以下內(nèi)容參考:https://www.bilibili.com/video/BV1Qk4y1E7nv/?spm_id_from=333.337.search-card.all.clickvd_source=3969f30b089463e19db0cc5e8fe4583a 第一步,準(zhǔn)備訓(xùn)練要使用的圖片,即優(yōu)質(zhì)的圖片 第二部,為這些圖片打標(biāo),即精準(zhǔn)的tag 數(shù)量建議20-50張,最多100張圖片 不好的圖片:模糊的,動(dòng)作扭曲的,臉部被

    2024年02月12日
    瀏覽(20)
  • AI繪畫:Lora模型訓(xùn)練完整流程!

    AI繪畫:Lora模型訓(xùn)練完整流程!

    關(guān)于AI繪畫(基于Stable?Diffusion?Webui),我之前已經(jīng)寫過三篇文章,分別是?軟件安裝,基本的使用方法,微調(diào)模型LoRA的使用。? 整體來說還是比簡(jiǎn)單的,搞個(gè)別人的模型,搞個(gè)提示詞就出圖了。今天來一個(gè)有些難度的,自己訓(xùn)練一個(gè)LoRA微調(diào)模型。 LoRA的全稱是Low-Rank?Adaptation?

    2024年02月07日
    瀏覽(20)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包