Skip to content

feat(web): add change-compute button on idle notebook rows - #275

Open
0x0f0f0f wants to merge 1 commit into
marimo-team:mainfrom
0x0f0f0f:feat/notebook-list-change-compute-button
Open

feat(web): add change-compute button on idle notebook rows#275
0x0f0f0f wants to merge 1 commit into
marimo-team:mainfrom
0x0f0f0f:feat/notebook-list-change-compute-button

Conversation

@0x0f0f0f

@0x0f0f0f 0x0f0f0f commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a Cpu icon button next to each idle notebook’s overflow menu so editors can change compute without opening the menu.
  • Keep the existing overflow action when a session is running (and when the inline button is hidden).

Test plan

  • With multiple compute profiles and overrides enabled, hover an idle notebook row and confirm the chip button opens Change compute
  • Save a new profile and confirm the notebook’s stored profile updates
  • With a running edit or app session, confirm the chip is hidden and Change compute… remains in the overflow menu
  • With a single profile or overrides disabled, confirm neither the chip nor the menu item appears

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@0x0f0f0f is attempting to deploy a commit to the marimo Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown

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

Surface the Cpu action next to the overflow menu so editors can set a
profile without digging into the menu; keep the menu entry when a
session is already running.
@0x0f0f0f
0x0f0f0f force-pushed the feat/notebook-list-change-compute-button branch from 93db63e to ffc95a5 Compare August 31, 2026 18:58
@0x0f0f0f

Copy link
Copy Markdown
Contributor Author

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

@mscolnick

Copy link
Copy Markdown
Contributor

there are a ton of buttons in the dropdown. and im not sure what should/shouldn't be promoted outside. i dont imagine this is a common one. any reason to make this prompted as its own button?

@0x0f0f0f

Copy link
Copy Markdown
Contributor Author

any reason to make this prompted as its own button?

launching a lot of GPU notebooks, just found it a lot of clicks to change the runtime every time a notebook is launched, but feel free to close!

@mscolnick

Copy link
Copy Markdown
Contributor

@0x0f0f0f how are you creating these notebooks? Can you create them with GPUs to begin with? Is something reverting it back to an old computer profile?

@0x0f0f0f

Copy link
Copy Markdown
Contributor Author

how are you creating these notebooks?

@mscolnick they are pulled by the git app integration

notebook frontmatter is

---
title: GPU check
author: Relational Intelligence Team
pubDate: 2026-08-10
render: static
pyproject: |
  requires-python = ">=3.12"
  dependencies = [
    "marimo==0.23.16",
    "torch==2.9.1",
  ]
---

@mscolnick

Copy link
Copy Markdown
Contributor

once you set the GPU profile, does it change back? I'll make it so adding the new git-backed notebook lets you choose the computer and container

@0x0f0f0f

Copy link
Copy Markdown
Contributor Author

once you set the GPU profile, does it change back? I'll make it so adding the new git-backed notebook lets you choose the computer and container

I'm trying to make it fetch automatically all notebooks in a repo, (and possibly in all repos from an org) into a project. So claude attempted this via CLI iirc. It doesn't seem to be changing back though

@mscolnick

Copy link
Copy Markdown
Contributor

This should help instead: #278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants