Skip to content
Agentmart
Submit a tool

dalle-pytorch

Operate lucidrains DALLE-pytorch for DALL-E style VAE training, transformer training, generation, CLIP ranking, and backend troubleshooting.

Skill by VectorSpaceLab

IndexedMIT★ 341
Write a review

Chalk Labs

Need help deploying dalle-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-dalle-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

Operate lucidrains DALLE-pytorch for DALL-E style VAE training, transformer training, generation, CLIP ranking, and backend troubleshooting.

Use cases: backend, 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/dalle-pytorch

What's inside

Skill name
dalle-pytorch
Description
Operate lucidrains DALLE-pytorch for DALL-E style VAE training, transformer training, generation, CLIP ranking, and backend troubleshooting.
License
MIT
Metadata
disco-role: operating
Instructions
65 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (28)

  • SKILL.md
  • api-reference.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_dalle_pytorch_install.py · scripts/
  • SKILL.md · sub-skills/dalle-training/
  • checkpoints-and-tokenizers.md · sub-skills/dalle-training/references/
  • data-formats.md · sub-skills/dalle-training/references/
  • troubleshooting.md · sub-skills/dalle-training/references/
  • workflows.md · sub-skills/dalle-training/references/
  • build_train_dalle_command.py · sub-skills/dalle-training/scripts/
  • validate_image_text_folder.py · sub-skills/dalle-training/scripts/
  • SKILL.md · sub-skills/distributed-and-backends/
  • distributed-backends.md · sub-skills/distributed-and-backends/references/
  • docker-and-system-setup.md · sub-skills/distributed-and-backends/references/
  • troubleshooting.md · sub-skills/distributed-and-backends/references/
  • check_backend_availability.py · sub-skills/distributed-and-backends/scripts/
  • SKILL.md · sub-skills/generation-and-ranking/
  • troubleshooting.md · sub-skills/generation-and-ranking/references/
  • workflows.md · sub-skills/generation-and-ranking/references/
  • build_generate_command.py · sub-skills/generation-and-ranking/scripts/
  • tiny_generation_api_smoke.py · sub-skills/generation-and-ranking/scripts/
  • SKILL.md · sub-skills/vae-training/
  • troubleshooting.md · sub-skills/vae-training/references/
  • workflows.md · sub-skills/vae-training/references/
  • build_train_vae_command.py · sub-skills/vae-training/scripts/
  • tiny_vae_api_smoke.py · sub-skills/vae-training/scripts/

SKILL.md (first lines)

# DALLE-pytorch operating skill

Use this skill when the task is about the `dalle-pytorch` / DALLE-pytorch package: DALL-E style text-to-image transformer modeling, discrete VAE codebooks, CLIP ranking, image/text training data, generation checkpoints, sparse attention, DeepSpeed, Horovod, Apex, or the package's training/generation helper surfaces.

## First checks

1. Confirm the user wants DALLE-pytorch, not DALL-E 2 or a diffusion package.
2. Check whether they are using a pip install, a local checkout, or only asking for API guidance. The published package exports `DiscreteVAE`, `DALLE`, `CLIP`, `OpenAIDiscreteVAE`, and `VQGanVAE`; the historical training/generation helpers were top-level repo scripts, not package console entry points.
3. Run the bundled install/API smoke when behavior matters:

```bash
python scripts/check_dalle_pytorch_install.py
```

Read `references/api-reference.md` for public signatures and object relationships. Read `references/troubleshooting.md` before fixing install/import, torch, VAE download, checkpoint, or backend failures.

## Route by task

| User task | Read next | Why |
| --- | --- | --- |
| Train or debug a discrete VAE, choose OpenAI/VQGAN/custom VAE, inspect VAE checkpoint contents, or create a VAE command | `sub-skills/vae-training/SKILL.md` | Owns `DiscreteVAE`, VAE checkpoints, image-folder training, VAE alternatives, and VAE-specific failures. |
| Train/resume the DALL-E transformer, validate image-text folders, use WebDataset shards, choose tokenizer flags, or understand DALL-E checkpoint payloads | `sub-skills/dalle-training/SKILL.md` | Owns transformer training, data layout, tokenizer choices, checkpoint/resume paths, and data validators. |
| Generate images/text, split prompts, prime from an image crop, use CLIP ranking, or debug generation checkpoints | `sub-skills/generation-and-ranking/SKILL.md` | Owns `generate_images`, `generate_texts`, `CLIP`, prompt/output layout, and generation troubleshooting. |
| Decide on DeepSpeed/Horovod/Apex/Docker/CUDA, sparse attention, `--distributed_backend`, or optional backend installation | `sub-skills/distributed-and-backends/SKILL.md` | Owns distributed wrappers, backend availability checks, attention variants, Docker and source-build caveats. |

## Safe operating boundaries

- Treat full training and generation as GPU/side-effect workflows. The original helpers call `.cuda()`, write checkpoints or outputs, and may log to W&B. Use bundled command builders and validators first; run long jobs only after the user approves compute, data, checkpoint, and logging side effects.
- Do not instantiate `OpenAIDiscreteVAE` blindly on modern torch. The source asserts `torch <= 1.10`; with newer torch the class fails before downloading weights.
- Do not trigger default OpenAI VAE or VQGAN downloads unless the user wants model-cache/network side effects.
- DeepSpeed sparse attention, Apex AMP, Horovod, and Docker GPU builds require machine-specific CUDA/toolchain decisions. Route those to `distributed-and-backends` instead of installing broad extras.
- When a user has only a pip install, prefer API recipes and bundled validators. When they have a checkout containing the historical scripts, bundled command builders can produce matching commands without requiring this skill to link back to source files.

## Quick package smoke

Use this for a fast sanity check:

```bash
python scripts/check_dalle_pytorch_install.py --include-cuda
```

Expected high-level signal:

- package metadata and `dalle_pytorch` import succeed;
- `DiscreteVAE`, `DALLE`, `CLIP`, tokenizer, and data helper signatures are visible;
- a tiny CPU `DiscreteVAE`/`DALLE`/`CLIP` smoke passes;
- optional CUDA availability is reported without running training.

## Key facts to remember

- Distribution name: `dalle-pytorch`; import root: `dalle_pytorch`; version baseline: `1.6.6`.
- `DiscreteVAE` can be trained directly or loaded as a checkpoint payload containing `hparams` and `weights`.
- `DALLE` freezes the VAE, predicts text and image tokens, and can generate images autoregressively with optional classifier-free `cond_scale`.
- Image-text folder training pairs image files and `.txt` files by matching stem recursively; each text file may contain multiple newline-separated captions.
- WebDataset training expects `--wds <image_key>,<caption_key>` and an image-text folder argument that points to a tar, shard folder, URL brace pattern, or GCS path.
- CLI helpers are checkout scripts. This skill bundles safe command builders and API smokes instead of copying long CUDA/W&B training scripts.

## References

- `references/api-reference.md`: public signatures, outputs, and model relationships.
- `references/troubleshooting.md`: cross-cutting install/import/backend/checkpoint issues.
- `references/repo-provenance.md`: source commit and evidence paths for refresh decisions.
- `references/repo-routing-metadata.json`: structured router metadata for managed imports.

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 dalle-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 dalle-pytorch?

CallGet help
Cite this page

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