인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

torch-and-foundation-models

torch-and-foundation-models

Use Darts PyTorch forecasting models and foundation wrappers with explicit backend, checkpoint, and cache/download boundaries.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: torch-and-foundation-models description: "Use Darts PyTorch forecasting models and foundation wrappers with explicit backend, checkpoint, and cache/download boundaries." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Torch and foundation models

Use this sub-skill when the user needs Darts neural forecasting models, darts[torch], PyTorch Lightning trainer kwargs, CPU/GPU verification, checkpoints, or foundation model wrapper planning.

Read first

Route by task

  • Install or validate neural Darts: check darts[torch], torch, and pytorch_lightning; run torch_model_smoke.py before real training.
  • Tiny CPU prototype: use small input_chunk_length, output_chunk_length, n_epochs, and CPU pl_trainer_kwargs.
  • GPU/TPU request: verify the exact backend in the target environment. CPU torch import is not GPU proof.
  • Covariates for neural models: validate spans in ../data-processing-and-covariates/, then map them to model-specific chunk/covariate support here.
  • Foundation wrappers: require explicit local cache/model path or approved network downloads before constructing wrappers that may fetch weights.
  • Metrics or explainability: route forecast evaluation to ../evaluation-and-explainability/.

Safe check

python scripts/torch_model_smoke.py          # imports and constructs a tiny CPU TCNModel
python scripts/torch_model_smoke.py --train  # optional one-epoch generated-data CPU training smoke

Use an explicit temporary or user-approved work directory for checkpoints/logs. Do not write training artifacts into the skill directory.

Boundaries

This sub-skill documents optional CUDA/foundation behavior but the baseline verification only proved CPU torch. Do not claim accelerator or foundation model execution until separately verified with the required hardware, wheel, cache, and memory in the user's environment.

저장한 Skills