quark0-darts
Use the original DARTS research code for differentiable architecture search, CNN/RNN genotypes, CIFAR/ImageNet/PTB/WT2 workflows, and legacy PyTorch troubleshooting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- quark0-darts
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use the original DARTS research code for differentiable architecture search, CNN/RNN genotypes, CIFAR/ImageNet/PTB/WT2 workflows, and legacy PyTorch troubleshooting.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/data-and-checkpoints.md4.0 KB
- 参考文档references/legacy-runtime.md3.1 KB
- 参考文档references/repo-provenance.md1.8 KB
- 参考文档references/repo-routing-metadata.json473 B
- 参考文档references/troubleshooting.md3.4 KB
03 SKILL.md 正文
DARTS
Use this repo skill when a task is about the original DARTS: Differentiable Architecture Search codebase: convolutional architecture search/evaluation, recurrent language-modeling search/evaluation, genotype schemas, visualization, dataset/checkpoint layout, or legacy PyTorch/CUDA failures.
This is a source-backed operating skill for a script-style research repository. It does not assume the original checkout is available, does not install a package, and does not claim that paper-scale native runs were executed during skill production.
Start here
- Read legacy runtime before promising native execution. The original code targets Python 3.5-era PyTorch 0.3.1/torchvision 0.2.0 and CUDA.
- Read data and checkpoints when a workflow needs CIFAR-10, ImageNet, PTB, WikiText-2, or pretrained model files.
- Read troubleshooting for cross-cutting failures such as
async=Truesyntax errors, missing CUDA, dataset assertions, checkpoint-format mismatches, and Graphviz issues. - Check repo provenance before treating this skill as current for a different DARTS checkout.
Route by task
| User task | Read |
|---|---|
| CIFAR-10 DARTS architecture search, CIFAR-10 training/test, ImageNet training/test, CNN model/cell/operation facts, or CNN CUDA/OOM/nondeterminism failures | cnn-architectures |
| Penn Treebank or WikiText-2 recurrent DARTS search/training/test, corpus layout, checkpoint behavior, ASGD schedule, perplexity interpretation, or RNN CUDA/hidden-size/data failures | rnn-language-modeling |
| CNN/RNN genotype schemas, built-in DARTS/NASNet/AmoebaNet/ENAS genotypes, converting search outputs, validating custom genotypes, or DOT visualization | genotypes-and-visualization |
| Construct a native command without launching a job | darts_command_builder.py |
| Inspect a local DARTS-style source tree before running or porting it | darts_static_inspector.py |
Safe helper scripts
- Run
python scripts/darts_command_builder.py listto see workflow ids. - Run
python scripts/darts_command_builder.py build cnn-search --smoke --gpu 0to print a wiring-check command and prerequisites. The helper does not run training or download data. - Run
python scripts/darts_static_inspector.py --repo-root <path>to statically check an external DARTS source tree. The helper does not import the repo. - Run
python sub-skills/genotypes-and-visualization/scripts/darts_genotype_tools.py listto inspect bundled genotype catalogs and emit DOT without Graphviz.
Operating rules
- Distinguish architecture search from final evaluation. Search validation accuracy/perplexity is not the paper result.
- Treat full native workflows as legacy CUDA jobs. If the user is on modern Python/PyTorch, route to porting guidance instead of implying direct compatibility.
- Never report smoke-mode output as paper accuracy or perplexity.
- Keep CNN and RNN genotype schemas separate; both define
DARTS, but the tuple fields and valid edges differ. - Do not tell future agents to open original repo scripts or README pages for routine operation. Use the bundled references and scripts in this skill.
- If a requested dataset, pretrained checkpoint, CUDA runtime, or legacy PyTorch build is missing, report the missing prerequisite clearly and stop before inventing a result.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.