-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rene Leonhardt <[email protected]>
- Loading branch information
1 parent
aff2aca
commit 98cf8e6
Showing
27 changed files
with
551 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y pip wget | ||
sudo pip install --upgrade pip | ||
sudo pip install --upgrade pip | ||
pip install huggingface_hub | ||
- name: 'Setup yq' | ||
uses: dcarbone/[email protected] | ||
with: | ||
version: 'v4.43.1' | ||
version: 'v4.44.1' | ||
download-compressed: true | ||
force: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- pull_request | ||
|
||
env: | ||
GRPC_VERSION: v1.64.0 | ||
GRPC_VERSION: v1.64.2 | ||
|
||
permissions: | ||
contents: write | ||
|
@@ -40,7 +40,7 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install -y cuda-cross-aarch64 cuda-nvcc-cross-aarch64-${CUDA_VERSION} libcublas-cross-aarch64-${CUDA_VERSION} | ||
env: | ||
CUDA_VERSION: 12-4 | ||
CUDA_VERSION: 12-5 | ||
- name: Cache grpc | ||
id: cache-grpc | ||
uses: actions/cache@v4 | ||
|
@@ -96,8 +96,8 @@ jobs: | |
CROSS_TOOLCHAIN=/usr/$GNU_HOST | ||
CROSS_STAGING_PREFIX=$CROSS_TOOLCHAIN/stage | ||
CMAKE_CROSS_TOOLCHAIN=/tmp/arm.toolchain.cmake | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@8ba23be9613c672d40ae261d2a1335d639bdd59b | ||
go install google.golang.org/protobuf/cmd/[email protected].0 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af | ||
go install google.golang.org/protobuf/cmd/[email protected].1 | ||
export PATH=$PATH:$GOPATH/bin | ||
export PATH=/usr/local/cuda/bin:$PATH | ||
GO_TAGS=p2p GOOS=linux GOARCH=arm64 CMAKE_ARGS="-DProtobuf_INCLUDE_DIRS=$CROSS_STAGING_PREFIX/include -DProtobuf_DIR=$CROSS_STAGING_PREFIX/lib/cmake/protobuf -DgRPC_DIR=$CROSS_STAGING_PREFIX/lib/cmake/grpc -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CROSS_TOOLCHAIN -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++" make dist-cross-linux-arm64 | ||
|
@@ -148,32 +148,32 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install -y cuda-nvcc-${CUDA_VERSION} libcublas-dev-${CUDA_VERSION} | ||
env: | ||
CUDA_VERSION: 12-3 | ||
CUDA_VERSION: 12-5 | ||
- name: "Install Hipblas" | ||
env: | ||
ROCM_VERSION: "6.1" | ||
AMDGPU_VERSION: "6.1" | ||
run: | | ||
set -ex | ||
set -ex | ||
sudo apt-get update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg | ||
curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg | ||
curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - | ||
printf "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION/ jammy main" | sudo tee /etc/apt/sources.list.d/rocm.list | ||
printf "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/amdgpu.list | ||
printf 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 | ||
sudo apt-get update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
hipblas-dev rocm-dev \ | ||
rocblas-dev | ||
sudo apt-get clean | ||
sudo rm -rf /var/lib/apt/lists/* | ||
sudo ldconfig | ||
sudo ldconfig | ||
- name: Cache grpc | ||
id: cache-grpc | ||
uses: actions/cache@v4 | ||
|
@@ -193,8 +193,8 @@ jobs: | |
- name: Build | ||
id: build | ||
run: | | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@8ba23be9613c672d40ae261d2a1335d639bdd59b | ||
go install google.golang.org/protobuf/cmd/[email protected].0 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af | ||
go install google.golang.org/protobuf/cmd/[email protected].1 | ||
export PATH=$PATH:$GOPATH/bin | ||
export PATH=/usr/local/cuda/bin:$PATH | ||
export PATH=/opt/rocm/bin:$PATH | ||
|
@@ -226,8 +226,8 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends libopencv-dev protobuf-compiler ccache | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@8ba23be9613c672d40ae261d2a1335d639bdd59b | ||
go install google.golang.org/protobuf/cmd/[email protected].0 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af | ||
go install google.golang.org/protobuf/cmd/[email protected].1 | ||
- name: Build stablediffusion | ||
run: | | ||
export PATH=$PATH:$GOPATH/bin | ||
|
@@ -260,8 +260,8 @@ jobs: | |
- name: Dependencies | ||
run: | | ||
brew install protobuf grpc | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@8ba23be9613c672d40ae261d2a1335d639bdd59b | ||
go install google.golang.org/protobuf/cmd/[email protected].0 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af | ||
go install google.golang.org/protobuf/cmd/[email protected].1 | ||
- name: Build | ||
id: build | ||
run: | | ||
|
Oops, something went wrong.