brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
pytorch-vaeRoutes PyTorch-VAE tasks to config-driven training and model API workflows for the collection of variational autoencoders.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill for the repository that collects many PyTorch variational autoencoder variants, their configs, and their smoke tests.
Two routes matter most:
references/repo-provenance.md when you need to check whether this skill still matches the current checkout.references/model-overview.md when you need a fast model-family map.references/troubleshooting.md for cross-cutting install, backend, config, and runtime failures.sub-skills/training/SKILL.md for config-driven fitting and data/logging questions.sub-skills/model-reference/SKILL.md for class signatures, latent-shape details, or synthetic smoke checks.From a PyTorch-VAE checkout, install the runtime stack with a CUDA-capable torch/torchvision pair, then the repo requirements:
python -m pip install 'pip<24.1' 'numpy<2' 'setuptools<70' six
python -m pip install 'torch==1.13.1+cu117' 'torchvision==0.14.1+cu117' --extra-index-url https://download.pytorch.org/whl/cu117
python -m pip install -r requirements.txt
If you are using a different CUDA wheel tag, keep the torch and torchvision versions matched.
The repo was inspected with a CUDA-capable Python 3.10 environment using:
That baseline was verified on an NVIDIA A100 host with CUDA 11.7 available.
Use this route when the user wants to choose a config, run or dry-run a training job, validate CelebA data layout, inspect logging output, or troubleshoot trainer arguments.
Helpful bundled entry point:
sub-skills/training/scripts/train_from_config.py — validates a config from any checkout root and can run a full fit only when --fit is set.Read sub-skills/training/references/workflows.md before a real training run.
Use this route when the user wants to instantiate a model class, compare constructor kwargs, run a tiny forward/loss check, or test sample/generate behavior for a specific architecture.
Helpful bundled entry point:
sub-skills/model-reference/scripts/model_smoke.py — instantiates a model from a config, runs synthetic forward/loss checks, and can optionally exercise sample/generate paths.Read sub-skills/model-reference/references/api-reference.md when you need exact signatures or special-case model behavior.
From the generated skill directory, point the bundled helpers at the checkout you want to inspect and run the smallest smoke that matches the task.
python ./sub-skills/training/scripts/train_from_config.py --repo-root /path/to/PyTorch-VAE --config /path/to/PyTorch-VAE/configs/vae.yamlpython ./sub-skills/model-reference/scripts/model_smoke.py --repo-root /path/to/PyTorch-VAE --config /path/to/PyTorch-VAE/configs/vae.yamlUse --fit only when you actually want the full training loop.