Skip to content

Commit

Permalink
Upgrading go version 1.21.3 to 1.21.4 (#1525)
Browse files Browse the repository at this point in the history
* upgrading go version

* upgrade go version

* Pytorch 2 support (#1513)

* adding testing statements

* adding scripts to run model with pytorch2.0

* small fixes and adding licence

* dino model change to support pytorch 2.0

* dino model change to support pytorch 2.0

* small fix

* refactoring

* refactoring

* refactoring

* small fix

* small fix

* adding comments

* fixing comments

* fixing comments

* fixing comments

* removing python version

* removing python version

* removing python version

* empty commit

* empty commit
  • Loading branch information
Tulsishah authored Nov 29, 2023
1 parent 4a7ffbc commit 759bdd1
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Mount the gcsfuse to /mnt/gcs:
# > docker run --privileged --device /fuse -v /mnt/gcs:/gcs:rw,rshared gcsfuse

FROM golang:1.21.3-alpine as builder
FROM golang:1.21.4-alpine as builder

RUN apk add git

Expand Down
2 changes: 1 addition & 1 deletion perfmetrics/scripts/ml_tests/pytorch/run_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
PYTORCH_VESRION=$1

# Install golang
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.3.linux-amd64.tar.gz -q
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.4.linux-amd64.tar.gz -q
rm -rf /usr/local/go && tar -C /usr/local -xzf go_tar.tar.gz
export PATH=$PATH:/usr/local/go/bin

Expand Down
2 changes: 1 addition & 1 deletion perfmetrics/scripts/ml_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# >> source setup.sh

# Go version to be installed.
GO_VERSION=go1.21.3.linux-amd64.tar.gz
GO_VERSION=go1.21.4.linux-amd64.tar.gz

# This function will install the given module/dependency if it's not alredy
# installed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# and epochs functionality, and runs the model

# Install go lang
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.3.linux-amd64.tar.gz -q
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.4.linux-amd64.tar.gz -q
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
export PATH=$PATH:/usr/local/go/bin

Expand Down
4 changes: 2 additions & 2 deletions perfmetrics/scripts/presubmit_test/pr_perf_test/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ set -e
sudo apt-get update
echo Installing git
sudo apt-get install git
echo Installing go-lang 1.21.3
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.3.linux-amd64.tar.gz -q
echo Installing go-lang 1.21.4
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.4.linux-amd64.tar.gz -q
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
export PATH=$PATH:/usr/local/go/bin
export CGO_ENABLED=0
Expand Down
4 changes: 2 additions & 2 deletions perfmetrics/scripts/run_e2e_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ run_e2e_tests_on_package=$1

# e.g. architecture=arm64 or amd64
architecture=$(dpkg --print-architecture)
echo "Installing go-lang 1.21.3..."
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.3.linux-${architecture}.tar.gz -q
echo "Installing go-lang 1.21.4..."
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.4.linux-${architecture}.tar.gz -q
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
export PATH=$PATH:/usr/local/go/bin
# install python3-setuptools tools.
Expand Down
2 changes: 1 addition & 1 deletion tools/cd_scripts/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ else
fi
# install go
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.3.linux-${architecture}.tar.gz
wget -O go_tar.tar.gz https://go.dev/dl/go1.21.4.linux-${architecture}.tar.gz
sudo tar -C /usr/local -xzf go_tar.tar.gz
export PATH=${PATH}:/usr/local/go/bin
#Write gcsfuse and go version to log file
Expand Down
2 changes: 1 addition & 1 deletion tools/containerize_gcsfuse_docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ARG OS_VERSION
ARG OS_NAME

# Image with gcsfuse installed and its package (.deb)
FROM golang:1.21.3 as gcsfuse-package
FROM golang:1.21.4 as gcsfuse-package

RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm fuse && gem install --no-document bundler

Expand Down
2 changes: 1 addition & 1 deletion tools/package_gcsfuse_docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Copy the gcsfuse packages to the host:
# > docker run -it -v /tmp:/output gcsfuse-release cp -r /packages /output

FROM golang:1.21.3 as builder
FROM golang:1.21.4 as builder

RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm && gem install --no-document bundler

Expand Down

0 comments on commit 759bdd1

Please sign in to comment.