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

distributed-blocks

distributed-blocks

【效率与协作】Operate Petals RemoteSequential block sequences, local block loading, quantization, tensor-parallel conversion, dtype constraints, and speculative Llama block internals.

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

技能说明

GitHub

name: distributed-blocks description: "Operate Petals RemoteSequential block sequences, local block loading, quantization, tensor-parallel conversion, dtype constraints, and speculative Llama block internals." disable-model-invocation: true metadata: disco-role: operating license: MIT

Petals Distributed Blocks

Use this sub-skill for block-level Petals tasks involving RemoteSequential, remote transformer block chains, hidden-state tensors, load_pretrained_block, QuantType, convert_block, tensor-parallel devices, DHT prefix alignment, or speculative Llama internals.

Read references/api-reference.md, references/workflows.md, and references/troubleshooting.md. Use python scripts/inspect_block_api.py --help for a no-network API inspection.

Route ordinary .generate() usage to client-inference, server launch flags to server-swarms, prompt training to prompt-tuning, and benchmarks to benchmarks-maintenance.

Checklist: RemoteSequential.forward() takes hidden states shaped [batch, seq, hidden]; block slices must be inside model layer bounds; clients and servers must agree on DHT prefix and block indices; deep prompts must match sliced block count; quantization requires a compatible optional backend.

我的收藏