IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9103547 verified
raw
history blame
6.87 kB
{
"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.338112,
"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.4.0",
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29",
"transformers_version": "4.43.3",
"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.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 947.126272,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.374500801000011,
"mean": 4.374500801000011,
"stdev": 0.0,
"p50": 4.374500801000011,
"p90": 4.374500801000011,
"p95": 4.374500801000011,
"p99": 4.374500801000011,
"values": [
4.374500801000011
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.8599159717559816e-05,
"ram": 2.031212926940403e-06,
"gpu": 0,
"total": 5.063037264450022e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 957.857792,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.037433161999843,
"mean": 0.04149732647999372,
"stdev": 0.002492943315220178,
"p50": 0.040579041999990295,
"p90": 0.0457460091999792,
"p95": 0.04668655640000452,
"p99": 0.04716546363997622,
"values": [
0.04577622199997222,
0.04570068999998966,
0.04476597099994706,
0.04724482899996474,
0.046914140000012594,
0.04146311199997399,
0.040100503000019216,
0.03987077300001829,
0.03928845400002956,
0.04007264000000532,
0.04111887799996339,
0.0410102540000139,
0.040842410999971435,
0.03965364700002283,
0.03957517000003463,
0.03932233699998733,
0.03943974599997091,
0.04009720599998445,
0.04059791299999915,
0.04108848100003115,
0.04033471999997573,
0.04033727500001305,
0.040579041999990295,
0.04348530499999015,
0.03875344299996186
]
},
"throughput": {
"unit": "samples/s",
"value": 24.097937983597813
},
"energy": {
"unit": "kWh",
"cpu": 1.5567159041380274e-06,
"ram": 6.505860170780154e-08,
"gpu": 0.0,
"total": 1.6217745058458287e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 616608.5336743253
}
}
}
}