IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2681abd verified
raw
history blame
7.14 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "5ebc3e9d50d422174abacffe7091e4c9e1a49815",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 944.590848,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.228775840000026,
"mean": 4.228775840000026,
"stdev": 0.0,
"p50": 4.228775840000026,
"p90": 4.228775840000026,
"p95": 4.228775840000026,
"p99": 4.228775840000026,
"values": [
4.228775840000026
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.788691502777675e-05,
"ram": 2.0014343221952566e-06,
"gpu": 0,
"total": 4.988834934997201e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.061952,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 31,
"total": 1.0045934799999827,
"mean": 0.032406241290322026,
"stdev": 0.002616679411743248,
"p50": 0.031246302999988984,
"p90": 0.03555284300000494,
"p95": 0.03601932549997855,
"p99": 0.03861562690002529,
"values": [
0.035116786999992655,
0.03481515099997523,
0.034443473999999696,
0.03365877499999215,
0.03583912099998088,
0.0346432499999878,
0.03555284300000494,
0.03479008400000794,
0.034164621999991596,
0.031053391000000374,
0.031001524999965113,
0.031246302999988984,
0.030829352000012022,
0.03204561100000092,
0.030516406000003826,
0.030789365000032376,
0.029969617999995535,
0.029860765000023548,
0.02984665799999675,
0.029976119999957973,
0.030523987000037778,
0.035181534999992436,
0.03965109700004632,
0.03619952999997622,
0.029826308999986395,
0.029655920999971386,
0.02998584900001333,
0.033323793000022306,
0.03146460900001102,
0.029366698999979235,
0.029254930000035984
]
},
"throughput": {
"unit": "samples/s",
"value": 30.85825323094923
},
"energy": {
"unit": "kWh",
"cpu": 1.1810891708754159e-06,
"ram": 4.9359462352624945e-08,
"gpu": 0.0,
"total": 1.2304486332280408e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 812711.6996152318
}
}
}
}