Skip to content

feat: adding code for release v0.9.0 #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

bhaefnerNV
Copy link
Contributor

@bhaefnerNV bhaefnerNV commented Jun 28, 2024

v0.9.0-beta

Release Highlights

CV-CUDA v0.9.0 includes the following changes:

  • New Features:

    • Improved Resize performance (up to 4x for u8 inputs, up to 3x for RGB8)

    • Improved performance of cubic interpolation, eg in Rotate, WarpAffine and WarpPerspective (up to 2x faster)

    • Added optional scaling to ResizeCropConvertReformat fused operator

    • Improved structure of Python documentation and optimized its generation (>5min to <30s) by removing the Exhale index

    • Added 64bit stride support to various operators

      • limited to 32bit strides to avoid performance regressions: AdaptiveThreshold, AdvCvtColor, AverageBlur, BilateralFilter, BrightnessContrast, ColorTwist, BoxBlur, CenterCrop, ConvertTo, CopyMakeBorder, CustomCrop, GaussianNoise, Gaussian, Flip, HistogramEq, JointBilateralFilter, Laplacian, Morphology, Normalize, RandomResizedCrop, Reformat, Remap, Resize, Rotate, SIFT, WarpAffine, WarpPerspective
  • Bug Fixes:

    • Added exception handling on CApi in Python: now forward C/C++exceptions to Python
    • Fixed coordinate rounding bug in Resize operator with nearest neighbor interpolation

Compatibility and Known Limitations

  • Documentation built on Ubuntu 20.04 needs an up-to-date version of sphinx (pip install --upgrade sphinx) as well as explicitly parsing the system's default python version ./ci/build_docs path/to/build -DPYTHON_VERSIONS="<py_ver>".
  • Python bindings installed via Debian packages and Python tests fail with Numpy 2.0. We recommend using an older version of Numpy (e.g. 1.26) until we have implemented a fix.
  • The Resize and RandomResizedCrop operators incorrectly interpolate pixel values near the boundary of an image or tensor when using linear and cubic interpolation. This will be fixed in an upcoming release.

See main README on CV-CUDA GitHub.

License

CV-CUDA is licensed under the Apache 2.0 license.

Resources

  1. CV-CUDA GitHub
  2. CV-CUDA Increasing Throughput and Reducing Costs for AI-Based Computer Vision with CV-CUDA
  3. NVIDIA Announces Microsoft, Tencent, Baidu Adopting CV-CUDA for Computer Vision AI
  4. CV-CUDA helps Tencent Cloud audio and video PaaS platform achieve full-process GPU acceleration for video enhancement AI

Acknowledgements

CV-CUDA is developed jointly by NVIDIA and the ByteDance Machine Learning team.


def has_exports(file_path, export_calls):
for call in export_calls:
if call in open(file_path).read():

Check warning

Code scanning / CodeQL

File is not always closed Warning documentation

File is opened but is not closed.
Copy link
Contributor

@dlesage-nvidia dlesage-nvidia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@dsuthar-nvidia dsuthar-nvidia force-pushed the release-patch-v0.9.0 branch 2 times, most recently from a5f3f84 to 83c95ec Compare June 28, 2024 20:02
@dsuthar-nvidia dsuthar-nvidia merged commit 4d89620 into main Jun 28, 2024
4 checks passed
@dsuthar-nvidia dsuthar-nvidia deleted the release-patch-v0.9.0 branch June 28, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants