You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CV-CUDA is an open-source project that enables building efficient cloud-scale
@@ -53,13 +53,15 @@ To get a local copy up and running follow these steps.
53
53
\** full build, including test module <br>
54
54
\***[samples][CV-CUDA Samples] require driver r535 or later to run and are only officially supported with CUDA 12.
55
55
56
-
### Known limitations
56
+
### Known limitations and issues
57
57
58
58
- For GCC versions lower than 11.0, C++17 support needs to be enabled when compiling CV-CUDA.
59
59
- The C++ test module cannot build with gcc<11 (requires specific C++-20 features). With gcc-9 or gcc-10, please build with option `-DBUILD_TESTS=0`
60
60
-[CV-CUDA Samples] require driver r535 or later to run and are only officially supported with CUDA 12.
61
61
- Only one CUDA version (CUDA 11.x or CUDA 12.x) of CV-CUDA packages (Debian packages, tarballs, Python Wheels) can be installed at a time. Please uninstall all packages from a given CUDA version before installing packages from a different version.
62
-
- Documentation built with older toolchains (doxygen, sphinx, breathe, exhale) may be incomplete. We recommend using Ubuntu 22.04 or later.
62
+
- 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>"`.
63
+
- 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.
64
+
- 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.
63
65
64
66
### Installation
65
67
@@ -87,12 +89,12 @@ Please note that the Python wheels are standalone, they include both the C++/CUD
87
89
88
90
Install C++/CUDA libraries (cvcuda-lib*) and development headers (cvcuda-dev*) using `apt`:
Known limitation: documentation built with older toolchains (doxygen, sphinx, breathe, exhale) may be incomplete. We recommend using Ubuntu 22.04 or later.
181
+
Known limitation: 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>"`.
179
182
180
183
Install the dependencies required to build the documentation:
181
184
- doxygen: parse header files for reference documentation
182
185
- python3, python3-pip: to install some python packages needed
183
-
- sphinx, breathe, exhale, recommonmark, graphiviz: to render the documentation
186
+
- sphinx, breathe, recommonmark, graphiviz: to render the documentation
184
187
- sphinx-rtd-theme: documentation theme used
185
188
186
189
On Ubuntu, install the following packages using `apt` and `pip`:
@@ -204,11 +207,12 @@ For instructions on how to build samples from source and run them, see the [Samp
204
207
Install the dependencies required for running the tests:
205
208
- python3, python3-pip: to run python bindings tests
206
209
- torch: dependencies needed by python bindings tests
210
+
- numpy: known limitation: Python tests fail with numpy 2.0. We recommend using an older version (eg 1.26) until we have implemented a fix.
207
211
208
212
On Ubuntu >= 20.04, install the following packages using `apt` and `pip`:
209
213
```shell
210
-
apt install -y python3 python3-pip
211
-
python3 -m pip install pytest torch
214
+
sudo apt install -y python3 python3-pip
215
+
python3 -m pip install pytest torch numpy==1.26
212
216
```
213
217
214
218
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`:
0 commit comments