-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
90 changed files
with
658 additions
and
1,476 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
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 |
---|---|---|
|
@@ -237,40 +237,7 @@ jobs: | |
detached: true | ||
connect-timeout-seconds: 180 | ||
limit-access-to-actor: true | ||
build-stablediffusion: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21.x' | ||
cache: false | ||
- name: Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends libopencv-dev protobuf-compiler ccache upx-ucl | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
- name: Build stablediffusion | ||
run: | | ||
export PATH=$PATH:$GOPATH/bin | ||
make backend-assets/grpc/stablediffusion | ||
mkdir -p release && cp backend-assets/grpc/stablediffusion release | ||
env: | ||
GO_TAGS: stablediffusion | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: stablediffusion | ||
path: release/ | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
release/* | ||
|
||
|
||
build-macOS-x86_64: | ||
runs-on: macos-13 | ||
|
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 |
---|---|---|
|
@@ -78,57 +78,6 @@ jobs: | |
make --jobs=5 --output-sync=target -C backend/python/diffusers | ||
make --jobs=5 --output-sync=target -C backend/python/diffusers test | ||
tests-parler-tts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential ffmpeg | ||
# Install UV | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
sudo apt-get install -y ca-certificates cmake curl patch python3-pip | ||
sudo apt-get install -y libopencv-dev | ||
pip install --user --no-cache-dir grpcio-tools==1.64.1 | ||
- name: Test parler-tts | ||
run: | | ||
make --jobs=5 --output-sync=target -C backend/python/parler-tts | ||
make --jobs=5 --output-sync=target -C backend/python/parler-tts test | ||
- name: Setup tmate session if tests fail | ||
if: ${{ failure() }} | ||
uses: mxschmitt/[email protected] | ||
with: | ||
detached: true | ||
connect-timeout-seconds: 180 | ||
limit-access-to-actor: true | ||
|
||
tests-openvoice: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential ffmpeg | ||
# Install UV | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
sudo apt-get install -y ca-certificates cmake curl patch python3-pip | ||
sudo apt-get install -y libopencv-dev | ||
pip install --user --no-cache-dir grpcio-tools==1.64.1 | ||
- name: Test openvoice | ||
run: | | ||
make --jobs=5 --output-sync=target -C backend/python/openvoice | ||
make --jobs=5 --output-sync=target -C backend/python/openvoice test | ||
# tests-transformers-musicgen: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
|
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 |
---|---|---|
|
@@ -105,9 +105,7 @@ jobs: | |
# Pre-build piper before we start tests in order to have shared libraries in place | ||
make sources/go-piper && \ | ||
GO_TAGS="tts" make -C sources/go-piper piper.o && \ | ||
sudo cp -rfv sources/go-piper/piper-phonemize/pi/lib/. /usr/lib/ && \ | ||
# Pre-build stable diffusion before we install a newer version of abseil (not compatible with stablediffusion-ncn) | ||
PATH="$PATH:/root/go/bin" GO_TAGS="stablediffusion tts" GRPC_BACKENDS=backend-assets/grpc/stablediffusion make build | ||
sudo cp -rfv sources/go-piper/piper-phonemize/pi/lib/. /usr/lib/ | ||
env: | ||
CUDA_VERSION: 12-4 | ||
- name: Cache grpc | ||
|
@@ -129,7 +127,7 @@ jobs: | |
cd grpc && cd cmake/build && sudo make --jobs 5 install | ||
- name: Test | ||
run: | | ||
PATH="$PATH:/root/go/bin" GO_TAGS="stablediffusion tts" make --jobs 5 --output-sync=target test | ||
PATH="$PATH:/root/go/bin" GO_TAGS="tts" make --jobs 5 --output-sync=target test | ||
- name: Setup tmate session if tests fail | ||
if: ${{ failure() }} | ||
uses: mxschmitt/[email protected] | ||
|
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
Oops, something went wrong.