IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f1627a1
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.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": "ec76246b7d77d7915c49ba9843d6a6b46f9bc4da", | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": 945.741824, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.221389633999991, | |
"mean": 4.221389633999991, | |
"stdev": 0.0, | |
"p50": 4.221389633999991, | |
"p90": 4.221389633999991, | |
"p95": 4.221389633999991, | |
"p99": 4.221389633999991, | |
"values": [ | |
4.221389633999991 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.740196611111177e-05, | |
"ram": 1.981179444238331e-06, | |
"gpu": 0, | |
"total": 4.93831455553501e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 956.489728, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 23, | |
"total": 1.0024864459999776, | |
"mean": 0.04358636721739033, | |
"stdev": 0.0018841589532547995, | |
"p50": 0.044027357000004486, | |
"p90": 0.04488149079998607, | |
"p95": 0.04518575679999515, | |
"p99": 0.045402366740010504, | |
"values": [ | |
0.04432465499999694, | |
0.043588513000003104, | |
0.04266697299999578, | |
0.04545409600001449, | |
0.044765862999980754, | |
0.044027357000004486, | |
0.0430893449999985, | |
0.04227956599999061, | |
0.04521896299999639, | |
0.044257399000002806, | |
0.04414761299997849, | |
0.04372965799998951, | |
0.044886900999983936, | |
0.044010105000012345, | |
0.044859849999994594, | |
0.04471873500000356, | |
0.04373962599999004, | |
0.04337065500001813, | |
0.04482977300000357, | |
0.04449858199998857, | |
0.044018198000003395, | |
0.0379782410000189, | |
0.0380257790000087 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 22.942953584831326 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4712519860082328e-06, | |
"ram": 6.148704798728998e-08, | |
"gpu": 0.0, | |
"total": 1.5327390339955229e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 652426.7848736219 | |
} | |
} | |
} | |
} |