Comments (8)
Release v12.1.0 trims Conda dependencies to only require NVRTC and CUDART (excluding math libraries). Closing.
from cuda-python.
cuda-cudart
is not needed at runtime, as currently the cudart layer in CUDA Python is a reimplementation of cudart. So just NVRTC.
from cuda-python.
Would the cuda-cudart
package be sufficient? Or is more needed than that?
from cuda-python.
@jakirkham I think building the package requires CUDA headers (so -dev
packages for cuda-cudart-dev
and cuda-nvrtc-dev
). At runtime, perhaps only cuda-cudart
and cuda-nvrtc
are needed?
The features depending on cudaProfiler.h
are not brought in as a dependency of cuda-cudart
and thus must be explicitly depended on via cuda-profiler-api
at build time.
from cuda-python.
Thanks all! That sounds reasonable. Let's see if @vzhurba01 & @m3vaz have more thoughts π
from cuda-python.
As pointed out, building the package requires CUDA headers. The headers parsed are:
Line 37 in 9ac2d31
For building, the headers can be categorized into 3 groups:
- Required to build
- Optional to enable features
- Always enabled
(1) Referenced by extern from
, list by @bdice looks complete
(2) Not used right now
(3) cuda_profiler_api.h and graphics APIs (EGL, GL, VDPAU)
For runtime, the requirements are:
- NVRTC is needed if you use NVRTC
- CUDART is needed if you build kernels referencing some CUDART types
(2) Many types are built-in though, but not all. One of the ported examples/samples encounter such a scenario.
Perhaps (2) can be limited to only the built-in types, and remaining dependency if needed can be added by users?
from cuda-python.
I would be happy to keep cudart and nvrtc as βhardβ runtime dependencies to ensure the package is fully functional. The main parts I want to strip out are the rest of cuda-toolkit that make it very large, like math libraries.
How should we go about making this change? The conda-forge side can simply use this dependency list. Weβll want to reflect the same set of dependencies for the nvidia
channel version and issue a new version (or a new build of the same version).
from cuda-python.
Thanks Vlad! π
from cuda-python.
Related Issues (20)
- cross compilation failed HOT 23
- The tutorial in Overview page shows unexpected error HOT 4
- cuFFT support HOT 9
- getLocalRuntimeVersion return val wrong when exisit different version of cuda lib HOT 2
- test triage- will be deleted
- [EPIC] Python Object Model for CUDA HOT 2
- Produce stable artifacts HOT 2
- `nvrtcCreateProgram` only accepts lists HOT 1
- `cuLibraryLoadData` raises `TypeError: 'int' object is not iterable` HOT 2
- [EPIC] Python Object Model for Events HOT 1
- RFC: `cuda` namespace cleanup HOT 1
- Design stage
- Code implementation stage HOT 1
- Test coverage stage (test suite developed by engineering)
- Documentation stage
- QA test stage
- Set up a public, GitHub-Action-based CI infrastructure HOT 2
- "pip install ." fails with compile error HOT 1
- Add cudaMemcpyToSymbol HOT 4
- python HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuda-python.