IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cfc4c99
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.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": null, | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16766.7712, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "74ced8402064e977675db1260acc02c86f436230", | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 939.78624, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.671287318999987, | |
"mean": 4.671287318999987, | |
"stdev": 0.0, | |
"p50": 4.671287318999987, | |
"p90": 4.671287318999987, | |
"p95": 4.671287318999987, | |
"p99": 4.671287318999987, | |
"values": [ | |
4.671287318999987 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.968101743888869e-05, | |
"ram": 2.0775915676808085e-06, | |
"gpu": 0, | |
"total": 5.17586090065695e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 947.388416, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 27, | |
"total": 1.005779675000042, | |
"mean": 0.03725109907407563, | |
"stdev": 0.0006991846286503952, | |
"p50": 0.0371774689999711, | |
"p90": 0.03806194479998339, | |
"p95": 0.03849424419998968, | |
"p99": 0.03907574014001056, | |
"values": [ | |
0.037298423999970964, | |
0.036724679000030847, | |
0.03660080000003063, | |
0.0361763909999695, | |
0.03666782300001614, | |
0.03708860399996183, | |
0.03679307500004825, | |
0.036477540000021236, | |
0.03673853399999416, | |
0.03736303300001964, | |
0.0371774689999711, | |
0.03737504500003297, | |
0.03767573400000401, | |
0.03797662199997376, | |
0.03862466499998618, | |
0.03791970700001457, | |
0.036990941999988536, | |
0.039234226000019135, | |
0.03681071900001598, | |
0.03661535600002708, | |
0.03763147099999742, | |
0.0377423279999789, | |
0.03745688699996208, | |
0.038189928999997846, | |
0.03679347700000335, | |
0.03640700900001548, | |
0.03722918599999048 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 26.844845517482614 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4327353638888793e-06, | |
"ram": 5.991023034822035e-08, | |
"gpu": 0.0, | |
"total": 1.4926455942370995e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 669951.396273076 | |
} | |
} | |
} | |
} |