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
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
As a pre-requisite, install nvidia-container toolkit, including adding the nvidia runtime. Then you should be able to translate runtime and capabilities from a OCI/Docker string like --runtime=nvidia --gpus all to --cro-device-request '{"Count":-1, "Capabilities":[["gpu"]]}' --cro-runtime nvidia
See the example test_nvidia_smi.sh, which slims ubuntu to just the files necessary to run the runtime mounted nvidia-smi. Similarly, see test_nvidia_pytorch.sh which minimizes nvidia-pytorch to run a subset of the CUDA tests.