界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

jittor

jittor

【数据与研究】Guide Jittor package workflows for tensor programming, training, data/model I/O, custom ops, runtime validation, and troubleshooting.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: jittor description: "Guide Jittor package workflows for tensor programming, training, data/model I/O, custom ops, runtime validation, and troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Jittor repo skill

Use this repo skill when a task involves the Jittor Python package or repository. It is a router, not a full manual.

Before relying on this skill for a checkout or installed package, read references/repo-provenance.md to compare the source commit, package version, and evidence paths. For setup and the first import check, read references/installation-and-runtime.md, then run scripts/check_jittor_env.py against the active Python environment.

Install baseline

For normal package use, either install the published package or install from a checkout:

python -m pip install jittor
# or, from a checkout
python -m pip install -e .

The public metadata and docs for this repo assume a working C++ compiler and the runtime dependencies listed in the package metadata.

Minimal import check

python scripts/check_jittor_env.py

That smoke should import jittor, run one tiny CPU operation, and report whether CUDA is actually available to Jittor.

Route map

Shared references

Operating rules

  1. Prefer the smallest route that matches the task family.
  2. Treat CPU importability as the baseline; do not claim CUDA, ROCm, MPI, or other accelerator support unless the matching smoke or native verification has passed.
  3. If a task spans multiple route families, start with the most infrastructure-sensitive sub-skill, usually runtime-and-installation.
  4. Use bundled skill files only; do not tell future agents to reopen docs, examples, tests, or scripts from the original repository checkout.
  5. If the current checkout no longer matches the provenance snapshot, refresh the skill before reusing it.

Quick routing hints

  • Tensor, gradient, or execution semantics: core-api-and-autograd.
  • Layers, optimizers, schedulers, or training loops: nn-training-workflows.
  • Datasets, transforms, model zoo, or checkpoint I/O: datasets-models-and-io.
  • Custom operators, console embedding, or utility CLI flags: custom-op-console-and-tools.
  • Install, compiler, cache, profiling, backend flags, or timing: runtime-and-installation.

Why this skill is organized this way

Jittor has a broad surface area, but most user questions cluster into a few repeated families: runtime setup, core tensor semantics, training, data/model I/O, and advanced extension tooling. The sub-skills keep those families separate so a later agent can answer a natural request without rereading the full repository.

我的收藏