AI & ML Engineering · Offline Guide

Inspect Safetensors, NumPy, GGUF, and PyTorch checkpoints without running Python

Open .safetensors, .npz, .npy, .pt, .ckpt, and .gguf files inside Cursor, Windsurf, and VS Code. View tensor names, shapes, dtypes, heatmaps, and stats safely without executing pickle code.

Free core · Zero telemetry · Works offline · .safetensors .npz .npy .pt .pth .ckpt .gguf .pkl

One offline key covers all 176 Zovo extensions. Team of 5 ($59 once) →

Extension ID
zovo.tensor-viewer
Open VSX Downloads
3,556
VS Code Installs
352
Version
0.6.18
Editors
VS Code, Cursor, Windsurf, VSCodium
CLI install snippet (VS Code · Cursor · Windsurf)
code --install-extension zovo.tensor-viewer
cursor --install-extension zovo.tensor-viewer
windsurf --install-extension zovo.tensor-viewer

Why ML engineers inspect model weights directly inside Cursor and VS Code

  • Avoid arbitrary code execution risks: inspect PyTorch .pt and .pkl checkpoint structures without unpickling in Python.
  • Verify tensor names, shapes, dtypes, and quantized GGUF metadata in seconds without spinning up a notebook.
  • Watch weights and heatmaps auto-reload as training loops save new checkpoints to disk.
  • Catch silent NaN, Inf, or dead all-zero layers before deploying fine-tuned weights.

Step-by-step setup

Takes under 60 seconds in VS Code, Cursor, Windsurf, or VSCodium.

  1. 1

    Install NumPy Viewer: NPZ, Safetensors

    Click the 1-click button for VS Code, Cursor, or Windsurf, or run the CLI install command below.

  2. 2

    Open any model or array file

    Click a .safetensors, .npz, .npy, .pt, .pth, .ckpt, or .gguf file in Explorer. No Python interpreter is launched.

  3. 3

    Browse tensor shapes, dtypes, and heatmaps

    Filter layer names, inspect tensor dimensions and summary stats, and preview 2D slices as heatmaps or images.

  4. 4

    Scan for NaN/Inf or compare two checkpoints

    Use Zovo Pro to scan every single value across all tensors for NaN/Inf/zeros, or compare two checkpoints with RMSE and cosine similarity.

Free vs Zovo Pro

Every core viewer stays free forever. Try each Pro tool once locally before paying.

Capability Free Core Zovo Pro ($19 / $59 Team)
Open .safetensors, .npz, .npy, .pt, .pth, .ckpt, .gguf offline Included (Free) Included
Safe pickle inspection without executing Python code Included (Free) Included
Tensor names, shapes, dtypes, stats, heatmaps, live reload Included (Free) Included
Compare two checkpoints (max/mean diff, RMSE, cosine similarity) 1 free local try Unlimited offline
Cross-format checkpoint compare (e.g. .pt vs .safetensors) 1 free local try Unlimited offline
Full-tensor scan flagging NaN, Inf, all-zero, and constant layers 1 free local try Unlimited offline

Common questions

Is it safe to open untrusted PyTorch .pt or .pkl files with Tensor Viewer?

Yes. It parses the pickle opcode stream statically without invoking Python's pickle.load(), so no embedded payload code is executed.

Do I need PyTorch or NumPy installed locally?

No. The extension runs natively inside VS Code, Cursor, Windsurf, and VSCodium with no Python dependency.

Can I compare a PyTorch .pt checkpoint against a converted .safetensors file?

Yes. Zovo Pro compares matching tensors across formats and reports max difference, mean difference, RMSE, and cosine similarity per tensor.

View all 45 guides →