Skip to content

Conversation

@arjunguha
Copy link
Contributor

@arjunguha arjunguha commented Oct 16, 2025

Unfortunately, this hack is necessary to support the DGX Spark. This is a patch to a health check that seems to run on every cell execution. Without it, the patched function crashes, execution doesn't happen, and Marimo is unusable.

The patched function runs the following command, which produces this output:

nvidia-smi --query-gpu=index,name,memory.total,memory.used,memory.free --format=csv,noheader,nounits
0, NVIDIA GB10, [N/A], [N/A], [N/A]

Moreover, nvidia-smi without any options produces the following output. Notice that it prints Not Supported where memory usage should be reported:

arjun@spark-397a:~$ nvidia-smi
Thu Oct 16 19:48:43 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GB10                    On  |   0000000F:01:00.0 Off |                  N/A |
| N/A   34C    P8              3W /  N/A  | Not Supported          |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2406      G   /usr/lib/xorg/Xorg                       18MiB |
|    0   N/A  N/A            2592      G   /usr/bin/gnome-shell                      6MiB |
+-----------------------------------------------------------------------------------------+

📝 Summary

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

Unfortunately, this hack is necessary to support the DGX Spark. This is a patch to
a health check that seems to run on every cell execution. Without it, the patched
function crashes, execution doesn't happen, and Marimo is unusable.

The patched function runs the following command, which produces this output:

nvidia-smi --query-gpu=index,name,memory.total,memory.used,memory.free --format=csv,noheader,nounits
0, NVIDIA GB10, [N/A], [N/A], [N/A]

Moreover, nvidia-smi without any options produces the following output. Notice that
it prints *Not Supported* where memory usage should be reported:

arjun@spark-397a:~$ nvidia-smi
Thu Oct 16 19:48:43 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GB10                    On  |   0000000F:01:00.0 Off |                  N/A |
| N/A   34C    P8              3W /  N/A  | Not Supported          |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2406      G   /usr/lib/xorg/Xorg                       18MiB |
|    0   N/A  N/A            2592      G   /usr/bin/gnome-shell                      6MiB |
+-----------------------------------------------------------------------------------------+
@vercel
Copy link

vercel bot commented Oct 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 16, 2025 11:51pm

@github-actions
Copy link

github-actions bot commented Oct 16, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@arjunguha
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor

@akshayka akshayka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mscolnick mscolnick merged commit 0fae842 into marimo-team:main Oct 17, 2025
26 of 55 checks passed
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants