Repository navigation
Image: CUDA -base instead of -runtime, plus libcurand (-1.45 GB download per image) - #22
Merged
Merged
Conversation
…oad per image) LichtFeld links only libcudart and libcurand from the system, pycolmap libcurand, and torch loads the CUDA 13 libraries from its own wheels in venv_gs. The -runtime image's cuBLAS, cuFFT, cuSOLVER, cuSPARSE, NVRTC, nvJitLink and NPP (1.51 GB compressed in each of the three images) were unused. Measured on 0.2.0-rc2's contents repacked onto -base: all 6.92 -> 5.48 GB, prep 5.46 -> 4.01, train 3.51 -> 2.06 (download); 2,000-step training from the 0005 bundle on a 3090 gives the same PSNR/SSIM/LPIPS. Part of #16.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #16 (option 1). The runtime stage now starts from
nvidia/cuda:13.0.2-base-ubuntu24.04pluslibcurand-13-0(the same 10.4.0.35 that-runtimeshipped), instead of-runtime. The build stage is unchanged, so this rebuilds nothing heavy.Why
Of the system CUDA libraries, LichtFeld requires only
libcudartandlibcurand(pluslibcudafrom the driver), and pycolmap requireslibcurand. torch, torchvision and gsplat load CUDA 13 from their own wheels invenv_gs, and did so on-runtimetoo:/proc/self/mapsshows the wheel'slibcublas.so.13in both.-runtime's cuBLAS, cuFFT, cuSOLVER, cuSPARSE, NVRTC, nvJitLink and NPP were 1.51 GB of every image's download, all unused.Measured
0.2.0-rc2's contents, repacked onto the new base with no compiling. Sizes are compressed download / on disk:
-baseChecked on nosacz, RTX 3090 (GPU0, 250 W limit), each original image against its repack:
-hwaccel cuda) byte-identical (455 files). All 304 mask files byte-identical (70 of 76 frames had detections).basestage builds (342 MB compressed);/usr/local/cuda/lib64holds only cudart and curand.Not checked here
lddcheck at build time. One opened later withdlopenwould only show in the rc's test run. e654717e opens none, and the 5 commits in the range change no CMake files.-baseincludes it: datacenter GPUs on older drivers need it.Other #16 options (LichtFeld leftovers, 3-architecture builds, venv_gs trims) are left for a later rc.
liblfs_mcp.socan't be removed: LichtFeld-Studio requires it at startup, and it holds the training kernels.