IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4ececc7
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-1025-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "4b4932677f0bd8749fe6357b1db4dd74ebedf5df", | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 944.082944, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.316450664000001, | |
"mean": 4.316450664000001, | |
"stdev": 0.0, | |
"p50": 4.316450664000001, | |
"p90": 4.316450664000001, | |
"p95": 4.316450664000001, | |
"p99": 4.316450664000001, | |
"values": [ | |
4.316450664000001 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.7874481394444506e-05, | |
"ram": 2.0009205353748585e-06, | |
"gpu": 0, | |
"total": 4.987540192981936e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 954.830848, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 23, | |
"total": 1.0271298749999573, | |
"mean": 0.04465782065217206, | |
"stdev": 0.0025087718765646146, | |
"p50": 0.045369389999962095, | |
"p90": 0.047151583200002276, | |
"p95": 0.04720150299999091, | |
"p99": 0.0476477774399882, | |
"values": [ | |
0.046602700999983426, | |
0.04512995100003536, | |
0.04482609199999388, | |
0.047773033999988, | |
0.04720368599998892, | |
0.04633351699999366, | |
0.04451415700003736, | |
0.04402063300000236, | |
0.04642792299995335, | |
0.04566821999998183, | |
0.04648307700000487, | |
0.04565877200002433, | |
0.046222688999989714, | |
0.045323413999994955, | |
0.04703049199997622, | |
0.04718185600000879, | |
0.045369389999962095, | |
0.04086751599999161, | |
0.040214943000023595, | |
0.039660855000022366, | |
0.04137802200000351, | |
0.04375541600001043, | |
0.0394835189999867 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 22.392494425304253 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.512035776282031e-06, | |
"ram": 6.319141509855891e-08, | |
"gpu": 0.0, | |
"total": 1.57522719138059e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 634829.0617835014 | |
} | |
} | |
} | |
} |