Stable Diffusion Error code 128 için ne yapılabilir?

alpque

Femtopat
Katılım
6 Aralık 2025
Mesajlar
11
Daha fazla  
Cinsiyet
Erkek
Merhaba ,

Stable Diffusion 1.5 indirdim fakat açarken error 128 hatası alıyorum.
Kodu paylaşıyorum.

Kod:
Cloning Stable Diffusion into C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Cloning into 'C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'...
info: please complete authentication in your browser...
remote: Repository not found.
fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found
Traceback (most recent call last):
  File "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 192, in git_clone
    run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/stablediffusion.git" "C:\Users\ALP\Desktop\stable-diffusion\stable-diffusion-webui\repositories\stable-diffusion-stability-ai"
Error code: 128
 
Artık o adres yok.

Onun yerine. Varsa ikinci diskte özel bir dizine... Örnek : "D.\YapayZeka\Forge_torch231" dizin içerisine verdiğim linki indirebilirsin


Adresindeki,

Benim ekran kartı 1660 Ti olduğu için bazı ayarları kısarak çalıştırıyordum.

Sen kendi webui.bat dosyanı GPT ile konuşarak adım adım tüm ayarları sana anlatabilir.
Kullandığım webui.bat dosyası şu şekilde.

Kod:
@echo off.

if exist webui.settings.bat (
 call webui.settings.bat
)

if not defined PYTHON (set PYTHON=python)
if defined GIT (set "GIT_PYTHON_GIT_EXECUTABLE=%GIT%")
if not defined VENV_DIR (set "VENV_DIR=%~dp0%venv")

set SD_WEBUI_RESTART=tmp/restart
set ERROR_REPORTING=FALSE

mkdir tmp 2>NUL

%PYTHON% -c "" >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% == 0 goto :check_pip
echo Couldn't launch python.
goto :show_stdout_stderr

:check_pip
%PYTHON% -mpip --help >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% == 0 goto :start_venv
if "%PIP_INSTALLER_LOCATION%" == "" goto :show_stdout_stderr
%PYTHON% "%PIP_INSTALLER_LOCATION%" >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% == 0 goto :start_venv
echo Couldn't install pip.
goto :show_stdout_stderr

:start_venv
if ["%VENV_DIR%"] == ["-"] goto :skip_venv
if ["%SKIP_VENV%"] == ["1"] goto :skip_venv

dir "%VENV_DIR%\Scripts\Python.exe" >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% == 0 goto :activate_venv

for /f "delims=" %%i in ('CALL %PYTHON% -c "import sys; print(sys.executable)"') do set PYTHON_FULLNAME="%%i"
echo Creating venv in directory %VENV_DIR% using python %PYTHON_FULLNAME%
%PYTHON_FULLNAME% -m venv "%VENV_DIR%" >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% == 0 goto :upgrade_pip
echo Unable to create venv in directory "%VENV_DIR%"
goto :show_stdout_stderr

:upgrade_pip
"%VENV_DIR%\Scripts\Python.exe" -m pip install --upgrade pip.
if %ERRORLEVEL% == 0 goto :activate_venv
echo Warning: Failed to upgrade PIP version.

:activate_venv
set PYTHON="%VENV_DIR%\Scripts\Python.exe"
call "%VENV_DIR%\Scripts\activate.bat"
echo venv %PYTHON%

:skip_venv
if [%ACCELERATE%] == ["True"] goto :accelerate
goto :launch

:accelerate
echo Checking for accelerate.
set ACCELERATE="%VENV_DIR%\Scripts\accelerate.exe"
if EXIST %ACCELERATE% goto :accelerate_launch

:launch
%PYTHON% launch.py %*
if EXIST tmp/restart goto :skip_venv
pause.
exit /b

:accelerate_launch
echo Accelerating.
%ACCELERATE% launch --num_cpu_threads_per_process=6 launch.py
if EXIST tmp/restart goto :skip_venv
pause.
exit /b

:show_stdout_stderr

echo.
echo exit code: %errorlevel%

for /f %%i in ("tmp\stdout.txt") do set size=%%~zi
if %size% equ 0 goto :show_stderr
echo.
echo stdout:
type tmp\stdout.txt

:show_stderr
for /f %%i in ("tmp\stderr.txt") do set size=%%~zi
if %size% equ 0 goto :show_stderr
echo.
echo stderr:
type tmp\stderr.txt

:endofscript

echo.
echo Launch unsuccessful. Exiting.
pause.

Model dosyaları için en güzel kaynaklardan bir tanesi civitai. Eklentiler kısmından "civitai Browser'ı yükleyebilirsin. Civitai adresine üye ol ve oradan API key alıp içine ekle. Otomatik filitreleme yaparak modelleri kendi bilgisayarında inceleyerek indirebilirsin.

Civitai Browser'ın şu faydası da var.
İndirdiğim model dosyası ile, geliştiricinin örnek resim ve prompt'larını varsayılan olarak atayarak denemelerini yapabilirsin.

Başarılar.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…