IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
150c621 verified
raw
history blame
7.18 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": false,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16757.342208,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.5.0-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "74b6b688af9c4d636ae9725e491e6605ea93a83c",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 945.987584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.329997811999988,
"mean": 4.329997811999988,
"stdev": 0.0,
"p50": 4.329997811999988,
"p90": 4.329997811999988,
"p95": 4.329997811999988,
"p99": 4.329997811999988,
"values": [
4.329997811999988
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.9070270899999796e-05,
"ram": 2.050915363842668e-06,
"gpu": 0,
"total": 5.1121186263842465e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 953.720832,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 32,
"total": 0.9999645539998028,
"mean": 0.031248892312493837,
"stdev": 0.0010220220591546808,
"p50": 0.030893578499984642,
"p90": 0.03260687120002786,
"p95": 0.03339279690000012,
"p99": 0.03448751387997959,
"values": [
0.03125599600002715,
0.03230001800000082,
0.032024792999948204,
0.030547360000014123,
0.031100052999988748,
0.03092540799997323,
0.03078227999998262,
0.031200702000035108,
0.03081070300004285,
0.03092646199996807,
0.030568410000000767,
0.030646314999955848,
0.030861748999996053,
0.03111468099996273,
0.030560234000006403,
0.031119059999980436,
0.030575211999973817,
0.030306308999968223,
0.030781368000020848,
0.030799440999999206,
0.030472689999953673,
0.030776408999997784,
0.03102607599998919,
0.03121359599998641,
0.03081760600002781,
0.03066219499999079,
0.0346237439999868,
0.032745210000030056,
0.03161546799998405,
0.034184291999963534,
0.03264096600003086,
0.02997974800001657
]
},
"throughput": {
"unit": "samples/s",
"value": 32.00113431221314
},
"energy": {
"unit": "kWh",
"cpu": 1.1701760503267622e-06,
"ram": 4.890407153663811e-08,
"gpu": 0.0,
"total": 1.2190801218634003e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 820290.6290289356
}
}
}
}