Skip to content

Setting Limits for Memory Usage and Byte Limits in Jupyter Server Kernels via API #1493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mlb0925 opened this issue Jan 22, 2025 · 1 comment

Comments

@mlb0925
Copy link

mlb0925 commented Jan 22, 2025

I am using Jupyter Server to run code and would like to limit the memory usage, input bytes, and output bytes for each kernel via API. Could you suggest a good solution for this? Thank you.

@mlb0925 mlb0925 changed the title I want to limit the output bytes of users Setting Limits for Memory Usage and Byte Limits in Jupyter Server Kernels via API Jan 26, 2025
@Zsailer
Copy link
Member

Zsailer commented Apr 2, 2025

Today, there isn't a way to do this with Jupyter Server.

However, this an enhancement proposal that suggests we add kernel parametrization by default into Jupyter: jupyter/enhancement-proposals#87

And some initial work has been started here: #1431

I think this is a still a ways from being merged, so not a viable solution today. But worth mentioning for the future.

Perhaps checkout this extension: https://github.com/deshaw/ksmm. It allows you to parametrize kernels.

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

No branches or pull requests

2 participants