Skip to content

Conversation

@akshayka
Copy link
Contributor

@akshayka akshayka commented Dec 6, 2025

  • Using GPUs for interactive development
  • Other edits for clarity

- Using GPUs for interactive development
- Other edits for clarity
@akshayka akshayka requested a review from dmadisetti December 6, 2025 00:52
@vercel
Copy link

vercel bot commented Dec 6, 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 Dec 6, 2025 0:52am

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 6, 2025
Comment on lines +101 to +102
#SBATCH --gres=gpu:1
#SBATCH --cpus-per-task=4
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dmadisetti is this correct?


Add GPU resources to your SBATCH directives:

/// tab | Interactive development
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is fine, I'd just be reserved on using the term "Interactive" since an interactive session is typically means an interactive tty: https://hpc-uit.readthedocs.io/en/latest/jobs/interactive.html

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied the subheading from earlier in the doc, which is called interactive development. Isn't this the same?

Interactive Development

For interactive development, submit a job that runs marimo edit and connect via SSH port forwarding.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, good point- thanks for pointing that out. I think it makes sense in context, but could change the language overall

Copy link
Collaborator

@dmadisetti dmadisetti left a comment

Choose a reason for hiding this comment

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

LGTM! "Interactive" makes sense under context


For actual "interactive" there is also the workflow of

srun ... -i --pty

$> uvx marimo edit ...

In another shell:

ssh ...

But in my experience, HPC sysadmins are generally very anti interactive session on distributed nodes

@akshayka akshayka merged commit 93002a2 into main Dec 8, 2025
26 checks passed
@akshayka akshayka deleted the aka/docs-slurm-edit branch December 8, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants