flox-cuda
CUDA and GPU development with Flox. Use for NVIDIA CUDA setup, GPU computing, deep learning frameworks, cuDNN, and cross-platform GPU/CPU development.
Security Assessment
About flox-cuda
The flox-cuda skill provides a comprehensive framework for CUDA and GPU development using Flox, streamlining the setup and management of NVIDIA CUDA environments. It addresses the complexity of installing and configuring CUDA toolkits, compilers, libraries, and runtime components across supported Linux platforms, ensuring developers can efficiently harness GPU computing capabilities. By centralizing package discovery, version management, and installation procedures, this skill reduces errors and simplifies the deployment of GPU-accelerated applications.
The skill includes core functionalities such as searching for CUDA packages, displaying available versions, installing essential CUDA components like nvcc, cudatoolkit, cuDNN, and various GPU libraries (cuBLAS, cuFFT, cuRAND, NCCL), and verifying installations via standard NVIDIA commands. It also handles conflict resolution for LICENSE file issues by assigning package priorities and supports multiple CUDA versions, including current 12.x releases and legacy 11.x versions. Additionally, flox-cuda provides cross-platform considerations by offering CPU fallbacks for macOS environments, allowing developers to maintain portability between Linux and Darwin systems.
This skill is particularly valuable for developers working on deep learning, high-performance computing, and GPU-accelerated simulations. It targets software engineers, data scientists, and researchers who require precise control over CUDA installations and dependencies. Typical use cases include setting up GPU environments for training neural networks, performing large-scale linear algebra computations, and ensuring reproducibility of CUDA-based applications across multiple Linux platforms. By offering structured package management and clear installation guidance, flox-cuda minimizes setup complexity and enhances productivity for GPU-focused development projects.
FAQ
Which operating systems are supported by flox-cuda?
Flox-cuda supports Linux platforms only, specifically aarch64-linux and x86_64-linux. macOS is not supported for CUDA packages, and developers should use CPU or Metal alternatives on Darwin systems.
How do I install a specific CUDA version using flox-cuda?
You can install specific CUDA versions by using the flox install command with the desired package path, such as flox-cuda/cudaPackages_12_8.cuda_nvcc for CUDA 12.8. Available versions can be listed using flox show and flox search commands.
Are there any license conflicts to be aware of when installing CUDA packages?
Yes, some CUDA packages have LICENSE file conflicts. The skill provides a priority system in the installation configuration to resolve these conflicts, with nvcc assigned the highest priority, followed by cudart and cudatoolkit.
Can I use flox-cuda for cross-platform development?
Yes, flox-cuda supports cross-platform setups by providing CPU-based fallback packages for macOS while installing CUDA packages on Linux, ensuring portability of GPU-dependent applications.
How can I verify that CUDA has been correctly installed?
After installation, you can verify the setup using standard commands like nvcc --version to check the compiler version and nvidia-smi to inspect GPU status and driver information.
Install flox-cuda
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
flox/flox-agentic