In short.
Spark Memory & Thermal Ops is an assistant skill for developers training models on DGX Spark, but its model-size and power claims have no accompanying measurement logs. Its instructions connect memory planning, loading peaks, out-of-memory recovery and long-run telemetry. The logger is small and readable, while the worksheet explains the main memory terms. Important limits include an unsupported universal power-cap claim, a training-method fallback that cannot fit every model, and log/PID handling that needs attention. Nothing was executed or tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes all three supplied files in plugins/dgx-spark-ops/skills/spark-memory-thermal-ops and the repository-level LICENSE at revision 9c61ab243def98f72da12abd41cfcf5bcd91af9d. The wider plugin, companion skills, external tutorials, models and datasets are outside this scope. The instructions depend on the companion asset and reference through relative paths. No installation, shell command, training run, OOM recovery, concurrent workload or thermal behavior was executed or tested.
The overview
Identity
spark-memory-thermal-ops is an assistant-loadable skill in the wshobson/agents repository, under plugins/dgx-spark-ops/skills/spark-memory-thermal-ops. It contains SKILL.md, assets/thermal-sample.sh and references/uma-accounting.md. Original source folder: [https://github.com/wshobson/agents/tree/main/plugins/dgx-spark-ops/skills/spark-memory-thermal-ops].
Assessment
The resource offers a concrete starting point for understanding why a training job can exhaust shared CPU/GPU memory or slow down after launch. Its worksheet and telemetry command are inspectable and directly connected to those problems.
Confidence is stronger in what the files instruct and what the script records than in the hardware conclusions. The supplied folder contains no run receipts, measured traces or configuration details substantiating the reported training limits, workload coexistence thresholds or roughly 100 W power ceiling.
Users
The intended users are developers and machine-learning operators planning or troubleshooting model training on DGX Spark, particularly LoRA, QLoRA and full fine-tuning workloads. LoRA trains added adapter parameters; QLoRA combines adapters with a quantized base model.
Beginners receive explanations of memory components and an ordered troubleshooting procedure. Applying it still assumes comfort with shell commands, process management, training configuration and administrator privileges for the cache-clearing step.
Capabilities
The instructions cover estimating memory before launch, accounting for temporary model-loading peaks, responding to out-of-memory failures, identifying competing training or inference processes and correlating slowdowns with temperature and power readings.
The helper records timestamp, GPU temperature and power draw through nvidia-smi. It defaults to a 30-second interval and thermal.log. It does not record training throughput, memory pressure or explicit throttle reasons, and it provides no automated slowdown diagnosis.
Using it
Requirements
The operational guidance targets NVIDIA DGX Spark and its stated 128 GB shared memory pool. The sampler requires Bash, nvidia-smi, access to GPU telemetry and writable log/PID paths. Other examples use free, awk, ps and grep.
Clearing caches through /proc/sys/vm/drop_caches requires root and is described as a between-run action. Minimum operating-system, driver, CUDA, training-framework and assistant-host versions are not supplied.
Mechanism
The skill models CPU and GPU allocations as competing for one memory pool. It recommends host-memory readings because CUDA-visible figures may omit other pressure, and describes a loading window where memory-mapped weights and CUDA copies coexist.
The worksheet estimates weights, optimizer states, gradients and activations, with a separate adapter term. Weight storage follows parameter count and datatype; optimizer states and gradients depend on trainable parameters. Activation memory remains configuration dependent, particularly on batch size, sequence length and architecture.
Its recovery sequence starts with cache clearing, then reduces batch size or packing length, then considers changing the training method. These are prescribed troubleshooting steps rather than demonstrated recovery results.
Setup
Keep SKILL.md, assets and references in their original relative layout. The supplied logging example is bash assets/thermal-sample.sh 30 thermal.log, with paths resolved from the current working directory. No assistant-specific installation or registration procedure is provided.
The helper checks that nvidia-smi exists, writes a CSV header, starts collection in the background and stores the process ID in a matching .pid file. Reusing a log path overwrites its previous contents and can terminate a process identified by the existing PID file.
Example
For a hypothetical 70-billion-parameter QLoRA run, the included calculation assigns 0.5 bytes per parameter to base weights: 35 GB in decimal units. Adding its illustrative 0.5 GB adapter allowance gives 35.5 GB before activations and other omitted overhead.
The worksheet reports approximately 40 GB as a reference for this model class, but supplies no measurement log or complete training configuration. The calculation illustrates budgeting; it does not establish that a particular 70B run will fit or how quickly it will finish.
Assessment & evidence
Limitations
The roughly 100 W sustained-cap assertion lacks supporting measurements in the supplied files. The script prints that explanation unconditionally, so its message does not diagnose a power limit. Temperature and power readings alone do not establish why a training run slowed down.
The proposed fallback from QLoRA to bf16 LoRA requires a fresh memory calculation. The worksheet itself places 70B bf16 weights at approximately 140 GB, exceeding its stated 128 GB pool before other allocations. That fallback therefore cannot apply generally to every QLoRA failure.
The sampler trusts the PID in an existing PID file without verifying the process identity, overwrites the chosen log and does not confirm that background collection remains alive. The worksheet also leaves activation memory and the suggested operating-system headroom approximate; its model-size anchors are configuration-dependent examples.
Reasoning
The resource is useful because it connects memory arithmetic, temporary loading allocations, competing workloads and timestamped telemetry in one procedure. Those connections give an operator concrete observations to collect before changing a training configuration.
Its advice needs judgment because cache clearing affects the host, method changes alter memory requirements, and thermal observations require corroboration. The supplied evidence supports using the material as guidance while leaving hardware-specific outcomes unverified.
Alternatives
For temperature and power collection alone, direct nvidia-smi logging is an alternative already visible inside the helper. The script adds a header, default paths and PID handling around that command.
The instructions point to the companion spark-training-gotchas skill for launch failures such as ABI and flash-attn problems. That resource is outside the supplied folder and was not assessed. No comparative evidence against other monitoring tools or DGX Spark guides is supplied.
Evidence
The available evidence consists of the skill instructions, the complete Bash sampler, the memory-accounting reference and the repository MIT notice. The pinned instructions are at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/plugins/dgx-spark-ops/skills/spark-memory-thermal-ops/SKILL.md].
The worksheet calls its model configurations known-working anchors and attributes one experimental MoE example to an Unsloth tutorial. The underlying tutorial, benchmark configurations, training logs and thermal traces are absent. Those statements remain source-reported claims, and nothing was executed.
Access & freshness
Costs
The MIT licence permits use and redistribution, including commercial use, under its notice conditions. No purchase price, subscription fee or paid service requirement is stated for these files.
DGX Spark access, electricity, storage and operational time are separate costs whose amounts are unknown. The supplied material does not establish an end-to-end training cost or measured cost savings.
Rights
The supplied repository licence is MIT, copyright 2024 Seth Hobson. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices remain with copies or substantial portions. It also disclaims warranty and liability.
The retained licence notice is at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/LICENSE]. Rights to external models, datasets or third-party software are not established by this notice.
Freshness
The source snapshot was captured on 2026-11-16 at revision 9c61ab243def98f72da12abd41cfcf5bcd91af9d. The memory worksheet labels itself last verified on 2026-07-13 and says its anchors should be refreshed when validated model examples or playbook quantization defaults change.
Compatibility with later drivers, training frameworks, playbooks and repository changes is unknown. The verification date is a statement in the worksheet, without accompanying validation records in this folder.
Actions
Begin with the worksheet using the actual model, datatype, optimizer and sequence length, while reserving room for activations and loading peaks. Recalculate the budget before switching between QLoRA and bf16 LoRA.
Before using the sampler, choose a log path whose contents can be replaced and inspect any existing PID file. Compare its timestamps with training step times, and obtain additional throttle evidence before attributing a slowdown to thermals. Review the host-wide effect and required privileges of cache clearing before following that recovery step.
