File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9696 test :
9797 needs : build-image
9898 strategy :
99+ fail-fast : false
99100 matrix :
100101 config :
101102 [
@@ -104,9 +105,6 @@ jobs:
104105 ]
105106 onednn_fpmath_mode : [FP32, BF16]
106107 runs-on : ${{ matrix.config.label }}
107- env :
108- ONEDNN_DEFAULT_FPMATH_MODE : ${{ matrix.onednn_fpmath_mode }}
109-
110108 steps :
111109 - name : Download image artifact
112110 uses : actions/download-artifact@v5
@@ -120,8 +118,14 @@ jobs:
120118 - name : Load Docker image
121119 run : docker load -i toolsolutions-pytorch-image-${{ matrix.config.name }}.tar
122120
123- - name : Run smoke tests for
124- run : docker run --rm toolsolutions-pytorch:latest ./test-examples.sh
121+ - name : Run smoke tests
122+ run : |
123+ docker run --rm \
124+ -e ONEDNN_DEFAULT_FPMATH_MODE=${{ matrix.onednn_fpmath_mode }} \
125+ toolsolutions-pytorch:latest ./test-examples.sh
125126
126127 - name : Run unit tests
127- run : docker run --rm toolsolutions-pytorch:latest ./run_unit_tests.sh
128+ run : |
129+ docker run --rm \
130+ -e ONEDNN_DEFAULT_FPMATH_MODE=${{ matrix.onednn_fpmath_mode }} \
131+ toolsolutions-pytorch:latest ./run_unit_tests.sh
You can’t perform that action at this time.
0 commit comments