IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d36c042
verified
{ | |
"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": null, | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16766.7712, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "ca2be18fea34395d17487b7c6eecaa82f8012043", | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 939.454464, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.344015485999989, | |
"mean": 4.344015485999989, | |
"stdev": 0.0, | |
"p50": 4.344015485999989, | |
"p90": 4.344015485999989, | |
"p95": 4.344015485999989, | |
"p99": 4.344015485999989, | |
"values": [ | |
4.344015485999989 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.7713323427779156e-05, | |
"ram": 1.995318641245429e-06, | |
"gpu": 0, | |
"total": 4.970864206902458e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 950.255616, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 25, | |
"total": 1.0129044570000474, | |
"mean": 0.0405161782800019, | |
"stdev": 0.0012584097347280345, | |
"p50": 0.04005576000002975, | |
"p90": 0.04184700740001972, | |
"p95": 0.04273932179999065, | |
"p99": 0.04438304792003009, | |
"values": [ | |
0.04018999100003384, | |
0.039707910000004176, | |
0.03939373399998658, | |
0.04051532699998006, | |
0.04295522299997856, | |
0.04035036999999875, | |
0.04005576000002975, | |
0.04002929099999619, | |
0.039691108999988955, | |
0.04065912600003685, | |
0.04113184900000988, | |
0.04048548200000823, | |
0.040021876999958295, | |
0.03964616600001136, | |
0.03988976300001923, | |
0.03959778500001221, | |
0.04014692000004061, | |
0.03974203399997123, | |
0.03978879099997812, | |
0.041803942999990795, | |
0.03970121799994786, | |
0.041875717000039, | |
0.04483394000004637, | |
0.038987314999985756, | |
0.04170381599999473 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 24.68149866182179 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5150413982906432e-06, | |
"ram": 6.335226989406799e-08, | |
"gpu": 0.0, | |
"total": 1.578393668184711e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 633555.5065613551 | |
} | |
} | |
} | |
} |