Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Fixed the creategpu command #2149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/cli/commands/creategpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
User=root
Type=oneshot
RemainAfterExit=true
ExecStartPre=docker-credential-gcr configure-docker
ExecStart=/bin/bash -c 'while [ ! -e /mnt/disks/datalab-pd/tmp ]; do \
sleep 1; \
done'
Expand All @@ -75,7 +74,7 @@
permissions: 0755
owner: root
content: |
NVIDIA_DRIVER_VERSION=390.46
NVIDIA_DRIVER_VERSION=418.67
COS_NVIDIA_INSTALLER_CONTAINER=gcr.io/cos-cloud/cos-gpu-installer:latest
NVIDIA_INSTALL_DIR_HOST=/var/lib/nvidia
NVIDIA_INSTALL_DIR_CONTAINER=/usr/local/nvidia
Expand All @@ -94,6 +93,7 @@

[Service]
User=root
Environment="HOME=/home/datalab"
Type=oneshot
RemainAfterExit=true
EnvironmentFile=/etc/nvidia-installer-env
Expand Down