Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: minimize GPU image #1092

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

msanft
Copy link
Contributor

@msanft msanft commented Dec 19, 2024

This reduces the size of the GPU-enabled image to 2.2G, from over 3G previously. It does so by de-duplicating NVIDIA drivers and disabling unnecessary NVIDIA tools like nvidia-settings.

@msanft msanft added the no changelog PRs not listed in the release notes label Dec 19, 2024
@msanft msanft requested a review from burgerdev December 19, 2024 14:33
@msanft msanft requested a review from katexochen as a code owner December 19, 2024 14:33
packages/nixos/gpu.nix Outdated Show resolved Hide resolved
@msanft msanft force-pushed the msanft/nixos/minimize-gpu-image branch from 0329069 to 1119f22 Compare December 20, 2024 07:53
@msanft msanft requested a review from katexochen December 20, 2024 07:53
@msanft msanft changed the base branch from main to msanft/kata-gpu-kernel December 20, 2024 08:56
This adds a kernel build with GPU support to the `kata.kata-kernel` package.
@msanft msanft force-pushed the msanft/kata-gpu-kernel branch from b875a88 to ed748d8 Compare December 20, 2024 09:03
This reduces the size of the GPU-enabled image to 1.5G, from over 3G previously. It does so by de-duplicating NVIDIA drivers and disabling unnecessary NVIDIA tools like `nvidia-settings`.
@msanft msanft force-pushed the msanft/nixos/minimize-gpu-image branch from 1119f22 to 171e0da Compare December 20, 2024 09:04
packages/nixos/gpu.nix Show resolved Hide resolved
packages/nixos/gpu.nix Show resolved Hide resolved
packages/nixos/gpu.nix Show resolved Hide resolved
packages/nixos/gpu.nix Show resolved Hide resolved
@msanft msanft requested a review from burgerdev December 20, 2024 13:01
@msanft msanft force-pushed the msanft/kata-gpu-kernel branch from ed748d8 to 1b9bf3c Compare December 20, 2024 14:48
Base automatically changed from msanft/kata-gpu-kernel to main December 20, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants