[CNCF LFX Proposal] HAMi: Fix GPU Memory Isolation for Child and SSH Processes
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 816
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 8
Description
### CNCF Project
HAMi
### Term
2026 Term 3 (Sep-Nov)
### Program Name
Fix GPU Memory Isolation for Child and SSH Processes
### Program Description
## Description
Investigate and fix cases where processes started later inside a HAMi-managed container, including child processes and processes reached through SSH or a new login shell, may not retain the expected GPU memory limit. The first milestone is to reproduce the behavior on a current supported HAMi release. The implementation approach must be agreed with HAMi maintainers rather than assuming a specific configuration mechanism in advance.
## Expected outcomes
- A reproducible test case and documented root cause.
- A maintainer-reviewed design covering the intended isolation boundary, compatibility, and failure modes.
- A maintainer-approved implementation, or a validated design and prototype if platform constraints prevent full delivery within the term.
- Regression tests covering the original process, child processes, and supported SSH or new-shell scenarios.
- Documentation of supported configuration, migration guidance, and known limitations.
- The implementation submitted for HAMi maintainer review.
### Technologies
Kubernetes, Linux containers, NVIDIA GPU, HAMi-core
### Skills same as Technologies?
- [ ] Yes, the required skills are the same as the technologies listed above.
### Required/Desirable Skills
Linux debugging, container runtime analysis, security reasoning, C/C++, testing
### Mentors
Mengxuan Li | @archlitchi | mengxuan.li@dynamia.ai | limengxuan
Jimmy Song | @rootsongjc | rootsongjc@gmail.com | jimmysong
### Upstream Issue URL
https://github.com/Project-HAMi/HAMi/issues/2125
### Application Prerequisites
- [x] Resume
- [x] Cover Letter
- [ ] School Enrollment Verification
- [ ] Participation Permission from school or employer
- [ ] Coding Challenge
- [ ] Custom Prerequisite (fill in details below)
### Coding Challenge URL
_No response_
### Custom Prerequisite Name
_No response_
### Custom Prerequisite Description
_No response_
### Custom Prerequisite — File Upload
- [ ] Yes — completion of this task requires the mentee to submit a file.
---
**LFX program:** [CNCF - HAMi: Fix GPU Memory Isolation for Child and SSH Processes (2026 Term 3)](https://mentorship.lfx.linuxfoundation.org/project/e5e55e8c-fab1-4453-9d49-a4a5e013c4c5)
Contributor guide
Research direction
Start with upstream issue #2125 and reproduce the GPU memory isolation behavior on a current supported HAMi release, including child processes and supported SSH or new-shell scenarios. Document the root cause and develop a maintainer-reviewed design covering isolation boundaries, compatibility, and failure modes. Done means approved regression tests, documentation of configuration and limitations, and a maintainer-reviewed implementation or validated prototype.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, linux
- Domain
- infrastructure, operating-systems, security
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100