IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3e272fa
verified
{ | |
"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_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.338112, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "ffcf92d83ccc277b83c83cfcdcd57e35055223d4", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 940.544, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.326041497000006, | |
"mean": 4.326041497000006, | |
"stdev": 0.0, | |
"p50": 4.326041497000006, | |
"p90": 4.326041497000006, | |
"p95": 4.326041497000006, | |
"p99": 4.326041497000006, | |
"values": [ | |
4.326041497000006 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.838228225708008e-05, | |
"ram": 2.0221491042908236e-06, | |
"gpu": 0, | |
"total": 5.0404431361370906e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 948.277248, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 31, | |
"total": 1.0270707629999833, | |
"mean": 0.03313131493548333, | |
"stdev": 0.001356600697006297, | |
"p50": 0.03308177399998158, | |
"p90": 0.03477596199996924, | |
"p95": 0.03556766300002323, | |
"p99": 0.03635428280000497, | |
"values": [ | |
0.03377372300002435, | |
0.03216541399996231, | |
0.03165565799997694, | |
0.03242321800001946, | |
0.031377195000004576, | |
0.03082038000002285, | |
0.03139384600001449, | |
0.0324159639999948, | |
0.03221997700001111, | |
0.03191231900001412, | |
0.03205334399996218, | |
0.03121975999999904, | |
0.03213708100003032, | |
0.03266676599997709, | |
0.03477596199996924, | |
0.03644931200000201, | |
0.03389991900002087, | |
0.033977904999972, | |
0.03354551400002492, | |
0.03308177399998158, | |
0.035002778000034596, | |
0.033641262999992705, | |
0.03376195999999254, | |
0.03360225000000128, | |
0.03331303699997079, | |
0.032986565000044266, | |
0.03376452499998095, | |
0.036132548000011866, | |
0.03472708999998986, | |
0.03232796899999357, | |
0.03384574699998666 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 30.182925185652962 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.2740330884106271e-06, | |
"ram": 5.32442176515216e-08, | |
"gpu": 0.0, | |
"total": 1.3272773060621487e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 753422.0583992836 | |
} | |
} | |
} | |
} |