Wheel sizes and inspection after merge of https://github.com/rapidsai/raft/pull/2629

Open
#2,637 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with commit 803a46acd07ee5612be162e81e28c10c15fcc191 and the merge referenced in PR 2629, then review the pydistcheck output for libraft-cu12. Determine why the wheel exceeds the file limit and includes the unexpected mdspan files; done means its inspection passes while the other two wheels remain valid.

Written by the indexing model from the issue text.

Description

This data is from commit https://github.com/rapidsai/raft/commit/803a46acd07ee5612be162e81e28c10c15fcc191

Wheel sizes:

  1. libraft-cu12: 21M
  2. pylibraft-cu12_py312: 834K
  3. raft-dask-cu12_py312: 1.1M

pydistcheck Inspection:

  1. libraft-cu12:
checking 'libraft_cu12-25.6.0a23-py3-none-manylinux_2_28_x86_64.whl'
----- package inspection summary -----
file size
  * compressed size: 20.77M
  * uncompressed size: 51.807M
  * compression space saving: 59.9%
contents
  * directories: 288
  * files: 3147 (2 compiled)
size by extension
  * .so - 16.867M (32.6%)
  * .h - 14.56M (28.1%)
  * .hpp - 8.507M (16.4%)
  * .cuh - 7.841M (15.1%)
  * no-extension - 1.495M (2.9%)
  * .inl - 1.369M (2.6%)
  * .cmake - 0.575M (1.1%)
  * .cpp - 0.283M (0.5%)
  * .0 - 0.242M (0.5%)
  * .cu - 31.971K (0.1%)
  * .txt - 15.014K (0.0%)
  * .md - 12.435K (0.0%)
  * .py - 7.035K (0.0%)
  * .yml - 2.768K (0.0%)
  * .erb - 0.706K (0.0%)
  * .in - 0.576K (0.0%)
largest files
  * (16.867M) libraft/lib64/libraft.so
  * (2.306M) libraft/include/cute/arch/mma_sm90_gmma.hpp
  * (1.766M) libraft/include/cuco/detail/prime.hpp
  * (0.465M) libraft/include/cute/atom/mma_traits_sm90_gmma.hpp
  * (0.458M) libraft/include/raft/thirdparty/mdspan/cmake/metabench.cmake
------------ check results -----------
1. [too-many-files] Found 3147 files. Only 2000 allowed.
2. [unexpected-files] Found unexpected directory 'libraft/include/raft/thirdparty/mdspan/.github/'.
3. [unexpected-files] Found unexpected file 'libraft/include/raft/thirdparty/mdspan/.gitignore'.
errors found while checking: 3
  1. pylibraft-cu12_py312:
checking 'pylibraft_cu12-25.6.0a23-cp312-cp312-manylinux_2_28_x86_64.whl'
----- package inspection summary -----
file size
  * compressed size: 0.814M
  * uncompressed size: 2.56M
  * compression space saving: 68.2%
contents
  * directories: 11
  * files: 52 (7 compiled)
size by extension
  * .so - 2.205M (86.2%)
  * .0 - 0.242M (9.4%)
  * .pyx - 44.642K (1.7%)
  * no-extension - 30.489K (1.2%)
  * .py - 20.78K (0.8%)
  * .pxd - 15.486K (0.6%)
  * .txt - 4.026K (0.2%)
largest files
  * (0.877M) pylibraft/common/handle.cpython-312-x86_64-linux-gnu.so
  * (0.778M) pylibraft/common/interruptible.cpython-312-x86_64-linux-gnu.so
  * (0.242M) pylibraft_cu12.libs/libgomp-5fc1ad8c.so.1.0.0
  * (0.197M) pylibraft/common/mdspan.cpython-312-x86_64-linux-gnu.so
  * (0.157M) pylibraft/sparse/linalg/lanczos.cpython-312-x86_64-linux-gnu.so
------------ check results -----------
errors found while checking: 0
  1. raft-dask-cu12_py312:
checking 'raft_dask_cu12-25.6.0a23-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl'
----- package inspection summary -----
file size
  * compressed size: 1.01M
  * uncompressed size: 3.191M
  * compression space saving: 68.3%
contents
  * directories: 5
  * files: 22 (3 compiled)
size by extension
  * .so - 3.116M (97.6%)
  * .py - 29.561K (0.9%)
  * no-extension - 27.853K (0.9%)
  * .pyx - 17.317K (0.5%)
  * .txt - 2.176K (0.1%)
  * .pxd - 0.0B (0.0%)
largest files
  * (1.595M) raft_dask/common/comms_utils.cpython-312-x86_64-linux-gnu.so
  * (1.482M) raft_dask/common/nccl.cpython-312-x86_64-linux-gnu.so
  * (40.148K) raft_dask/include_test/raft_include_test.cpython-312-x86_64-linux-gnu.so
  * (21.635K) raft_dask/common/comms.py
  * (14.62K) raft_dask_cu12-25.6.0a23.dist-info/METADATA
------------ check results -----------
errors found while checking: 0
Dominant language
Cuda
Stars
1.1k
Forks
260
Avg merge
1d 18h
Merged PRs (30d)
21

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/raft

All issues in NVIDIA/raft

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.