IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dcff81c verified
raw
history blame
6.12 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.3.0",
"optimum_benchmark_commit": "57f6495c03ea0fa48e157048c97add150dcd765c",
"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": 937.828352,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 32,
"total": 1.0087376919999542,
"mean": 0.03152305287499857,
"stdev": 0.0011621009057799418,
"p50": 0.031262884499994925,
"p90": 0.032842504900020233,
"p95": 0.033084657250012126,
"p99": 0.034610215830020934,
"values": [
0.031868089999989024,
0.03195508400000335,
0.033183429000018805,
0.03237163200003579,
0.03191554900001847,
0.03200786200000039,
0.03096351900001082,
0.03084405599997808,
0.030639795000013237,
0.030721045000007052,
0.030756322000002,
0.031104141999946933,
0.030773083999974915,
0.030495383000015863,
0.03037857599997551,
0.031015045000003738,
0.03052773399997477,
0.030484503999957724,
0.03131720099997892,
0.03224620700001424,
0.03226503199999797,
0.03183129100000315,
0.032236218999969424,
0.032389454999986356,
0.033003844000006666,
0.03525123600002189,
0.032630185000016354,
0.03286609600002066,
0.031208568000010928,
0.030397302000039872,
0.029694306999999753,
0.029395897999961562
]
},
"throughput": {
"unit": "samples/s",
"value": 31.722815806114887
},
"energy": {
"unit": "kWh",
"cpu": 1.198504468808672e-06,
"ram": 5.008693310483894e-08,
"gpu": 0.0,
"total": 1.2485914019135109e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 800902.5198054898
}
}
}
}