ZERO-UPLOAD SANDBOX
.pt QA Fixtures AI & Model Weights CC0 Public Domain · CI/CD Safe

Sample .pt (PyTorch PT) Test Files & Edge Cases

Deterministic PyTorch Model & Tensor Checkpoint fixtures engineered for automated unit tests, parser fuzzing, and upload validation pipelines. Pull directly in GitHub Actions with immutable SHA-256 verification.

minimalexpect: valid

minimal-checkpoint.pt

Real torch.save state dict (2 tensors) — loads cleanly via torch.load(weights_only=True).

↓ Download (1.8 KB)
SHA-256: 64f990b860de211afe49a1c8c9627cf4da92d75f69a29a2cb85c06927c62720c
Exact: 1,829 bytes
curl -fsSL https://fileformat.co/fixtures/v1/pt/minimal-checkpoint.pt -o minimal-checkpoint.pt \
  && echo "64f990b860de211afe49a1c8c9627cf4da92d75f69a29a2cb85c06927c62720c  minimal-checkpoint.pt" | shasum -a 256 -c
realisticexpect: valid

transformer-state-dict.pt

Real torch.save transformer weight dict with q_proj/v_proj/down_proj tensors.

↓ Download (2.6 KB)
SHA-256: b927171a147cb843af3458e867b7972bca05a77969fd0d47f01f62fd32ef3c27
Exact: 2,657 bytes
curl -fsSL https://fileformat.co/fixtures/v1/pt/transformer-state-dict.pt -o transformer-state-dict.pt \
  && echo "b927171a147cb843af3458e867b7972bca05a77969fd0d47f01f62fd32ef3c27  transformer-state-dict.pt" | shasum -a 256 -c
edge-caseBenign Pickle Canaryexpect: valid

benign-pickle-canary.pt

Real torch.save archive containing an inert FILEFORMAT_CO_BENIGN_TEST_MARKER string — still loads with weights_only=True.

↓ Download (1.6 KB)
SHA-256: 06de6e85a3acdeaf03bfb30aac49b6d7e697bf8d63d6c6f7882228a5bde0dff7
Exact: 1,641 bytes
curl -fsSL https://fileformat.co/fixtures/v1/pt/benign-pickle-canary.pt -o benign-pickle-canary.pt \
  && echo "06de6e85a3acdeaf03bfb30aac49b6d7e697bf8d63d6c6f7882228a5bde0dff7  benign-pickle-canary.pt" | shasum -a 256 -c
Safe-by-Design Client-Side Synthesizer

In-Browser Edge-Case & Malformed Fixture Mutator

Zero Upload · Generated in RAM

Need negative test fixtures for parser fuzzing or upload gateway validation? Mutate minimal-checkpoint.pt directly in your browser without hosting unsafe payloads on public URLs.

Default Fixture: minimal-checkpoint.pt

Tests graceful EOF / footer corruption handling without process panic or OOM.