Skip to content

Commit

Permalink
Dev update libraries (#28)
Browse files Browse the repository at this point in the history
Co-authored-by: wl-zhao <[email protected]>
  • Loading branch information
yuxumin and wl-zhao authored Sep 21, 2024
1 parent 8ddc68f commit 7987307
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci/windows_base_files/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if not exist "output" (
)

if not exist "servers\web" (
mkdir -p "servers\web"
mkdir "servers\web"
)

if not exist "models\model_status.json" (
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
paths:
- "web/apps/web/**"
- "web/packages/**"
- ".github/**"
- ".github/workflows/build-web.yaml"
pull_request:
paths:
- "web/apps/web/**"
- "web/packages/**"
- ".github/**"
- ".github/workflows/build-web.yaml"

jobs:
build:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/deploy-to-cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: Deploy Cloud Server
on:
push:
branches:
- main
paths:
- "proconfig/**"
- "servers/**"
- ".github/**"
- ".github/workflows/deploy-to-cloud.yaml"
- "model_info.json"
pull_request:
branches:
- main
paths:
- "proconfig/**"
- "servers/**"
- ".github/**"
- ".github/workflows/deploy-to-cloud.yaml"
- "model_info.json"
workflow_dispatch:

jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-and-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
cp -r ../ShellAgent/.ci/python_dependencies_wins/include ./include
cp -r ../ShellAgent/.ci/python_dependencies_wins/Library ./Library
cp -r ../ShellAgent/.ci/python_dependencies_wins/libs ./libs
./python.exe -s -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu${{ inputs.cu }}
./python.exe -s -m pip install xformers torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu${{ inputs.cu }}
./python.exe -s -m pip install --use-pep517 pygit2 Cython scikit_build_core enscons pytoml cmake==3.21
./python.exe -s -m pip install --use-pep517 -r ../ShellAgent/requirements.txt
./python.exe -s -m pip install onnx==1.16.1 flask PyExecJS docx2txt fuzzywuzzy cloudpickle
Expand Down

0 comments on commit 7987307

Please sign in to comment.