IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
aabb35e
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.342208, | |
"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": "802823c7274dfd9b1edbe9a02521fdbafa78149a", | |
"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": 939.60192, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.3947021550000045, | |
"mean": 4.3947021550000045, | |
"stdev": 0.0, | |
"p50": 4.3947021550000045, | |
"p90": 4.3947021550000045, | |
"p95": 4.3947021550000045, | |
"p99": 4.3947021550000045, | |
"values": [ | |
4.3947021550000045 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.8251762655046256e-05, | |
"ram": 2.016690761302016e-06, | |
"gpu": 0, | |
"total": 5.026845341634827e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 948.514816, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 31, | |
"total": 1.0024762699998746, | |
"mean": 0.03233794419354434, | |
"stdev": 0.0010697664907368626, | |
"p50": 0.03217845099999295, | |
"p90": 0.0338364570000067, | |
"p95": 0.03395079500000975, | |
"p99": 0.0356496914000104, | |
"values": [ | |
0.03153270500001781, | |
0.031238586000029045, | |
0.03218055499996808, | |
0.03401811600002702, | |
0.0338364570000067, | |
0.03202133799999274, | |
0.03196568399999933, | |
0.03190756399999373, | |
0.03133098900002551, | |
0.03114010199999484, | |
0.030990714000040498, | |
0.03113281899999265, | |
0.031932300999983454, | |
0.03289243399996167, | |
0.032363456999974005, | |
0.03266910599995754, | |
0.03256865899999184, | |
0.03214607999996133, | |
0.03217845099999295, | |
0.0318971949999991, | |
0.032029172000022754, | |
0.032584528999962004, | |
0.033883473999992475, | |
0.03291621899995789, | |
0.032401136999965274, | |
0.032645813000044654, | |
0.031437478000043484, | |
0.032259691999968254, | |
0.032849914999985685, | |
0.03634893800000327, | |
0.031176591000019016 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 30.923425249760655 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.2753033296181737e-06, | |
"ram": 5.329684307269182e-08, | |
"gpu": 0.0, | |
"total": 1.3286001726908655e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 752671.8877167245 | |
} | |
} | |
} | |
} |