TMP bert
Running the bert test on TensorFlow
This is currently blocked as a dependent python package needs to be built with a nightly version of the Rust compiler.
Ensure the virtual environment is prepared as described in TMP MLPerf Inference
Â
If on a machine with sufficient free storage space
Activate the virtual environment first and then
Â
python3 -m pip install transformers==4.14.1
cd ~/src/inference/language/bert
make setup
python3 run.py
Â
Or alternatively if you are on a machine in the Cambridge colo.
Mount the NFS drive with the already downloaded data TMP Cambridge Colo data server
Â
python3 -m pip install transformers==4.14.1
cd ~/src/inference/language/bert
make init_submodule
mkdir build
cp ../../mlperf.conf build
ln -s /mnt/datasets/data/bert build/data
python3 run.py