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

transformer-engine

transformer-engine

【效率与协作】Route Transformer Engine installation/build, PyTorch, JAX, and shared precision/compatibility workflows.

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

技能说明

GitHub

name: transformer-engine description: "Route Transformer Engine installation/build, PyTorch, JAX, and shared precision/compatibility workflows." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

Transformer Engine

Use this skill for NVIDIA Transformer Engine questions. Start here when the user mentions Transformer Engine, TE, the transformer_engine package, or a current-source checkout that must be installed, inspected, or explained.

Route map

User needGo to
Install, build, or verify the package or a source checkoutinstall-build
Use Transformer Engine with PyTorchpytorch
Use Transformer Engine with JAX/Flaxjax
Choose a recipe, format, or hardware gateprecision recipes
Diagnose loader, version, CUDA, or recipe failurestroubleshooting

Fast start

  1. If the runtime stack is unclear, run the bundled runtime inspector in scripts/inspect_transformer_engine_runtime.py.
  2. If the task is about installation or source builds, read the install/build sub-skill first.
  3. If the task is framework-specific, route directly to the PyTorch or JAX sub-skill rather than trying to infer from common package names alone.
  4. If the task is about FP8, MXFP8, NVFP4, BF16, or hardware compatibility, read the shared precision reference before choosing a recipe.

What this skill does not do

  • It does not tell users to open original repo docs, examples, or tests as the runtime answer.
  • It does not make FP8/MXFP8/NVFP4 claims without a support probe or hardware gate.
  • It does not hide install or import problems behind generic advice when a bundled script or reference can be used instead.

Architecture notes

  • A100/SM80 is BF16/FP16-capable but not an FP8/MXFP8/NVFP4 runtime target.
  • FP8 requires compute capability 8.9 or newer.
  • NCCL EP is a Hopper-or-newer feature.
  • Mixed PyTorch/JAX environments are normal for this repo; use the sub-skill that matches the framework the user actually wants.

Shared references

我的收藏