IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8773de0 verified
raw
history blame
7.06 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": "ec76246b7d77d7915c49ba9843d6a6b46f9bc4da",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.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": 947.437568,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.2939494190000005,
"mean": 4.2939494190000005,
"stdev": 0.0,
"p50": 4.2939494190000005,
"p90": 4.2939494190000005,
"p95": 4.2939494190000005,
"p99": 4.2939494190000005,
"values": [
4.2939494190000005
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.819118181111214e-05,
"ram": 2.0141640395195605e-06,
"gpu": 0,
"total": 5.02053458506317e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 955.039744,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 29,
"total": 1.0015422129999365,
"mean": 0.034535938379308156,
"stdev": 0.0009618223021793158,
"p50": 0.03487666799998124,
"p90": 0.0354945622000173,
"p95": 0.03550336720001042,
"p99": 0.03574626207999472,
"values": [
0.034996793999994225,
0.035047038999948654,
0.03394317699996918,
0.032697647000020424,
0.03545174800001405,
0.03508063099997116,
0.034887398000023495,
0.03472016400002076,
0.033882242000004226,
0.033105242000033286,
0.034314913999992314,
0.03550481799999261,
0.03450144399999999,
0.03449125499997763,
0.03478485600004433,
0.03343748599996843,
0.03521545400002424,
0.03426763499999197,
0.03498157500001753,
0.03487666799998124,
0.03499579199996106,
0.03449449999999388,
0.033158051999976124,
0.03549290500001234,
0.035501191000037124,
0.03584015699999554,
0.035020669000005,
0.03534722499995269,
0.03150353500001302
]
},
"throughput": {
"unit": "samples/s",
"value": 28.955344690999897
},
"energy": {
"unit": "kWh",
"cpu": 1.1638110669934662e-06,
"ram": 4.863804091796492e-08,
"gpu": 0.0,
"total": 1.2124491079114311e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 824776.8862831722
}
}
}
}