Skip to main content

vision3d

This library is a 3D extension of torchvision, providing datasets, tensor types, transforms, ops, metrics, and visualization utilities for 3D perception tasks.

Documentation is available at vision3d.dev.

Requirements

  • Python 3.12 or newer.
  • PyTorch 2.11 or newer.
  • Recommended: A CUDA-capable NVIDIA GPU for GPU execution.
  • For building from source: the CUDA toolkit matching your PyTorch build.

Installation

vision3d is published on PyPI as a pre-built wheel and sdist. The wheel is built against the LibTorch Stable ABI and statically links the CUDA runtime, so one wheel works for any Python 3.12+, torch 2.11+, and any NVIDIA driver that supports CUDA 12.8 or newer (Linux driver ≥ 570).

From PyPI

We recommend using uv as your package manager:

uv add vision3d

Or with pip:

pip install vision3d

From source

Clone the repository and sync the environment:

git clone https://github.com/yeetypete/vision3d.git
cd vision3d
uv sync --all-extras

uv sync compiles the C++/CUDA extension as part of installing the project. On machines where CUDA is installed but no GPU is visible (for example, inside containers), force a CUDA build with:

FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST="12.0+PTX" uv sync --all-extras

To produce a wheel locally:

uv build

By default uv build resolves torch from PyPI, which currently ships the cu130 variant. If your local CUDA toolkit is a different major version, point uv at the matching PyTorch wheel index instead:

uv build --index https://download.pytorch.org/whl/cu128

Replace cu128 with whatever CUDA major version your installed CUDA toolkit ships, e.g. cu130, cu132.

Extras

  • viz: pulls in rerun-sdk for the visualization utilities in vision3d.viz.

Request it at install time, for example: uv add 'vision3d[viz]'.

Contributing

Contributions are welcome! See CONTRIBUTING.md for how to get started.

License

vision3d is released under the BSD 3-Clause License.

Metadata

Release files for vision3d 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vision3d 0.6.1
File Size Uploaded Provenance Actions
vision3d-0.6.1.tar.gz 167.8 kB Without provenance Details for vision3d-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vision3d 0.6.1
File Interpreter ABI Platform Actions
vision3d-0.6.1-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for vision3d-0.6.1-cp312-abi3-manylinux_2_28_x86_64.whl

Total release size: 2.5 MB

Release files / vision3d-0.6.1.tar.gz

Download URL vision3d-0.6.1.tar.gz
Size 167.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c806f61a635bacd5e577863c1fbf8a2f26434f02da551a49364f9e72eebc798
BLAKE2b-256 checksum
How to use checksums
56a82eab0ae29fc841d2abd313861e34db531f34119232839ff01244a0be955e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vision3d-0.6.1-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL vision3d-0.6.1-cp312-abi3-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
8f4873ff1b09b1f1f8c51930fae2e760421973f47855457eed7de963bbd886dd
BLAKE2b-256 checksum
How to use checksums
a3f32e1f17acf3c8f4bd45231ac343e962472aad1f4ee37b8f8d9533d68004ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for vision3d 0.6.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page