use AM driver in bert mlperf (#9775)

we should commit to use AM. it's 7ms slower python time now
This commit is contained in:
chenyu
2025-04-07 23:40:27 -04:00
committed by GitHub
parent db22094d35
commit 4cc7422769

View File

@@ -21,7 +21,4 @@ sudo rmmod amdgpu || true
BENCHMARK=10 INITMLPERF=1 BERT_LAYERS=2 python3 examples/mlperf/model_train.py | tee $LOGFILE
# run
# TODO: AMD driver hangs during init, but is 5% faster per step in real run.
sudo modprobe amdgpu
PARALLEL=0 RUNMLPERF=1 python3 examples/mlperf/model_train.py | tee -a $LOGFILE
sudo rmmod amdgpu || true