IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0ef5313 verified
raw
history blame
5.94 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.1",
"optimum_benchmark_commit": "79990507b694d513bac81e140baff3af23a6bff7",
"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": 936.71424,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 28,
"total": 1.0240056579999646,
"mean": 0.03657163064285588,
"stdev": 0.0017464278394276223,
"p50": 0.03706138649999957,
"p90": 0.03772773680000228,
"p95": 0.03787638874999573,
"p99": 0.03835098933998211,
"values": [
0.03749122800002169,
0.03706104600001936,
0.036987447999990763,
0.036041463999993084,
0.03737990100000843,
0.03744559299997263,
0.03695636999998442,
0.036955529000010756,
0.036253027999975984,
0.03473598900001207,
0.03774897900001406,
0.037718632999997226,
0.03706172699997978,
0.03748448499999313,
0.036989532000006875,
0.03748380399997586,
0.03739596000002621,
0.03850115199998072,
0.037944993999985854,
0.03700147500001094,
0.03601153800002521,
0.03748902300003465,
0.03735119699996403,
0.037039515999993,
0.037391983000020446,
0.03339817400001266,
0.031248012999981256,
0.03143787699997347
]
},
"throughput": {
"unit": "samples/s",
"value": 27.34359891593584
},
"energy": {
"unit": "kWh",
"cpu": 1.2068131556013218e-06,
"ram": 5.043462608010817e-08,
"gpu": 0.0,
"total": 1.25724778168143e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 795388.1602102416
}
}
}
}