본문으로 건너뛰기
cccskills
무료GitHub에 공개

dalle-pytorch

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구DockerOpenAI
설치 방법 보기

포함된 파일(28)

  • SKILL.md5.1 KB
  • references/api-reference.md6.8 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json408 B
  • references/troubleshooting.md4.3 KB
  • scripts/check_dalle_pytorch_install.py4.6 KB
  • sub-skills/dalle-training/references/checkpoints-and-tokenizers.md2.4 KB
  • sub-skills/dalle-training/references/data-formats.md2.3 KB
  • sub-skills/dalle-training/references/troubleshooting.md1.9 KB
  • sub-skills/dalle-training/references/workflows.md2.6 KB
  • sub-skills/dalle-training/scripts/build_train_dalle_command.py4.7 KB
  • sub-skills/dalle-training/scripts/validate_image_text_folder.py3.0 KB
  • sub-skills/dalle-training/SKILL.md2.9 KB
  • sub-skills/distributed-and-backends/references/distributed-backends.md3.2 KB
  • sub-skills/distributed-and-backends/references/docker-and-system-setup.md1.6 KB
  • sub-skills/distributed-and-backends/references/troubleshooting.md1.8 KB
  • sub-skills/distributed-and-backends/scripts/check_backend_availability.py2.1 KB
  • sub-skills/distributed-and-backends/SKILL.md2.2 KB
  • sub-skills/generation-and-ranking/references/troubleshooting.md1.5 KB
  • sub-skills/generation-and-ranking/references/workflows.md2.6 KB
  • sub-skills/generation-and-ranking/scripts/build_generate_command.py2.2 KB
  • sub-skills/generation-and-ranking/scripts/tiny_generation_api_smoke.py891 B
  • sub-skills/generation-and-ranking/SKILL.md2.3 KB
  • sub-skills/vae-training/references/troubleshooting.md1.6 KB
  • sub-skills/vae-training/references/workflows.md3.3 KB
  • sub-skills/vae-training/scripts/build_train_vae_command.py3.5 KB
  • sub-skills/vae-training/scripts/tiny_vae_api_smoke.py1.1 KB
  • sub-skills/vae-training/SKILL.md3.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:
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 taskRead nextWhy
Train or debug a discrete VAE, choose OpenAI/VQGAN/custom VAE, inspect VAE checkpoint contents, or create a VAE commandsub-skills/vae-training/SKILL.mdOwns 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 payloadssub-skills/dalle-training/SKILL.mdOwns 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 checkpointssub-skills/generation-and-ranking/SKILL.mdOwns 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 installationsub-skills/distributed-and-backends/SKILL.mdOwns 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:

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3412026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고