Is anyone familiar with koyha and how to get it to work? I am following the guide

https://aituts.com/stable-diffusion-lora/#Train_your_own_LoRA

During step 3, the command

cp .\bitsandbytes_windows*.dll .\venv\Lib\site-packages\bitsandbytes\

returns the error

cp : The filename, directory name, or volume label syntax is incorrect. At line:1 char:1

  • cp .\bitsandbytes_windows*.dll .\venv\Lib\site-packages\bitsandbytes …
  •   + CategoryInfo          : NotSpecified: (:) [Copy-Item], IOException
      + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.CopyItemCommand
    
    

Does anyone know how to go about dealing with this?

  • Legend@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    With just this snippet it is hard to tell what went wrong, this command copies two precompiled bitsandbytes dll files from the repository to your virtual Python environment. The error would occur if the source files are missing or the target folders don’t exist.

    1. Make sure the previous steps executed without error.
    2. You are running the command in the right directory (kohya_ss)
    3. Verify that kohya_ss\venv\Lib\site-packages\bitsandbytes\exists

    I don’t have access to Windows, but the bmaltais/kohya_ss Github repository contains different instructions for setup. This 3 months old guide might just be out of date already. See if this makes more sense, https://github.com/bmaltais/kohya_ss#windows