File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2121 default : PYTORCH_LEGACY_PROFILER_USING_IPEX
2222 schedule :
2323 - cron : " 5 23 * * *"
24+ pull_request :
25+ branches :
26+ - main
27+ paths :
28+ - .github/workflows/triton-benchmarks.yml
29+ - benchmarks/**
2430
2531permissions : read-all
2632
2733env :
2834 PYTHON_VERSION : " 3.10"
29- BENCHMARKING_METHOD : ${{ github.event_name == 'schedule' && ' PYTORCH_LEGACY_PROFILER_USING_IPEX' || inputs.benchmarking_method }}
30- USE_IPEX : ${{ github.event_name == 'schedule ' && '1' || inputs.benchmarking_method == 'PYTORCH_LEGACY_PROFILER_USING_IPEX' && '1' || '0' }}
35+ BENCHMARKING_METHOD : ${{ inputs.benchmarking_method || ' PYTORCH_LEGACY_PROFILER_USING_IPEX' }}
36+ USE_IPEX : ${{ github.event_name != 'workflow_dispatch ' && '1' || inputs.benchmarking_method == 'PYTORCH_LEGACY_PROFILER_USING_IPEX' && '1' || '0' }}
3137
3238jobs :
3339 build :
You can’t perform that action at this time.
0 commit comments