Obscura.PrivacyFilter.Checkpoint (obscura v0.1.0)

Copy Markdown View Source

Validation helpers for local native privacy-filter checkpoints.

This module is intentionally inference-free. By default it validates the checkpoint directory, config normalization, label space, safetensors header metadata, and parameter assembly without materializing large tensors. Pass metadata_only: false to also load tensors.

Summary

Functions

validate(path, opts \\ [])

@spec validate(
  Path.t(),
  keyword()
) :: {:ok, map()} | {:error, term()}