macos: change default webgpu backend to aarch64-apple-darwin

This commit is contained in:
josc146 2023-11-17 21:16:08 +08:00
parent 068be2bfc4
commit a59c4436c8

View File

@ -134,8 +134,8 @@ jobs:
- run: | - run: |
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1 git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
cd ai00_rwkv_server cd ai00_rwkv_server
cargo build --release cargo build --release --target aarch64-apple-darwin
mv ./target/release/ai00_server ../backend-rust/webgpu_server mv ./target/aarch64-apple-darwin/release/ai00_server ../backend-rust/webgpu_server
cd .. 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