Skip to main content

CV-CUDA

License

Version

Platform

Cuda GCC Python CMake

CV-CUDA is an open-source project that enables building efficient cloud-scale Artificial Intelligence (AI) imaging and computer vision (CV) applications. It uses GPU acceleration to help developers build highly efficient pre- and post- processing pipelines. CV-CUDA originated as a collaborative effort between NVIDIA and ByteDance.

Refer to our Developer Guide for more information on the operators avaliable as of release v0.2.0-alpha.

Getting Started

To get a local copy up and running follow these steps.

Pre-requisites

  • Linux distro:
    • Ubuntu x86_64 >= 18.04
    • WSL2 with Ubuntu >= 20.04 (tested with 20.04)
  • CUDA Driver >= 11.7 (Not tested on 12.0)
  • GCC >= 11.0
  • Python >= 3.7
  • cmake >= 3.22

Installation

The following steps describe how to install CV-CUDA from pre-built install packages. Choose the installation method that meets your environment needs.

Tar File Installation

tar -xvf nvcv-lib-0.2.0-cuda11-x86_64-linux.tar.xz

DEB File Installation

sudo dpkg -i nvcv-lib-0.2.0-cuda11-x86_64-linux.deb

Python WHL File Installation

pip install nvcv_python-0.2.0-cp38-cp38-linux_x86_64.whl

Build from Source

Follow these instruction to successfully build CV-CUDA from source:

  1. Build CV-CUDA

    cd ~/cvcuda
    ci/build.sh
    

    This will compile a x86 release build of CV-CUDA inside build-rel directory. The library is in build-rel/lib, docs in build-rel/docs and executables (tests, etc...) in build-rel/bin.

    The script accepts some parameters to control the creation of the build tree:

    ci/build.sh [release|debug] [output build tree path]
    

    By default it builds for release.

    If output build tree path isn't specified, it'll be build-rel for release builds, and build-deb for debug.

  2. Build Documentation

    ci/build_docs.sh [build folder]
    

    Example: `ci/build_docs.sh build

  3. Build Samples

    ./ci/build_samples.sh [build folder]
    

    (For instructions on how to compile samples outside of the CV-CUDA project, see the Samples documentation)

  4. Run Tests

    The tests are in <buildtree>/bin. You can run the script below to run all tests at once. Here's an example when build tree is created in build-rel

    build-rel/bin/run_tests.sh
    
  5. Run Samples

    The samples are installed in <buildtree>/bin. You can run the script below to download and serialize the model and run the sample with the test data provided.

    ./ci/run_samples.sh
    
  6. Package installers

    From a succesfully built project, installers can be generated using cpack:

    cd build-rel
    cpack .
    

    This will generate in the build directory both Debian installers and tarballs (*.tar.xz), needed for integration in other distros.

    For a fine-grained choice of what installers to generate, the full syntax is:

    cmake . -G [DEB|TXZ]
    
    • DEB for Debian packages
    • TXZ for *.tar.xz tarballs.

Contributing

CV-CUDA is an open source project. As part of the Open Source Community, we are committed to the cycle of learning, improving, and updating that makes this community thrive. However, as of release v0.2.0-alpha, CV-CUDA is not yet ready for external contributions.

To understand the process for contributing the CV-CUDA, see our Contributing page. To understand our committment to the Open Source Community, and providing an environment that both supports and respects the efforts of all contributors, please read our Code of Conduct.

License

CV-CUDA operates under the Apache-2.0 license.

Security

CV-CUDA, as a NVIDIA program, is committed to secure development practices. Please read our Security page to learn more.

Acknowledgements

CV-CUDA is developed jointly by NVIDIA and ByteDance.

Metadata

Release files for cvcuda-test 0.0.21

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

Built distribution (wheel)

Table of built distributions (wheels) for cvcuda-test 0.0.21
File Interpreter ABI Platform Actions
cvcuda_test-0.0.21-py3-none-any.whl Python 3 none any Details for cvcuda_test-0.0.21-py3-none-any.whl

Release files / cvcuda_test-0.0.21-py3-none-any.whl

Download URL cvcuda_test-0.0.21-py3-none-any.whl
Size 60.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
87b206e07668c5426dc860593d921c79e537be6a786b58904dfcd078476b2aa3
BLAKE2b-256 checksum
How to use checksums
3e73b7aa3cd3f42dc49a09f4816b88ea730521642d18a79a4e8db49d322420a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Security for cvcuda-test 0.0.21

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