RSSAmplifier

Blog

Roman Bartusiak

bartusiak.mlRSS feed ↗4 posts

Latest posts

More performance checks of Nvidia PyTorch on DGX Spark

This post continues the discussion from my last post after a insightful discussion with Sebastian Raschka @rasbt. We dive deeper into the performance characteristics of Nvidia PyTorch on the DGX Spark, specifically focusing on various data types and common AI workloads. TL/DR - Key Points Docker is Crucial for GEMM-heavy Workloads: For tasks relying heavily on General Matrix Multiply (GEMM)…

Is it worht to use offcial Nvidia PyTorch image?

TL/DR Significant Performance Boost: Using the official NVidia PyTorch Docker image resulted in a 50% increase in TFLOPS for a specific matrix multiplication task compared to a native PyTorch installation. Essential for DGX Spark: If you’re running workloads on a DGX Spark (or similar NVidia hardware), the official image appears to be a must-have for maximizing performance. Custom Optimizations:…

Oh no 128GB is not enaught for 7B parameters!

TL/DR If you’re working with large language models (LLMs) on systems like the DGX Spark, and encountering “out of memory” errors despite having seemingly ample RAM (e.g., 128GB for a 7B parameter model), the culprit might be your operating system’s caching mechanisms. The solution is often as simple as dropping system caches. DGX Spark uses UMA (Unified Memory Architecture): CPU and GPU share the…

Unsloth your DGX Spark

TL/DR The NVIDIA DGX Spark is a powerful little devbox for local model development, boasting 128GB of unified memory despite its compact size. To truly unleash its potential with tools like Unsloth, you need to navigate a few key challenges: Official NVIDIA PyTorch Image is Key: Leverage NVIDIA’s optimized PyTorch Docker image for maximum performance on the B10 chip. UV for Dependency Management:…