Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/ci_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ platforms:
memory: 32GB
shm_size: 16g # Prevent PyTorch default 64MB shared memory limit.
timeout: 3600
queue_timeout: 600
queue_timeout: 3600
junit_path: test-results.xml
# env: # Uncomment to inject extra env vars into the container.
# MY_VAR: value
Expand Down Expand Up @@ -55,16 +55,17 @@ platforms:
gpu:
type: unittest
resources:
ngpus: 0
gpu_ids: "0"
ngpus: 1
gpu_style: none
memory: 32GB
shm_size: 16g
timeout: 3600
queue_timeout: 600
timeout: 7200
queue_timeout: 7200
junit_path: test-results.xml
stages:
- name: test
run: pytest tests/ --devices iluvatar -n 8 -v --tb=short --junitxml=/workspace/results/test-results.xml
run: pytest tests/ --devices iluvatar -n 4 -v --tb=short --junitxml=/workspace/results/test-results.xml

metax:
runner_label: Metax
Expand All @@ -89,7 +90,7 @@ platforms:
memory: 32GB
shm_size: 16g
timeout: 3600
queue_timeout: 600
queue_timeout: 3600
junit_path: test-results.xml
stages:
- name: test
Expand All @@ -116,7 +117,7 @@ platforms:
memory: 32GB
shm_size: 16g
timeout: 3600
queue_timeout: 600
queue_timeout: 3600
junit_path: test-results.xml
stages:
- name: test
Expand All @@ -142,7 +143,7 @@ platforms:
memory: 32GB
shm_size: 16g
timeout: 3600
queue_timeout: 600
queue_timeout: 3600
junit_path: test-results.xml
stages:
- name: test
Expand Down Expand Up @@ -214,7 +215,7 @@ platforms:
memory: 32GB
shm_size: 16g
timeout: 3600
queue_timeout: 600
queue_timeout: 3600
junit_path: test-results.xml
stages:
- name: test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ on:

jobs:
ci:
uses: InfiniTensor/ci/.github/workflows/infiniops-ci.yml@45d1046ec42ea73d1a75d5a96eb1a8204d47cbcd
uses: InfiniTensor/ci/.github/workflows/infiniops-ci.yml@b45d360c8cc529747ee31c5451d7eac96ac9f309
with:
config_path: .github/ci_config.yml
ci_ref: 45d1046ec42ea73d1a75d5a96eb1a8204d47cbcd
ci_ref: b45d360c8cc529747ee31c5451d7eac96ac9f309
max_parallel: 10
platform: ${{ github.event_name == 'workflow_dispatch' && (inputs.platform == 'all' && 'nvidia,iluvatar,metax,moore,cambricon,ascend' || inputs.platform) || 'nvidia,iluvatar,metax,moore,cambricon,ascend' }}
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/ci_v2_shadow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ on:

jobs:
ci-v2-shadow:
uses: InfiniTensor/ci/.github/workflows/infiniops-ci-v2-shadow.yml@45d1046ec42ea73d1a75d5a96eb1a8204d47cbcd
uses: InfiniTensor/ci/.github/workflows/infiniops-ci-v2-shadow.yml@b45d360c8cc529747ee31c5451d7eac96ac9f309
with:
config_path: .github/ci_config.yml
ci_ref: 45d1046ec42ea73d1a75d5a96eb1a8204d47cbcd
ci_ref: b45d360c8cc529747ee31c5451d7eac96ac9f309
max_parallel: 10
platform: ${{ github.event_name == 'workflow_dispatch' && (inputs.platform == 'all' && 'nvidia,iluvatar,metax,moore,cambricon,ascend' || inputs.platform == 'active' && 'nvidia,iluvatar,metax,moore,cambricon,ascend' || inputs.platform) || 'nvidia,iluvatar,metax,moore,cambricon,ascend' }}
secrets: inherit
Loading