Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Releases: GoogleCloudPlatform/cos-gpu-installer

v20210715

15 Jul 17:14
Compare
Choose a tag to compare
Exclude /usr/lib64/libstd-* from toolchain

These are hard links to the rust standard library on M89.

v20210714

14 Jul 17:41
Compare
Choose a tag to compare
Exclude /lib/libstd-* from toolchain

These paths are hard links to the rust standard library. Since we are not
using the rust toolchain here, we can exclude them.

v20210319

19 Mar 17:43
Compare
Choose a tag to compare
Break dependency on host's "get_metadata_value" script

cos-gpu-installer currently depends on the "get_metadata_value" script
from the COS host environment. This causes problems when
cos-gpu-installer needs to run on COS images that do not have this
installed. Since this is a simple enough and stable enough script, let's
just package it into the cos-gpu-installer Docker image to avoid taking
this dependency on the host.

The script is copied from
https://cos.googlesource.com/cos/overlays/board-overlays/+/aaf6944669766f674f0523e5f875d11c9f0c78e1/project-lakitu/app-admin/google-guest-agent/files/get_metadata_value

v20210308

08 Mar 22:26
Compare
Choose a tag to compare
Don't unpack Rust toolchain elements

Rust toolchain elements use a lot of disk space and are not needed for
compiling GPU drivers.

Tested on cos-81 and cos-89 with and without the -p option.

v20210204

04 Feb 21:11
Compare
Choose a tag to compare
Fix logic for driver URL calculation

Found all the drivers availble in the google storage buckets using:
`gsutil ls -r gs://nvidia-drivers-us-public/ | grep -E -i -v
'sha256|.gcmanifest|GRID' | grep ".run" | sort | uniq -u`

The driver URL logic method has been retro fitted to retrieve all
versions availble in the storage bucket.

v20201203

03 Dec 23:18
5e39ee4
Compare
Choose a tag to compare
Merge pull request #63 from kewu1992/modify_cmd_when_have_to

Only disable signature verification when module.sig_enforce=1 is set

v20200921

21 Sep 17:34
Compare
Choose a tag to compare
Reduce disk space usage and improve compile times.

Currently, cos-gpu-installer generates a few kernel files that
nvidia modules depend on. However, these generated files are already
pregenerated in our kernel-headers.tgz archive that we already
distribute. By using the kernel-headers.tgz archive instead of the
kernel-source.tar.gz archive, we can drop a few Dockerfile
dependencies needed for generating some kernel files and avoid
downloading the kernel source.

These changes bring the size of the container image down from 366MB to
262MB. We are also saving between 900MB-1GB by not downloading and
extracting the kernel source archive.

Also, the time to install drivers from scratch (no precompiled drivers)
is reduced from ~6m36s to ~5m40s.

The correct kernel headers archives are available for all versions
released after September 2018. This includes all stable versions M73+,
and all stable M69 versions starting with cos-69-10895-71-0. After this
change, users using images before cos-69-10895-71-0 will need to either
upgrade their COS version or pin to an older cos-gpu-installer version.
COS has stopped supporting M69 images a while ago.

Tested on latest M69, M73, M77, M81, M85, dev.

v20200701

01 Jul 20:08
Compare
Choose a tag to compare
Make sure the toolchain is mounted as exec.

If someone bind mounts a toolchain into /build/cos-tools from a COS
host, chances are that the bind mount will be noexec (since the source
mount of that bind mount will likely be noexec). Since we need to
execute the toolchain, let's remount it as exec.

Tested by running cos-gpu-installer with a preloaded toolchain in
/var/lib/cos-tools, bind mounted inside the container to
/build/cos-tools.

v20200626

27 Jun 03:37
0921ec1
Compare
Choose a tag to compare
Merge pull request #55 from kewu1992/bigrig_customer

Download Module.symvers when compiling GPU drivers

v20200623

23 Jun 21:26
eab670c
Compare
Choose a tag to compare
Merge pull request #54 from kewu1992/isntaller_url_env

Allow specify GPU driver installer download URL through env