Commit
•
7d2a5a1
1
Parent(s):
13d6399
Upload cpu_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
Browse files
cpu_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "image-classification",
|
9 |
"library": "transformers",
|
|
|
10 |
"model": "google/vit-base-patch16-224",
|
11 |
"processor": "google/vit-base-patch16-224",
|
12 |
"device": "cpu",
|
@@ -73,14 +74,14 @@
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
-
"cpu_ram_mb": 16757.
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.3.1",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.42.4",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.32.1",
|
@@ -99,7 +100,7 @@
|
|
99 |
"forward": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
-
"max_ram":
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
@@ -108,34 +109,34 @@
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"count": 4,
|
111 |
-
"total": 1.
|
112 |
-
"mean": 0.
|
113 |
-
"stdev": 0.
|
114 |
-
"p50": 0.
|
115 |
-
"p90": 0.
|
116 |
-
"p95": 0.
|
117 |
-
"p99": 0.
|
118 |
"values": [
|
119 |
-
0.
|
120 |
-
0.
|
121 |
-
0.
|
122 |
-
0.
|
123 |
]
|
124 |
},
|
125 |
"throughput": {
|
126 |
"unit": "samples/s",
|
127 |
-
"value": 3.
|
128 |
},
|
129 |
"energy": {
|
130 |
"unit": "kWh",
|
131 |
-
"cpu": 8.
|
132 |
-
"ram": 3.
|
133 |
"gpu": 0.0,
|
134 |
-
"total": 9.
|
135 |
},
|
136 |
"efficiency": {
|
137 |
"unit": "samples/kWh",
|
138 |
-
"value":
|
139 |
}
|
140 |
}
|
141 |
}
|
|
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "image-classification",
|
9 |
"library": "transformers",
|
10 |
+
"model_type": "vit",
|
11 |
"model": "google/vit-base-patch16-224",
|
12 |
"processor": "google/vit-base-patch16-224",
|
13 |
"device": "cpu",
|
|
|
74 |
"environment": {
|
75 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
76 |
"cpu_count": 4,
|
77 |
+
"cpu_ram_mb": 16757.342208,
|
78 |
"system": "Linux",
|
79 |
"machine": "x86_64",
|
80 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
81 |
"processor": "x86_64",
|
82 |
"python_version": "3.10.14",
|
83 |
"optimum_benchmark_version": "0.3.1",
|
84 |
+
"optimum_benchmark_commit": "402644384abc46743e46dac65be6512bc68c9d92",
|
85 |
"transformers_version": "4.42.4",
|
86 |
"transformers_commit": null,
|
87 |
"accelerate_version": "0.32.1",
|
|
|
100 |
"forward": {
|
101 |
"memory": {
|
102 |
"unit": "MB",
|
103 |
+
"max_ram": 815.3088,
|
104 |
"max_global_vram": null,
|
105 |
"max_process_vram": null,
|
106 |
"max_reserved": null,
|
|
|
109 |
"latency": {
|
110 |
"unit": "s",
|
111 |
"count": 4,
|
112 |
+
"total": 1.1385979370000427,
|
113 |
+
"mean": 0.2846494842500107,
|
114 |
+
"stdev": 0.08595123954536603,
|
115 |
+
"p50": 0.23743144700000585,
|
116 |
+
"p90": 0.3759389321000242,
|
117 |
+
"p95": 0.40463555855003214,
|
118 |
+
"p99": 0.4275928597100386,
|
119 |
"values": [
|
120 |
+
0.4333321850000402,
|
121 |
+
0.24202134199998682,
|
122 |
+
0.23040285799999083,
|
123 |
+
0.23284155200002488
|
124 |
]
|
125 |
},
|
126 |
"throughput": {
|
127 |
"unit": "samples/s",
|
128 |
+
"value": 3.51309261154919
|
129 |
},
|
130 |
"energy": {
|
131 |
"unit": "kWh",
|
132 |
+
"cpu": 8.96967199113634e-06,
|
133 |
+
"ram": 3.7486832371314443e-07,
|
134 |
"gpu": 0.0,
|
135 |
+
"total": 9.344540314849485e-06
|
136 |
},
|
137 |
"efficiency": {
|
138 |
"unit": "samples/kWh",
|
139 |
+
"value": 107014.35986218519
|
140 |
}
|
141 |
}
|
142 |
}
|