Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
fbe0c818
Unverified
Commit
fbe0c818
authored
Aug 07, 2024
by
Liangsheng Yin
Committed by
GitHub
Aug 07, 2024
Browse files
Purge self-runner's pip cache weekly (#975)
parent
dc9d06d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
.github/workflows/cache-purge.yml
.github/workflows/cache-purge.yml
+26
-0
.github/workflows/e2e-test.yml
.github/workflows/e2e-test.yml
+0
-1
.github/workflows/unit-test.yml
.github/workflows/unit-test.yml
+0
-1
No files found.
.github/workflows/cache-purge.yml
0 → 100644
View file @
fbe0c818
name
:
Weekly Cache Purge
on
:
schedule
:
-
cron
:
'
0
0
*
*
0'
# Every Sunday at 00:00
workflow_dispatch
:
jobs
:
purge-cache
:
runs-on
:
self-hosted
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v3
-
name
:
Purge pip cache
run
:
|
source $HOME/venv/bin/activate
echo "$HOME/venv/bin" >> $GITHUB_PATH
pip cache purge
-
name
:
Update dependencies
run
:
|
pip install --upgrade pip
pip install -e "python[all]"
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/ --force-reinstall
.github/workflows/e2e-test.yml
View file @
fbe0c818
...
...
@@ -31,7 +31,6 @@ jobs:
source $HOME/venv/bin/activate
echo "$HOME/venv/bin" >> $GITHUB_PATH
pip cache purge
pip install --upgrade pip
pip install -e "python[all]"
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/ --force-reinstall
...
...
.github/workflows/unit-test.yml
View file @
fbe0c818
...
...
@@ -31,7 +31,6 @@ jobs:
source $HOME/venv/bin/activate
echo "$HOME/venv/bin" >> $GITHUB_PATH
pip cache purge
pip install --upgrade pip
pip install -e "python[all]"
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/ --force-reinstall
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment