Skip to content
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

Using nsjail with GPU and OpenGL #215

Closed
chrisruk opened this issue Apr 19, 2023 · 1 comment
Closed

Using nsjail with GPU and OpenGL #215

chrisruk opened this issue Apr 19, 2023 · 1 comment

Comments

@chrisruk
Copy link

Hi,

I've managed to create X windows from Python, using nsjail by making use
of the excellent configuration examples.

I'm just struggling a bit to get OpenGL working from within nsjail to take advantage
of the acceleration it provides.

I'm just wondering if there are any examples that make use of GPU acceleration?

I notice Tensorflow mentions using nsjail for untrusted models, so maybe there's some examples
for that which make use of nsjail+GPU+tensorflow that I could use? Although I've not found one yet.

Many thanks!

@chrisruk
Copy link
Author

Managed to get this working, mounting /usr, I think did the trick as it must have given me access to the correct OpenGL libraries.

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

1 participant