IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4e501d9
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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.342208, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1022-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "f85421c91b2a2b1bc0a30ceba32f9580499bf023", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 940.343296, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 24, | |
"total": 1.0347442529999853, | |
"mean": 0.043114343874999385, | |
"stdev": 0.0010066770095216943, | |
"p50": 0.04307350999999926, | |
"p90": 0.044481364799986524, | |
"p95": 0.045098134149981206, | |
"p99": 0.045718312090002086, | |
"values": [ | |
0.04333922099999654, | |
0.041851398999995126, | |
0.04192392499999187, | |
0.04215829399998938, | |
0.0422573390000025, | |
0.04222779299999502, | |
0.042567990000009104, | |
0.04515989499998341, | |
0.04474815599996873, | |
0.043629012999986116, | |
0.04344207299999425, | |
0.04302012499999819, | |
0.0424359229999709, | |
0.04294970299997658, | |
0.043500061999964146, | |
0.04312689500000033, | |
0.043364027999984955, | |
0.043127887000025567, | |
0.04385885200002804, | |
0.045885112000007666, | |
0.043411837000007836, | |
0.04223920400005454, | |
0.042108340000027056, | |
0.04241118700002744 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 23.194137034748376 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6626858600863704e-06, | |
"ram": 6.948065160784723e-08, | |
"gpu": 0.0, | |
"total": 1.7321665116942177e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 577311.7037240885 | |
} | |
} | |
} | |
} |