Commit
•
903743d
1
Parent(s):
6a2ef5d
Upload cpu_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark_config.json with huggingface_hub
Browse files
cpu_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark_config.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "cpu_inference_transformers_image-classification_google/vit-base-patch16-224",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cpu",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "image-classification",
|
8 |
+
"model": "google/vit-base-patch16-224",
|
9 |
+
"library": "transformers",
|
10 |
+
"device": "cpu",
|
11 |
+
"device_ids": null,
|
12 |
+
"seed": 42,
|
13 |
+
"inter_op_num_threads": null,
|
14 |
+
"intra_op_num_threads": null,
|
15 |
+
"hub_kwargs": {
|
16 |
+
"revision": "main",
|
17 |
+
"force_download": false,
|
18 |
+
"local_files_only": false,
|
19 |
+
"trust_remote_code": false
|
20 |
+
},
|
21 |
+
"no_weights": true,
|
22 |
+
"device_map": null,
|
23 |
+
"torch_dtype": null,
|
24 |
+
"eval_mode": true,
|
25 |
+
"to_bettertransformer": false,
|
26 |
+
"low_cpu_mem_usage": null,
|
27 |
+
"attn_implementation": null,
|
28 |
+
"cache_implementation": null,
|
29 |
+
"autocast_enabled": false,
|
30 |
+
"autocast_dtype": null,
|
31 |
+
"torch_compile": false,
|
32 |
+
"torch_compile_target": "forward",
|
33 |
+
"torch_compile_config": {},
|
34 |
+
"quantization_scheme": null,
|
35 |
+
"quantization_config": {},
|
36 |
+
"deepspeed_inference": false,
|
37 |
+
"deepspeed_inference_config": {},
|
38 |
+
"peft_type": null,
|
39 |
+
"peft_config": {}
|
40 |
+
},
|
41 |
+
"scenario": {
|
42 |
+
"name": "inference",
|
43 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
44 |
+
"iterations": 1,
|
45 |
+
"duration": 1,
|
46 |
+
"warmup_runs": 1,
|
47 |
+
"input_shapes": {
|
48 |
+
"batch_size": 1,
|
49 |
+
"num_choices": 2,
|
50 |
+
"sequence_length": 2
|
51 |
+
},
|
52 |
+
"new_tokens": null,
|
53 |
+
"latency": true,
|
54 |
+
"memory": true,
|
55 |
+
"energy": true,
|
56 |
+
"forward_kwargs": {},
|
57 |
+
"generate_kwargs": {
|
58 |
+
"max_new_tokens": 2,
|
59 |
+
"min_new_tokens": 2
|
60 |
+
},
|
61 |
+
"call_kwargs": {
|
62 |
+
"num_inference_steps": 2
|
63 |
+
}
|
64 |
+
},
|
65 |
+
"launcher": {
|
66 |
+
"name": "process",
|
67 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
68 |
+
"device_isolation": false,
|
69 |
+
"device_isolation_action": "error",
|
70 |
+
"start_method": "spawn"
|
71 |
+
},
|
72 |
+
"environment": {
|
73 |
+
"cpu": " AMD EPYC 7763 64-Core Processor",
|
74 |
+
"cpu_count": 4,
|
75 |
+
"cpu_ram_mb": 16757.346304,
|
76 |
+
"system": "Linux",
|
77 |
+
"machine": "x86_64",
|
78 |
+
"platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
|
79 |
+
"processor": "x86_64",
|
80 |
+
"python_version": "3.10.14",
|
81 |
+
"optimum_benchmark_version": "0.2.0",
|
82 |
+
"optimum_benchmark_commit": "2e77e02d1fd3ab0d2e788c3d89c12299219a25e8",
|
83 |
+
"transformers_version": "4.40.2",
|
84 |
+
"transformers_commit": null,
|
85 |
+
"accelerate_version": "0.30.0",
|
86 |
+
"accelerate_commit": null,
|
87 |
+
"diffusers_version": "0.27.2",
|
88 |
+
"diffusers_commit": null,
|
89 |
+
"optimum_version": null,
|
90 |
+
"optimum_commit": null,
|
91 |
+
"timm_version": "0.9.16",
|
92 |
+
"timm_commit": null,
|
93 |
+
"peft_version": null,
|
94 |
+
"peft_commit": null
|
95 |
+
}
|
96 |
+
}
|