You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k0s ctr run --gpus 0 --rm nvcr.io/nvidia/k8s/cuda-sample:nbody test-gpu /tmp/nbody -gpu -benchmark
Error: exec: "containerd": executable file not found in $PATH
Use mv /var/lib/k0s/bin/containerd usr/local/bin/ can to solve above
k0s ctr run --gpus 0 --rm nvcr.io/nvidia/k8s/cuda-sample:nbody test-gpu /tmp/nbody -gpu -benchmark
Run "nbody -benchmark [-numbodies=<numBodies>]" to measure performance.
-fullscreen (run n-body simulation in fullscreen mode)
-fp64 (use double precision floating point values for simulation)
-hostmem (stores simulation data in host memory)
-benchmark (run benchmark to measure performance)
-numbodies=<N> (number of bodies (>= 1) to run in simulation)
-device=<d> (where d=0,1,2.... for the CUDA device to use)
-numdevices=<i> (where i=(number of CUDA devices > 0) to use for simulation)
-compare (compares simulation results running once on the default GPU and once on the CPU)
-cpu (run n-body simulation on the CPU)
-tipsy=<file.bin> (load a tipsy model file for simulation)
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
> Windowed mode
> Simulation data stored in video memory
> Single precision floating point simulation
> 1 Devices used for simulation
GPU Device 0: "Pascal" with compute capability 6.1
> Compute 6.1 CUDA device: [NVIDIA GeForce GTX 1060 3GB]
9216 bodies, total time for 10 iterations: 7.372 ms
= 115.216 billion interactions per second
= 2304.320 single-precision GFLOP/s at 20 flops per interaction
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.23.9+k0s
Sysinfo
What happened?
Use
mv /var/lib/k0s/bin/containerd usr/local/bin/
can to solve aboveAnd I install k8s-device-plugin have this problem
#NVIDIA/k8s-device-plugin#332
Does have any simple way to enable gpu like microk8s
#https://microk8s.io/docs/nvidia-dgx
The text was updated successfully, but these errors were encountered: