NERSC / podman-hpc

Other
34 stars 5 forks source link

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

Closed lastephey closed 1 year ago

lastephey commented 1 year ago

Try to address https://github.com/NERSC/podman-hpc/issues/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:~>