Ralf W. Grosse-Kunstleve

Results 538 comments of Ralf W. Grosse-Kunstleve

> Should we even use mypy for type checking? I don't have strong opinions here. It's definitely a good start. > I definitely think we should eventually invoke mypy via...

TBH, just thinking about what I'd do: * The cuda_bindings/pyproject.toml change you figured out looks very useful. * The CI job, why not, but I'd probably not look at the...

Cross-referencing #527 — A very quick experiment, trying to use Cursor to add typing annotations.

Tracking a related numba.cuda PR, for easy reference: https://github.com/NVIDIA/numba-cuda/pull/155

@leofang @kkraus14 * I expanded my experiment under [#447](https://github.com/NVIDIA/cuda-python/pull/447) to move the entire numba/cuda/cuda_paths.py — not just the part that locates libnvvm — into cuda-bindings. It turns out to be...

As of 2025-04-15 (https://github.com/NVIDIA/cuda-python/pull/558/commits/808074d5e14d9630ba241680b297373d1e69f187): These .so files exist under `/usr/local/cuda-12.8/` (Linux x86_64 CTK 12.8.1) but are not supported by `cuda.bindings.path_finder`: ``` /usr/local/cuda-12.8/version.json "cuda" : { "name" : "CUDA SDK", "version"...

I'm familiarizing myself with the content of https://developer.download.nvidia.com/compute/cuda/redist/ (to learn what .so and .dll files we have). A small side product: **cuda/redist Matrix** | component | 11.0.3 | 11.1.1 |...

**Visual overview of shared library dependencies (GraphViz)** * [/usr/local/cuda 12.8.1 (Ubuntu)](https://github.com/user-attachments/files/19785326/usr_local_cuda_12_8_1_graphviz.pdf) * [pip install nvidia-*-cu12 (Ubuntu)](https://github.com/user-attachments/files/19785344/nvidia_wheels_cu12_graphviz.pdf) nvidia-cuda-nvcc-cu12 nvidia-cuda-nvrtc-cu12 nvidia-nvjitlink-cu12 nvidia-cuda-runtime-cu12 nvidia-cublas-cu12 nvidia-cufft-cu12 nvidia-curand-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 nvidia-npp-cu12 nvidia-nvjpeg-cu12 nvidia-nvfatbin-cu12 nvidia-cufile-cu12 *...

Tracking a key insight for easy future reference: I've verified that all CUDA libraries in version 12.8.1 (x86_64) have their `SONAME` set (see tiny script below).​ Assuming this is the...

Summary of `.so` files that do NOT have `SONAME` set, in these releases: ``` cuda_11.0.3_450.51.06_linux.run cuda_11.1.1_455.32.00_linux.run cuda_11.2.2_460.32.03_linux.run cuda_11.3.1_465.19.01_linux.run cuda_11.4.4_470.82.01_linux.run cuda_11.5.1_495.29.05_linux.run cuda_11.6.2_510.47.03_linux.run cuda_11.7.1_515.65.01_linux.run cuda_11.8.0_520.61.05_linux.run cuda_12.0.1_525.85.12_linux.run cuda_12.1.1_530.30.02_linux.run cuda_12.2.2_535.104.05_linux.run cuda_12.3.2_545.23.08_linux.run cuda_12.4.1_550.54.15_linux.run cuda_12.5.1_555.42.06_linux.run cuda_12.6.2_560.35.03_linux.run...