IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cea243d
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "06a9a039703e5370285ca115f872784a3a49a62c", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 946.50368, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.293029002999987, | |
"mean": 4.293029002999987, | |
"stdev": 0.0, | |
"p50": 4.293029002999987, | |
"p90": 4.293029002999987, | |
"p95": 4.293029002999987, | |
"p99": 4.293029002999987, | |
"values": [ | |
4.293029002999987 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.8045130570729574e-05, | |
"ram": 2.00805987602962e-06, | |
"gpu": 0, | |
"total": 5.0053190446759196e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 957.382656, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 23, | |
"total": 1.035964881999945, | |
"mean": 0.04504195139130195, | |
"stdev": 0.001451066946133706, | |
"p50": 0.04535920299997542, | |
"p90": 0.04627466819999313, | |
"p95": 0.04661665600000049, | |
"p99": 0.04688651924000851, | |
"values": [ | |
0.04535920299997542, | |
0.044911970000015344, | |
0.04364742100000285, | |
0.04606278499997529, | |
0.04542497500000309, | |
0.04574034499998447, | |
0.04469832999998857, | |
0.04407601100001557, | |
0.04490685999999755, | |
0.04664876900000081, | |
0.04509076200000095, | |
0.045376945999976215, | |
0.04394003699999871, | |
0.04695357700001068, | |
0.0453642329999866, | |
0.04632763899999759, | |
0.04529444300001728, | |
0.0448922120000077, | |
0.044852658999985806, | |
0.045969451000019035, | |
0.04558549600000106, | |
0.04552486499997599, | |
0.03931589300000837 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 22.201524781031356 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5173412795759676e-06, | |
"ram": 6.341285980795419e-08, | |
"gpu": 0.0, | |
"total": 1.5807541393839219e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 632609.4457609562 | |
} | |
} | |
} | |
} |