IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1b571e4
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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "d4e01cd53c797cc9529d2651b70bdedc97c316bb", | |
"transformers_version": "4.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 946.405376, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.287883292999993, | |
"mean": 4.287883292999993, | |
"stdev": 0.0, | |
"p50": 4.287883292999993, | |
"p90": 4.287883292999993, | |
"p95": 4.287883292999993, | |
"p99": 4.287883292999993, | |
"values": [ | |
4.287883292999993 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.8202974266476106e-05, | |
"ram": 2.014642340758428e-06, | |
"gpu": 0, | |
"total": 5.0217616607234534e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 957.300736, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 26, | |
"total": 1.011733672000048, | |
"mean": 0.038912833538463386, | |
"stdev": 0.0008035271720227493, | |
"p50": 0.03872660550001683, | |
"p90": 0.03967197549997081, | |
"p95": 0.04056071700001951, | |
"p99": 0.04154251000001352, | |
"values": [ | |
0.03903375599998071, | |
0.03875076600002103, | |
0.03861639400003014, | |
0.04071799900003725, | |
0.03867788899998459, | |
0.038639998000007836, | |
0.03875412200000028, | |
0.0388055989999998, | |
0.03838800599999104, | |
0.038624830000003385, | |
0.039224251999996795, | |
0.038831066999989616, | |
0.03870244500001263, | |
0.03856855499998346, | |
0.03875819000001002, | |
0.038549019000015505, | |
0.03886679300001106, | |
0.03925507999997535, | |
0.03878385799998796, | |
0.03860804900000403, | |
0.038435266000021784, | |
0.038320440000006784, | |
0.040088870999966275, | |
0.04181734700000561, | |
0.03795868299999938, | |
0.03795639800000572 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 25.69846266814649 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4823762968243888e-06, | |
"ram": 6.195189145046242e-08, | |
"gpu": 0.0, | |
"total": 1.5443281882748513e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 647530.7564754657 | |
} | |
} | |
} | |
} |