Keresés

Új hozzászólás Aktív témák

  • 5leteseN

    aktív tag

    válasz sh4d0w #391 üzenetére

    "Modern-Világ" ;]

    Biztos, hogy ilyen lovat akartam? :O :W

    Kiegészítettem a run_AMD.bat állományomat:
    --------------------------------------
    .\python_embeded\python.exe -m pip uninstall torch torchvision torchaudio torchtext functorch xformers -y
    .\python_embeded\python.exe -m pip install torch-directml
    .\python_embeded\python.exe -s Fooocus\entry_with_update.py --directml

    .\python_embeded\python.exe -s Fooocus\entry_with_update.py --normalvram --use-split-cross-attention

    pause
    ----------------------------------------

    Ezt is javasolták: --use-split-cross-attention

    ...nyomtam az ENTER-t, és:
    ----------------------------------
    \Fooocus>.\python_embeded\python.exe -s Fooocus\entry_with_update.py --directml
    Already up-to-date
    Update succeeded.
    [System ARGV] ['Fooocus\\entry_with_update.py', '--directml']
    Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
    Fooocus version: 2.1.824
    Running on local URL: http://127.0.0.1:7865
    To create a public link, set `share=True` in `launch()`.
    Using directml with device:
    Total VRAM 1024 MB, total RAM 65458 MB
    Set vram state to: NORMAL_VRAM
    Disabling smart memory management
    Device: privateuseone
    VAE dtype: torch.float32
    Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
    Refiner unloaded.
    ...
    -------------------------------------- :O

    A vége mondjuk ez:

    -----------------------------------
    Fooocus V2 Expansion: Vocab with 642 words.
    Fooocus Expansion engine loaded for cpu, use_fp16 = False.
    Requested to load SDXLClipModel
    Requested to load GPT2LMHeadModel
    Loading 2 new models
    App started successful. Use the app with http://127.0.0.1:7865/ or 127.0.0.1:7865
    ------------------------------------------------------

    Akár jó is lehet.

    Nézzük a "Girl on street" klasszikust:
    ----------------------------
    return tensor.to(device, copy=copy).to(dtype)
    RuntimeError: Could not allocate tensor with 117964800 bytes. There is not enough GPU video memory available!
    Total time: 45.18 seconds
    -------------------------------------------------- :O

    Ehy kép generálást állítottam be és legkisebb felbontásúra tettem a képméretet:
    -----------------------------------------
    ... \Fooocus\Fooocus\backend\headless\fcbh\model_management.py", line 532, in cast_to_device
    return tensor.to(device, copy=copy).to(dtype)
    RuntimeError: Could not allocate tensor with 117964800 bytes. There is not enough GPU video memory available!
    Total time: 10.42 seconds
    ---------------------------------------------- :W

    Az sem sejtetett sok jót nekem, hogy a Firefox-os saját szerveres Fooocus oldal így nézett ki

    ... amikor működött, közepén megjelent egy a kis állapotjelző szimbólum. Amióta nem működik a Fooocus, azóta a középen látható "hiányzó elem" szimbólum látható a helyén. :O

    Ez csak érdekesség volt.

Új hozzászólás Aktív témák