Skip to content
Agentmart
Submit a tool

dalle2-pytorch

Use the DALLE2-pytorch package for DALL-E 2 style text-to-image model APIs, diffusion prior/decoder training, WebDataset data layouts, and tracker/checkpoint…

Skill by VectorSpaceLab

IndexedMIT★ 341
Write a review

Chalk Labs

Need help deploying dalle2-pytorch?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-dalle2-pytorch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use the DALLE2-pytorch package for DALL-E 2 style text-to-image model APIs, diffusion prior/decoder training, WebDataset data layouts, and tracker/checkpoint workflows.

Use cases: data, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dalle2-pytorch

What's inside

Skill name
dalle2-pytorch
Description
Use the DALLE2-pytorch package for DALL-E 2 style text-to-image model APIs, diffusion prior/decoder training, WebDataset data layouts, and tracker/checkpoint workflows.
License
MIT
Metadata
disco-role: operating
Instructions
77 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (27)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_install.py · scripts/
  • SKILL.md · sub-skills/data-and-tracking/
  • data-formats.md · sub-skills/data-and-tracking/references/
  • tracking-and-checkpoints.md · sub-skills/data-and-tracking/references/
  • troubleshooting.md · sub-skills/data-and-tracking/references/
  • validate_webdataset_layout.py · sub-skills/data-and-tracking/scripts/
  • SKILL.md · sub-skills/generation-and-api/
  • api-reference.md · sub-skills/generation-and-api/references/
  • latent-diffusion-and-vqgan.md · sub-skills/generation-and-api/references/
  • troubleshooting.md · sub-skills/generation-and-api/references/
  • workflows.md · sub-skills/generation-and-api/references/
  • check_dalle2_runtime.py · sub-skills/generation-and-api/scripts/
  • SKILL.md · sub-skills/training-and-configs/
  • cli-reference.md · sub-skills/training-and-configs/references/
  • decoder-cpu-smoke.json · sub-skills/training-and-configs/references/config-templates/
  • prior-minimal.json · sub-skills/training-and-configs/references/config-templates/
  • trainer-api.md · sub-skills/training-and-configs/references/
  • training-configs.md · sub-skills/training-and-configs/references/
  • troubleshooting.md · sub-skills/training-and-configs/references/
  • inspect_training_config.py · sub-skills/training-and-configs/scripts/
  • run_decoder_training.py · sub-skills/training-and-configs/scripts/
  • run_diffusion_prior_training.py · sub-skills/training-and-configs/scripts/
  • training_command_builder.py · sub-skills/training-and-configs/scripts/

SKILL.md (first lines)

# DALLE2-pytorch

Use this repo skill when a task involves the `dalle2-pytorch` package, DALL-E 2 style CLIP-latent text-to-image generation, diffusion prior training, cascaded decoder training, DALLE2 checkpoints, WebDataset embedding data, or the package's training/experiment tracking utilities.

## What This Skill Covers

- Public Python APIs for `DALLE2`, `DiffusionPriorNetwork`, `DiffusionPrior`, `Unet`, `Decoder`, CLIP adapters, VQGAN/VAE latent diffusion, inpainting, tokenization, and the `dream` CLI.
- JSON config classes and bundled training launchers for decoder and diffusion-prior training.
- WebDataset and EmbeddingReader data layouts, sidecar embedding folders, shard/index validation, trackers, checkpoint loading, and checkpoint saving.
- Troubleshooting for install/import, CLIP downloads, CPU vs GPU expectations, config validation, data layout, tracker credentials, and checkpoint format mismatches.

## Install And Minimal Check

Install the public package:

```bash
python -m pip install dalle2-pytorch
```

Run the bundled package check from this skill directory:

```bash
python scripts/check_install.py --mode imports
python scripts/check_install.py --mode cli-help
```

For a CPU-only synthetic API smoke test that avoids CLIP downloads and model weights:

```bash
python sub-skills/generation-and-api/scripts/check_dalle2_runtime.py --mode tiny-forward
```

## Choose A Sub-Skill

### `generation-and-api`

Read [sub-skills/generation-and-api/SKILL.md](sub-skills/generation-and-api/SKILL.md) for Python model construction and generation tasks:

- Build or call `DALLE2`, `DiffusionPrior`, `Decoder`, `Unet`, CLIP adapters, or `VQGanVAE`.
- Use `dream`, load generation checkpoints, tokenize prompts, sample images, or perform decoder inpainting.
- Debug checkpoint architecture mismatches, CLIP weight downloads, CPU/GPU limitations, inpaint mask shape, or classifier-free guidance.

### `training-and-configs`

Read [sub-skills/training-and-configs/SKILL.md](sub-skills/training-and-configs/SKILL.md) for training and configuration tasks:

- Author/validate `TrainDecoderConfig` or `TrainDiffusionPriorConfig` JSON.
- Use `DecoderTrainer` or `DiffusionPriorTrainer` directly.
- Build `python` or `accelerate launch` commands, run bundled training wrappers, resume/save trainer checkpoints, or debug `unet_training_mask`, resampling, DeepSpeed fp16, and config errors.

### `data-and-tracking`

Read [sub-skills/data-and-tracking/SKILL.md](sub-skills/data-and-tracking/SKILL.md) for data and experiment-management tasks:

- Validate decoder WebDataset shard names, sample keys, sidecar image/text embedding folders, `shard_width`, or `index_width`.
- Use `ImageEmbeddingDataset`, `create_image_embedding_dataloader`, `get_reader`, `make_splits`, or `PriorEmbeddingDataset`.
- Configure console/W&B logging, local/URL/W&B checkpoint loading, or local/W&B/HuggingFace saving.

## Important Constraints

- Real training and useful image sampling normally need GPU memory and trained checkpoints. CPU is suitable for imports, config parsing, CLI help, and tiny synthetic forward-loss tests.
- CLIP adapters (`OpenAIClipAdapter`, `OpenClipAdapter`) may download weights and require network/cache. Do not instantiate them in offline smoke checks unless weights are already cached.
- Training examples may need datasets, W&B/HuggingFace/S3 credentials, metric assets, and long runtime. Validate configs and data layout before launch.
- The `dream` CLI expects a combined DALLE2 checkpoint with package-expected init/model keys; trainer checkpoints are a different format.
- If `clip-anytorch` fails because `pkg_resources` is missing, install `setuptools<81` and rerun `python -m pip check`.

## Root References

- Repository snapshot and refresh baseline: [references/repo-provenance.md](references/repo-provenance.md).
- Cross-cutting install/import/backend troubleshooting: [references/troubleshooting.md](references/troubleshooting.md).
- Router metadata used by managed import: [references/repo-routing-metadata.json](references/repo-routing-metadata.json).

## Self-Containment Rule

Use the bundled references and scripts in this skill tree. Do not require future agents to open, run, or copy scripts, docs, configs, tests, or examples from an original DALLE2-pytorch checkout. When a user wants to train in a checkout intentionally, treat that checkout as their working project, not as this skill's required evidence source.

From VectorSpaceLab/AREX-Skill, MIT.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get dalle2-pytorch running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying dalle2-pytorch?

CallGet help
Cite this page

dalle2-pytorch skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-dalle2-pytorch (last updated 2026-10-24)