update ci webgpu components
This commit is contained in:
parent
861e245062
commit
f7227cd1c1
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@ -57,7 +57,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: install upx
|
args: install upx
|
||||||
- run: |
|
- run: |
|
||||||
Start-BitsTransfer https://github.com/josStorer/LibreHardwareMonitor.Console/releases/download/v0.1.0/LibreHardwareMonitor.Console.zip ./LibreHardwareMonitor.Console.zip
|
Start-BitsTransfer https://github.com/josStorer/ai00_rwkv_server/releases/latest/download/webgpu_server_windows.exe ./backend-rust/webgpu_server.exe
|
||||||
|
Start-BitsTransfer https://github.com/josStorer/web-rwkv-converter/releases/latest/download/web-rwkv-converter_windows.exe ./backend-rust/web-rwkv-converter.exe
|
||||||
|
Start-BitsTransfer https://github.com/josStorer/LibreHardwareMonitor.Console/releases/latest/download/LibreHardwareMonitor.Console.zip ./LibreHardwareMonitor.Console.zip
|
||||||
Expand-Archive ./LibreHardwareMonitor.Console.zip -DestinationPath ./components/LibreHardwareMonitor.Console
|
Expand-Archive ./LibreHardwareMonitor.Console.zip -DestinationPath ./components/LibreHardwareMonitor.Console
|
||||||
Start-BitsTransfer https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip ./python-3.10.11-embed-amd64.zip
|
Start-BitsTransfer https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip ./python-3.10.11-embed-amd64.zip
|
||||||
Expand-Archive ./python-3.10.11-embed-amd64.zip -DestinationPath ./py310
|
Expand-Archive ./python-3.10.11-embed-amd64.zip -DestinationPath ./py310
|
||||||
@ -67,11 +69,6 @@ jobs:
|
|||||||
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../include" -Destination "py310/include" -Recurse
|
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../include" -Destination "py310/include" -Recurse
|
||||||
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../libs" -Destination "py310/libs" -Recurse
|
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../libs" -Destination "py310/libs" -Recurse
|
||||||
./py310/python -m pip install cyac==1.9
|
./py310/python -m pip install cyac==1.9
|
||||||
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
|
|
||||||
cd ai00_rwkv_server
|
|
||||||
cargo build --release
|
|
||||||
mv ./target/release/ai00_server.exe ../backend-rust/webgpu_server.exe
|
|
||||||
cd ..
|
|
||||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
(Get-Content -Path ./backend-golang/app.go) -replace "//go:custom_build windows ", "" | Set-Content -Path ./backend-golang/app.go
|
(Get-Content -Path ./backend-golang/app.go) -replace "//go:custom_build windows ", "" | Set-Content -Path ./backend-golang/app.go
|
||||||
make
|
make
|
||||||
@ -95,17 +92,11 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
- run: |
|
- run: |
|
||||||
|
wget https://github.com/josStorer/ai00_rwkv_server/releases/latest/download/webgpu_server_linux -o ./backend-rust/webgpu_server
|
||||||
|
wget https://github.com/josStorer/web-rwkv-converter/releases/latest/download/web-rwkv-converter_linux -o ./backend-rust/web-rwkv-converter
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install upx
|
sudo apt-get install upx
|
||||||
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
|
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
|
||||||
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
|
|
||||||
cd ai00_rwkv_server
|
|
||||||
sudo apt-get install libudev-dev
|
|
||||||
sudo apt-get install libasound2-dev
|
|
||||||
rustup target add x86_64-unknown-linux-gnu
|
|
||||||
cargo build --release --target x86_64-unknown-linux-gnu
|
|
||||||
mv ./target/x86_64-unknown-linux-gnu/release/ai00_server ../backend-rust/webgpu_server
|
|
||||||
cd ..
|
|
||||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
rm ./backend-python/rwkv_pip/wkv_cuda.pyd
|
rm ./backend-python/rwkv_pip/wkv_cuda.pyd
|
||||||
rm ./backend-python/rwkv_pip/rwkv5.pyd
|
rm ./backend-python/rwkv_pip/rwkv5.pyd
|
||||||
@ -133,12 +124,8 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
- run: |
|
- run: |
|
||||||
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
|
wget https://github.com/josStorer/ai00_rwkv_server/releases/latest/download/webgpu_server_darwin -o ./backend-rust/webgpu_server
|
||||||
cd ai00_rwkv_server
|
wget https://github.com/josStorer/web-rwkv-converter/releases/latest/download/web-rwkv-converter_darwin -o ./backend-rust/web-rwkv-converter
|
||||||
rustup target add aarch64-apple-darwin
|
|
||||||
cargo build --release --target aarch64-apple-darwin
|
|
||||||
mv ./target/aarch64-apple-darwin/release/ai00_server ../backend-rust/webgpu_server
|
|
||||||
cd ..
|
|
||||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
rm ./backend-python/rwkv_pip/wkv_cuda.pyd
|
rm ./backend-python/rwkv_pip/wkv_cuda.pyd
|
||||||
rm ./backend-python/rwkv_pip/rwkv5.pyd
|
rm ./backend-python/rwkv_pip/rwkv5.pyd
|
||||||
|
Loading…
Reference in New Issue
Block a user