Running BERT-Large on SambaNova DataScale SN30-8
Set Up
Establish a test directory from which to work.
Copy BertLarge.sh into your current directory.
Running Bert Large Options
Let's cover several options for executing the script.
- Basic
- Specify a Log File
This is helpful if doing multiple runs and one wishes to specify a run ID. This bash script argument is optional. Place it at the very end of the command.
Example:
sbatch --output=${HOME}/app-test/slurm-%A.out --cpus-per-task=128 --gres=rdu:16 BertLarge.sh my_runID
- Specify Nodelist
One may optionally specify a nodelist for sbatch. An example is to use hostname.
sbatch --nodelist $(hostname) --output=${HOME}/app-test/slurm-%A.out --cpus-per-task=128 --gres=rdu:16 BertLarge.sh
Running Bert Large
Let's specify the log file and the nodelist.
Run
sbatch --nodelist $(hostname) --output=${HOME}/app-test/slurm-%A.out --cpus-per-task=128 --gres=rdu:16 BertLarge.sh
Output
Display the slurm output. For example:
The output will look something like:
You may display that file. You may want to use less to do so because it is quite long.
The organization of the file is:
- System Status
- Compile (very long)
- Run
- System Status
- Run Duration