canvit-core
canvit-core contains the backend-independent definitions shared by the
CanViT (Canvas Vision Transformer) packages. It provides CanViTConfig, the backbone specifications,
canvas-attention schedules, readout fusion, ImageNet preprocessing for native
arrays, and the native MLX/NNX checkpoint schema.
Install canvit-mlx, canvit-nnx, or canvit-pytorch for model execution.
The root
backend documentation
defines the shared model and tensor-shape contract.
Install
uv add canvit-core
Public API
The package exports CanViTConfig at the top level. Backend-specific modules
use the focused modules for preprocessing, checkpoint handling, and the other
shared definitions.
from canvit_core import CanViTConfig
config = CanViTConfig()
Develop from a checkout
cd canvit-core
uv sync
The repository's backend projects resolve this directory through their local
uv sources. An index or Git installation resolves the published
canvit-core distribution instead.
Metadata
Release files for canvit-core 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| canvit_core-0.2.1.tar.gz | 29.2 kB | Without provenance | Details for canvit_core-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| canvit_core-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for canvit_core-0.2.1-py3-none-any.whl |
Total release size: 36.5 kB
Release files / canvit_core-0.2.1.tar.gz
| Download URL | canvit_core-0.2.1.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6fd23068b3a525effac3bf201079c51e8ed138140ed3396335536d4444321f5
|
|
BLAKE2b-256 checksum How to use checksums |
649591da13b131bfffc3cfaa15db473ebda227828273602daa1b229c84f3746e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / canvit_core-0.2.1-py3-none-any.whl
| Download URL | canvit_core-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3aee76fc324eae1aa270580517caa6fd6bb9944c513bca6e5bd507aba62b94f
|
|
BLAKE2b-256 checksum How to use checksums |
f4885a434737bf0d79aa756265ab0bbc2a55a279fcfca2296eb387cfc22d1353
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for canvit-core 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.