Inhaltsverzeichnis

games i play

Trimps

http://trimps.github.io

Ant Legion

Eigene Website des Spiels, dass es für Android gibt

stable diffusion

Nachdem ich für die Mathematik von KI / AI nicht intelligent genug bin, installiere ich das mal auf meinem iMac

auf der Seite https://huggingface.co/CompVis/stable-diffusion-v-1-4-original die Datei sd-v1-4.ckpt nehmen

sollte beim start die Meldung kommen „ImportError: cannot import name 'SAFE_WEIGHTS_NAME' from 'transformers.utils'“, dann diffusere von 0.17.1 auf 0.12.1 dorngraden mit

pip install diffusers==0.12.1

es gab dann noch einen Speicherfehler:

RuntimeError: MPS backend out of memory (MPS allocated: 5.15 GB, other allocations: 7.43 GB, max allowed: 13.57 GB). Tried to allocate 1024.00 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).

mit einem einfachen prompt ging es. der Fehler kam bei dem beispielsprompt von der Seite.

ich habe es dann mit PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0; python… probiert.

img2img.py kam der Fehler: ModuleNotFoundError: No module named 'ldm'

lösung: vor dem ldm import die zeile einbauen

sys.path.append(os.path.join(os.path.dirname(__file__), ".."))

noch ein versuch

https://hub.tcno.co/ai/stable-diffusion/automatic1111-mac/

Stand 7/2023