Big Sleep
Big Sleep turns a text prompt into an image by optimizing a BigGAN latent with CLIP guidance. Use this skill when a user wants to run dream, compose positive or negative prompts, save progress frames, tune generation settings, or diagnose the CUDA-only runtime.
Start here
- Use
scripts/check_runtime.py --check-cli to confirm the installed package, CUDA torch, and dream --help.
- Read
references/workflows.md for end-to-end CLI and Python recipes.
- Read
references/api-reference.md for verified signatures and method behavior.
- Read
references/troubleshooting.md when import, CUDA, download, cache, or prompt-validation errors appear.
- Read
references/repo-provenance.md to check whether this skill still matches the current repository snapshot.
references/repo-routing-metadata.json feeds repo-skills-router; keep it aligned with this router.
Install
Big Sleep is effectively CUDA-only because big_sleep.big_sleep asserts that CUDA is available during import.
Verified on this host:
python -m pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision
python -m pip install big-sleep
python -m pip check
dream --help
python scripts/check_runtime.py --check-cli
If your driver needs a different CUDA wheel tag, install a matching CUDA-enabled torch/torchvision pair instead of the example cu124 wheel.
Main routes
dream command-line runs → references/workflows.md
Imagine(...) or BigSleep(...) from Python → references/api-reference.md
- Multi-prompt, negative prompt, save-best, save-progress, seeding, and file-naming questions →
references/workflows.md
- Missing CUDA, missing
libcudnn, stale torch wheels, or first-run downloads → references/troubleshooting.md
- Staleness / refresh decisions →
references/repo-provenance.md
Supported workflows
- Text-to-image generation from the
dream CLI.
- Python generation with
Imagine.
- Multi-prompt generation with
|.
- Negative-prompt suppression with
text_min.
- Image-conditioned runs with
img.
- Save-best, save-progress, seeding, and filename controls.
- Low-level
BigSleep control for custom loops.
What this skill does not cover
- CPU-only execution.
- Diffusion, LoRA, or generic vision-model training stacks.
- Serving APIs or web apps.
- Repo-maintenance workflows.
Notes
- The Fire CLI spells flags with underscores in the verified help output, such as
--save_progress, --save_best, --open_folder, --text_min, --max_classes, and --larger_model; use explicit boolean assignments such as --open_folder=False for headless runs, not space-separated --open_folder false.
- The default
open_folder behavior opens the output directory after a run starts; disable it on headless or remote sessions.
- Generated images are written to the current working directory unless you change where the command is invoked.
1---2name: big-sleep3description: "Routes Big Sleep text-to-image workflows, CUDA setup checks,4 prompt controls, and Python API usage for the `dream` CLI and `Imagine` API."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/big-sleep8 disco-role: operating9license: MIT10---1112# Big Sleep1314Big Sleep turns a text prompt into an image by optimizing a BigGAN latent with CLIP guidance. Use this skill when a user wants to run `dream`, compose positive or negative prompts, save progress frames, tune generation settings, or diagnose the CUDA-only runtime.1516## Start here1718- Use `scripts/check_runtime.py --check-cli` to confirm the installed package, CUDA torch, and `dream --help`.19- Read `references/workflows.md` for end-to-end CLI and Python recipes.20- Read `references/api-reference.md` for verified signatures and method behavior.21- Read `references/troubleshooting.md` when import, CUDA, download, cache, or prompt-validation errors appear.22- Read `references/repo-provenance.md` to check whether this skill still matches the current repository snapshot.23- `references/repo-routing-metadata.json` feeds `repo-skills-router`; keep it aligned with this router.2425## Install2627Big Sleep is effectively CUDA-only because `big_sleep.big_sleep` asserts that CUDA is available during import.2829Verified on this host:3031```bash32python -m pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision33python -m pip install big-sleep34python -m pip check35dream --help36python scripts/check_runtime.py --check-cli37```3839If your driver needs a different CUDA wheel tag, install a matching CUDA-enabled torch/torchvision pair instead of the example cu124 wheel.4041## Main routes4243- `dream` command-line runs → `references/workflows.md`44- `Imagine(...)` or `BigSleep(...)` from Python → `references/api-reference.md`45- Multi-prompt, negative prompt, save-best, save-progress, seeding, and file-naming questions → `references/workflows.md`46- Missing CUDA, missing `libcudnn`, stale torch wheels, or first-run downloads → `references/troubleshooting.md`47- Staleness / refresh decisions → `references/repo-provenance.md`4849## Supported workflows5051- Text-to-image generation from the `dream` CLI.52- Python generation with `Imagine`.53- Multi-prompt generation with `|`.54- Negative-prompt suppression with `text_min`.55- Image-conditioned runs with `img`.56- Save-best, save-progress, seeding, and filename controls.57- Low-level `BigSleep` control for custom loops.5859## What this skill does not cover6061- CPU-only execution.62- Diffusion, LoRA, or generic vision-model training stacks.63- Serving APIs or web apps.64- Repo-maintenance workflows.6566## Notes6768- The Fire CLI spells flags with underscores in the verified help output, such as `--save_progress`, `--save_best`, `--open_folder`, `--text_min`, `--max_classes`, and `--larger_model`; use explicit boolean assignments such as `--open_folder=False` for headless runs, not space-separated `--open_folder false`.69- The default `open_folder` behavior opens the output directory after a run starts; disable it on headless or remote sessions.70- Generated images are written to the current working directory unless you change where the command is invoked.