mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3081] [Other] GPU-access daemon for sandboxed assistants (bwrap/DSH) — wanted upstream? #1233
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ken2425pm on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3081
Proposal first — the code stays out of the tree until maintainers want it, so this is a question, not a PR.
What happened / the problem
Assistants running inside a bubblewrap sandbox (DeepSeek Harness / DSH, or any bwrap invocation that mounts a minimal
/devon top of a read-only host bind) can never open the GPU: the shadowing tmpfs has no/dev/kfdand no/dev/dri/renderD*, the sandbox has no capabilities (CapEff=0) so the device nodes cannot be recreated and the tmpfs cannot be removed, and the host's real devtmpfs underneath is unreachable. The one thing the sandbox shares with the host is the workspace bind — including Unix sockets created inside it.The proposal
A small host-side daemon that listens on a Unix socket in the shared workspace and
serve_start/serve_stop/serve_statusaction trio, with per-instance configs and isolated pidfiles.The daemon's socket lives inside the workspace bind (local to the sandbox pair); the managed HTTP server stays on 127.0.0.1 unless
--api-keyis set, per AGENTS.md.Environment
477ac13c, system ROCm 6.3.3); the serving measurements in #3077 (build + runtime + the 12 h split-config soak) were collected through it.strata launch) on 0.2.x, so re-checkingserve_*against 0.2.6 is the open item.Questions for maintainers
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@ken2425pm commented on GitHub (Oct 25, 2026):
/reopen (title prefixed, environment fields filled, 0.2.x re-check item added)
@github-actions[bot] commented on GitHub (Oct 25, 2026):
Reopened, thank you. A maintainer will pick it up from here.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.