Skip to content

manta capacity

Measure embedding capacity per tensor. Outputs JSON for programmatic use.

Usage

manta capacity -m <MODEL> [-d <DEPTH>]

Options

Flag Short Default Description
--model -m required Path to safetensors model file
--lsb-depth -d 3 LSB depth for capacity calculation

Example

$ manta capacity -m model.safetensors -d 3

[
  {
    "name": "model.layers.0.mlp.down_proj.weight",
    "num_elements": 16777216,
    "capacity_bits": 50331648,
    "capacity_bytes": 6291456
  },
  ...
]

Output Format

JSON array of objects, one per target tensor:

Field Type Description
name string Tensor name
num_elements integer Number of float32 elements
capacity_bits integer Total embeddable bits at given depth
capacity_bytes integer capacity_bits / 8

See Also

  • info — human-readable summary