@@ -132,64 +132,64 @@ jobs:
132132 echo "PYTHONUNBUFFERED=1" >> $GITHUB_ENV
133133 echo "ROCR_VISIBLE_DEVICES=0" >> $GITHUB_ENV
134134
135- # - name: Run hipblaslt-bench
136- # if: always() # && (github.event_name == 'schedule' || inputs.run_hipblaslt == true)
137- # run: |
138- # source ${VENV_DIR}/bin/activate
139- # tarFileName=$( aws s3 ls s3://therock-nightly-tarball/ --recursive --no-sign-request | grep '\.tar\.gz$' | grep linux-gfx110X | sort -r | head -1 | awk '{print $NF}' || true )
140- # echo "Installing $tarFileName"
141- # wget https://therock-nightly-tarball.s3.us-east-2.amazonaws.com/${tarFileName}
142- # mkdir install
143- # tar -xf *.tar.gz -C install
144- # export PATH=$PWD/install/bin:$PATH
145-
146- # echo "============= Running Gemm Shape with hipblaslt =============================="
147- # bash amd-shark-ai-reports/boo/hipblaslt-bench.sh >& output_artifacts/rdna3_gemm_hipBlaslt-bench.csv
148-
149- # - name: Run Prod Conv with verify numerics
150- # if: always() # && (github.event_name == 'schedule' || inputs.run_prod_conv == true)
151- # run: |
152- # echo "============ Running Prod Conv shape with MIOpen and IREE without tuning ==================="
153- # iree-boo-driver \
154- # --commands-file amd-shark-ai-reports/boo/prod_conv_config.txt --csv output_artifacts/rdna3_prod_conv_miopen_iree.csv \
155- # --backend=iree_boo_experimental \
156- # 2>&1 | tee output_artifacts/rdna3_prod_conv_miopen_iree.log || true
157-
158- # - name: Run All Proxy
159- # if: always() # && (github.event_name == 'schedule' || inputs.run_all_proxy == true)
160- # run: |
161- # echo "============ Running All proxy shape with MIOpen and IREE without tuning ==================="
162- # ## temporarily disable --backend=torch
163- # iree-boo-driver \
164- # --commands-file amd-shark-ai-reports/boo/all_proxy_config.txt --csv output_artifacts/rdna3_all_proxy_miopen_iree.csv \
165- # --backend=iree_boo_experimental \
166- # 2>&1 | tee output_artifacts/rdna3_all_proxy_miopen_iree.log || true
167-
168- # - name: Run Gemm with verify numerics
169- # if: always() # && (github.event_name == 'schedule' || inputs.run_gemm == true)
170- # run: |
171- # echo "============ Running Gemm shape with MIOpen and IREE without tuning ======================================="
172- # iree-boo-driver \
173- # --commands-file amd-shark-ai-reports/boo/gemm_config.txt --csv output_artifacts/rdna3_gemm_miopen_iree.csv \
174- # --backend=iree_boo_experimental \
175- # 2>&1 | tee output_artifacts/rdna3_gemm_miopen_iree.log || true
176-
177- # - name: Run Batch Norm with verify numerics
178- # if: always() # && (github.event_name == 'schedule' || inputs.run_batch_norm == true)
179- # run: |
180- # echo "============ Running Batch norm shape with MIOpen and IREE without tuning ======================================="
181- # iree-boo-driver \
182- # --commands-file amd-shark-ai-reports/boo/batch_norm_config.txt --csv output_artifacts/rdna3_batch_norm_miopen_iree.csv \
183- # --backend=iree_boo_experimental \
184- # 2>&1 | tee output_artifacts/rdna3_batch_norm_miopen_iree.log || true
135+ - name : Run hipblaslt-bench
136+ if : always() && (github.event_name == 'schedule' || inputs.run_hipblaslt == true)
137+ run : |
138+ source ${VENV_DIR}/bin/activate
139+ tarFileName=$( aws s3 ls s3://therock-nightly-tarball/ --recursive --no-sign-request | grep '\.tar\.gz$' | grep linux-gfx110X | sort -r | head -1 | awk '{print $NF}' || true )
140+ echo "Installing $tarFileName"
141+ wget https://therock-nightly-tarball.s3.us-east-2.amazonaws.com/${tarFileName}
142+ mkdir install
143+ tar -xf *.tar.gz -C install
144+ export PATH=$PWD/install/bin:$PATH
145+
146+ echo "============= Running Gemm Shape with hipblaslt =============================="
147+ bash amd-shark-ai-reports/boo/hipblaslt-bench.sh >& output_artifacts/rdna3_gemm_hipBlaslt-bench.csv
148+
149+ - name : Run Prod Conv with verify numerics
150+ if : always() && (github.event_name == 'schedule' || inputs.run_prod_conv == true)
151+ run : |
152+ echo "============ Running Prod Conv shape with MIOpen and IREE without tuning ==================="
153+ iree-boo-driver \
154+ --commands-file amd-shark-ai-reports/boo/prod_conv_config.txt --csv output_artifacts/rdna3_prod_conv_miopen_iree.csv \
155+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
156+ 2>&1 | tee output_artifacts/rdna3_prod_conv_miopen_iree.log || true
157+
158+ - name : Run All Proxy
159+ if : always() && (github.event_name == 'schedule' || inputs.run_all_proxy == true)
160+ run : |
161+ echo "============ Running All proxy shape with MIOpen and IREE without tuning ==================="
162+ ## temporarily disable --backend=torch
163+ iree-boo-driver \
164+ --commands-file amd-shark-ai-reports/boo/all_proxy_config.txt --csv output_artifacts/rdna3_all_proxy_miopen_iree.csv \
165+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
166+ 2>&1 | tee output_artifacts/rdna3_all_proxy_miopen_iree.log || true
167+
168+ - name : Run Gemm with verify numerics
169+ if : always() # && (github.event_name == 'schedule' || inputs.run_gemm == true)
170+ run : |
171+ echo "============ Running Gemm shape with MIOpen and IREE without tuning ======================================="
172+ iree-boo-driver \
173+ --commands-file amd-shark-ai-reports/boo/gemm_config.txt --csv output_artifacts/rdna3_gemm_miopen_iree.csv \
174+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
175+ 2>&1 | tee output_artifacts/rdna3_gemm_miopen_iree.log || true
176+
177+ - name : Run Batch Norm with verify numerics
178+ if : always() # && (github.event_name == 'schedule' || inputs.run_batch_norm == true)
179+ run : |
180+ echo "============ Running Batch norm shape with MIOpen and IREE without tuning ======================================="
181+ iree-boo-driver \
182+ --commands-file amd-shark-ai-reports/boo/batch_norm_config.txt --csv output_artifacts/rdna3_batch_norm_miopen_iree.csv \
183+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
184+ 2>&1 | tee output_artifacts/rdna3_batch_norm_miopen_iree.log || true
185185
186186 - name : Run Prod Conv NCHW with verify numerics
187187 if : always() # if: false
188188 run : |
189189 echo "============ Running Prod Conv shape with NCHW layout with MIOpen and IREE without tuning ==================="
190190 iree-boo-driver \
191191 --commands-file amd-shark-ai-reports/boo/prod_conv_config_nchw.txt --csv output_artifacts/rdna3_prod_conv_miopen_iree_nchw.csv \
192- --backend=iree_boo_experimental \
192+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
193193 2>&1 | tee output_artifacts/rdna3_prod_conv_miopen_iree_nchw.log || true
194194
195195 - name : Run All Proxy NCHW with verify numerics
@@ -198,18 +198,18 @@ jobs:
198198 echo "============ Running All proxy shape with NCHW layout with MIOpen and IREE without tuning ==================="
199199 iree-boo-driver \
200200 --commands-file amd-shark-ai-reports/boo/all_proxy_config_nchw.txt --csv output_artifacts/rdna3_all_proxy_miopen_iree_nchw.csv \
201- --backend=iree_boo_experimental \
201+ --backend=iree_boo_experimental --verify-numerics --numerics-reference-dtype=float32 --numerics-min-samples 100 \
202202 2>&1 | tee output_artifacts/rdna3_all_proxy_miopen_iree_nchw.log || true
203203
204- # - name: Run Attention
205- # if: always() # && (github.event_name == 'schedule' || inputs.run_attention == true)
206- # run: |
207- # echo "============ Running attention shapes with Inductor and IREE without tuning ==================="
208- # pip install -r amdsharktuner/requirements-dev.txt
209- # iree-boo-driver \
210- # --commands-file amd-shark-ai-reports/boo/attention_shapes.txt --csv output_artifacts/rdna3_attention_shapes_miopen_iree.csv \
211- # --backend=iree_boo_experimental \
212- # 2>&1 | tee output_artifacts/rdna3_attention_shapes.log || true
204+ - name : Run Attention
205+ if : always() && (github.event_name == 'schedule' || inputs.run_all_proxy == true)
206+ run : |
207+ echo "============ Running attention shapes with Inductor and IREE without tuning ==================="
208+ pip install -r amdsharktuner/requirements-dev.txt
209+ iree-boo-driver \
210+ --commands-file amd-shark-ai-reports/boo/attention_shapes.txt --csv output_artifacts/rdna3_attention_shapes_miopen_iree.csv \
211+ --backend=iree_boo_experimental \
212+ 2>&1 | tee output_artifacts/rdna3_attention_shapes.log || true
213213
214214 - name : Upload log files
215215 if : always()
0 commit comments