Skip to content
Back to skills

Serialization And Distribution

ASecurity

"Serialize/export Sonnet modules and reason about TensorFlow

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
developmentbackendperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill serialization-and-distribution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Serialization And Distribution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Serialization And Distribution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-serialization-and-distribution/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-serialization-and-distribution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: serialization-and-distribution
description: "Serialize/export Sonnet modules and reason about TensorFlow
  distribution, mixed precision, and backend limits."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Serialization and Distribution

Use this sub-skill for TensorFlow checkpoints, SavedModel export/load, pickle or Keras interoperability caveats, XLA, mixed precision, and `snt.distribute` helpers.

## Start here

- [references/serialization.md](references/serialization.md): checkpoint, SavedModel, Keras/pickle, XLA, and mixed precision recipes.
- [references/distribution-and-backends.md](references/distribution-and-backends.md): `Replicator`, `TpuReplicator`, `CrossReplicaBatchNorm`, and backend limits.
- [references/troubleshooting.md](references/troubleshooting.md): restored object identity, SavedModel signatures, cross-replica context, and accelerator-runtime failures.
- [scripts/serialization_smoke.py](scripts/serialization_smoke.py): CPU checkpoint and SavedModel smoke.

## Boundaries

- Module construction and lazy variables: [../module-authoring/SKILL.md](../module-authoring/SKILL.md).
- Training-loop checkpoint timing: [../training-and-optimization/SKILL.md](../training-and-optimization/SKILL.md).
- Functional transforms and device helpers: [../functional-transforms/SKILL.md](../functional-transforms/SKILL.md).

## Backend policy

CPU verifies checkpoints, SavedModel export/load, pickle caveats, and mixed precision policy mechanics. CUDA, TPU, XLA performance, and distributed replicas require a matching TensorFlow runtime. Do not claim accelerator verification from a CPU-only run.

Files in this skill

  • SKILL.md1.6 KB
  • references/distribution-and-backends.md1.1 KB
  • references/serialization.md1.3 KB
  • references/troubleshooting.md1.3 KB
  • scripts/serialization_smoke.py1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.