This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
Releases: GoogleCloudPlatform/cos-gpu-installer
Releases · GoogleCloudPlatform/cos-gpu-installer
v20210715
v20210714
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
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
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
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
v20200921
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
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.