IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6c0fb28 verified
raw
history blame
6.79 kB
{
"config": {
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.338112,
"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": "8e57994b5ce38f2b6b651d101ec502f7ee7fbb9a",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 946.671616,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.507309443999986,
"mean": 4.507309443999986,
"stdev": 0.0,
"p50": 4.507309443999986,
"p90": 4.507309443999986,
"p95": 4.507309443999986,
"p99": 4.507309443999986,
"values": [
4.507309443999986
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.811920127777841e-05,
"ram": 2.0111261866330314e-06,
"gpu": 0,
"total": 5.0130327464411445e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 957.288448,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 23,
"total": 1.0175274939998076,
"mean": 0.04424032582607859,
"stdev": 0.0009786033449007722,
"p50": 0.04397690299998658,
"p90": 0.045753284399984294,
"p95": 0.046444834799973474,
"p99": 0.046874927259977994,
"values": [
0.044216549999987365,
0.04404357800001435,
0.045115086000009796,
0.04362193100001832,
0.043815040999959365,
0.04591283399997792,
0.04399309499996207,
0.04345804799999087,
0.04332128199996532,
0.04361417800004119,
0.043721607000009044,
0.04422984500001803,
0.04490580599997429,
0.04364181800002598,
0.04371806099999276,
0.04397690299998658,
0.04697956299997941,
0.04431701799995835,
0.043563884000036524,
0.04346100199995817,
0.04334249099997578,
0.04405392699999311,
0.046503945999972984
]
},
"throughput": {
"unit": "samples/s",
"value": 22.60381182388409
},
"energy": {
"unit": "kWh",
"cpu": 1.671634126620321e-06,
"ram": 6.986077376195908e-08,
"gpu": 0.0,
"total": 1.74149490038228e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 574219.3099620834
}
}
}
}