Cubin bundle inspection API
The following names are available from tensoracle.bundle.
inspect_bundle(root, *, plugin=None)
Verify cubin bytes, ELF SM, supported launch metadata, and plugin identity.
inspect_wheel(path, *, plugin=None)
Inspect the one cubin bundle inside a wheel without installing it.
bundle_sha256(manifest)
Return the identity of a manifest, excluding its own digest field.
cubin_sm(data)
Read the NVIDIA architecture from a cubin ELF header.
BundleError
Bases: ValueError
A cubin bundle does not match its manifest or native plugin.
MissingCubinError
Bases: BundleError
A declared cubin is missing.
CorruptCubinError
Bases: BundleError
A cubin's bytes differ from its declared digest or length.
CubinArchitectureError
Bases: BundleError
A cubin's ELF architecture differs from its declared SM.
PluginBundleMismatchError
Bases: BundleError
A native plugin was built for a different cubin bundle.