IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
de4ef7c
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.354496, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 937.689088, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 23, | |
"total": 1.0341942949998497, | |
"mean": 0.04496496934781955, | |
"stdev": 0.0023704091367242027, | |
"p50": 0.04572768100001667, | |
"p90": 0.046523794599977464, | |
"p95": 0.046938371400000276, | |
"p99": 0.04745974193999132, | |
"values": [ | |
0.04698380700000371, | |
0.04596656499995788, | |
0.04550141099997518, | |
0.04636388400001579, | |
0.04608334200003128, | |
0.045806527000024744, | |
0.045707512999968, | |
0.04525920000003225, | |
0.04650116900000967, | |
0.04566945199997008, | |
0.0452726649999704, | |
0.04759397999998782, | |
0.04494546699999091, | |
0.046420479000005344, | |
0.046107047000020884, | |
0.045443873000010626, | |
0.04652945099996941, | |
0.04572768100001667, | |
0.04632731300000614, | |
0.041012093999995614, | |
0.03923728399996662, | |
0.040368557999954646, | |
0.039365532999966035 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 22.239534786839396 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.549767734658005e-06, | |
"ram": 6.476801627667984e-08, | |
"gpu": 0.0, | |
"total": 1.614535750934685e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 619373.0918755322 | |
} | |
} | |
} | |
} |