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

speed up gpu module by converting from copy to bind #72

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Conversation

lastephey
Copy link
Collaborator

Try to address #51

Looks like it shaves off about 2 seconds from startup

Test on muller:

stephey@nid001036:~> time podman-hpc run --rm --gpu nvcr.io/nvidia/pytorch:23.05-py3 date

With copy:

real	0m4.126s
user	0m0.331s
sys	0m0.109s

With bind:

real	0m2.037s
user	0m0.318s
sys	0m0.124s
stephey@nid001036:~> 

@lastephey lastephey requested a review from scanon June 13, 2023 22:26
Copy link
Member

@danfulton danfulton left a comment

Choose a reason for hiding this comment

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

lgtm

@danfulton danfulton merged commit 5a15724 into main Jun 15, 2023
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

Successfully merging this pull request may close these issues.

2 participants