Skip to content

Commit 577999c

Browse files
Results from PACE-ICE cluster for TESTING
1 parent 03af19d commit 577999c

24 files changed

+5501
-0
lines changed

open/scc-133/code/bert-99/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TBD
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| Model | Scenario | Accuracy | Throughput | Latency (in ms) |
2+
|---------|------------|------------|--------------|-------------------|
3+
| bert-99 | offline | 90.8749 | 4.462 | - |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
This experiment is generated using the [MLCommons Collective Mind automation framework (CM)](https://github.com/mlcommons/cm4mlops).
2+
3+
*Check [CM MLPerf docs](https://docs.mlcommons.org/inference) for more details.*
4+
5+
## Host platform
6+
7+
* OS version: Linux-5.14.0-427.26.1.el9_4.x86_64-x86_64-with-glibc2.34
8+
* CPU version: x86_64
9+
* Python version: 3.12.6 | packaged by Anaconda, Inc. | (main, Oct 3 2024, 07:30:27) [GCC 11.2.0]
10+
* MLCommons CM version: 3.4.1
11+
12+
## CM Run Command
13+
14+
See [CM installation guide](https://docs.mlcommons.org/inference/install/).
15+
16+
```bash
17+
pip install -U cmind
18+
19+
cm rm cache -f
20+
21+
cm pull repo mlcommons@cm4mlops --checkout=b32ded2a4c3039ad16dadc734bee03dd1a97f228
22+
23+
cm run script \
24+
--tags=run-mlperf,inference,_r4.1-dev \
25+
--model=bert-99 \
26+
--implementation=reference \
27+
--framework=pytorch \
28+
--category=edge \
29+
--scenario=Offline \
30+
--execution_mode=valid \
31+
--device=cpu \
32+
--quiet
33+
```
34+
*Note that if you want to use the [latest automation recipes](https://docs.mlcommons.org/inference) for MLPerf (CM scripts),
35+
you should simply reload mlcommons@cm4mlops without checkout and clean CM cache as follows:*
36+
37+
```bash
38+
cm rm repo mlcommons@cm4mlops
39+
cm pull repo mlcommons@cm4mlops
40+
cm rm cache -f
41+
42+
```
43+
44+
## Results
45+
46+
Platform: atl1_1_02_010_5_1.pace.gatech.edu-reference-cpu-pytorch-v2.4.1-default_config
47+
48+
Model Precision: fp32
49+
50+
### Accuracy Results
51+
`F1`: `90.87487`, Required accuracy for closed division `>= 89.96526`
52+
53+
### Performance Results
54+
`Samples per second`: `4.46232`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/home/hice1/avivekanand3/CM/repos/local/cache/c88e5ba6fd9a4a86/inference/language/bert/pytorch_SUT.py:77: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
2+
self.model.load_state_dict(torch.load(model_file), strict=False)
3+
4+
No warnings encountered during test.
5+
6+
No errors encountered during test.
7+
Loading BERT configs...
8+
Loading PyTorch model...
9+
Constructing SUT...
10+
Finished constructing SUT.
11+
Constructing QSL...
12+
Loading cached features from 'eval_features.pickle'...
13+
Finished constructing QSL.
14+
Running LoadGen test...
15+
Done!
16+
Destroying SUT...
17+
Destroying QSL...
18+
Finished destroying SUT.
19+
Finished destroying QSL.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"starting_weights_filename": "https://armi.in/files/fp32/model.pytorch",
3+
"retraining": "no",
4+
"input_data_types": "fp32",
5+
"weight_data_types": "fp32",
6+
"weight_transformations": "none"
7+
}

0 commit comments

Comments
 (0)