name: Torch NPU Upstream v2.7.1 Trigger
on:
schedule:
- cron: '0 11 */2 * *'
workflow_dispatch:
inputs:
distributed_shards:
description: 'Number of shards for distributed tests (default 5)'
required: false
default: '5'
type: string
regular_shards:
description: 'Number of shards for regular tests (default 5)'
required: false
default: '5'
type: string
test_files:
description: 'Test files to run directly (comma-separated, e.g., "test_meta.py,test_nn.py"). Skip shard assignment if set.'
required: false
default: ''
type: string
jobs:
trigger_test:
uses: Ascend/pytorch/.github/workflows/_torch-npu-upstream-test.yml@v2.7.1
with:
distributed_shards: ${{ github.event.inputs.distributed_shards || '5' }}
regular_shards: ${{ github.event.inputs.regular_shards || '5' }}
test_files: ${{ github.event.inputs.test_files || '' }}