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
fengzch-das
nunchaku
Commits
c3f1a922
Commit
c3f1a922
authored
Apr 11, 2025
by
muyangli
Browse files
finished the ci
parent
b8e0bb0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
.github/workflows/pr_test.yaml
.github/workflows/pr_test.yaml
+17
-3
No files found.
.github/workflows/pr_test.yaml
View file @
c3f1a922
...
...
@@ -17,7 +17,7 @@ jobs:
-
id
:
check
run
:
echo "should_run=true" >> $GITHUB_OUTPUT
set-up-
test
-env
:
set-up-
build
-env
:
runs-on
:
self-hosted
needs
:
[
check-comment
]
if
:
${{ github.event_name != 'issue_comment' || needs.check-comment.outputs.should_run == 'true' }}
...
...
@@ -43,11 +43,25 @@ jobs:
echo "Installing dependencies"
pip install torch torchvision torchaudio
pip install ninja wheel diffusers transformers accelerate sentencepiece protobuf huggingface_hub
build
:
needs
:
set-up-build-env
runs-on
:
self-hosted
timeout-minutes
:
30
if
:
${{ github.event_name != 'issue_comment' || needs.check-comment.outputs.should_run == 'true' }}
steps
:
-
name
:
Run build tests
run
:
|
source $(conda info --base)/etc/profile.d/conda.sh
conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
which python
NUNCHAKU_INSTALL_MODE=ALL python setup.py develop
pip install -r tests/requirements.txt
test-flux-memory
:
needs
:
set-up-
test
-env
needs
:
set-up-
build
-env
runs-on
:
self-hosted
timeout-minutes
:
30
if
:
${{ github.event_name != 'issue_comment' || needs.check-comment.outputs.should_run == 'true' }}
...
...
@@ -63,7 +77,7 @@ jobs:
clean-up
:
if
:
always() && (github.event_name != 'issue_comment' || needs.check-comment.outputs.should_run == 'true')
needs
:
[
set-up-
test-env
,
test-flux-memory
]
needs
:
[
set-up-
build-env
,
test-flux-memory
,
test-flux-memory
]
runs-on
:
self-hosted
steps
:
...
...
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