IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8cb2705
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "d3c098f7db730a120ce09e9c390325447583d3b3", | |
"transformers_version": "4.43.2", | |
"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.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 946.991104, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.278040562000001, | |
"mean": 4.278040562000001, | |
"stdev": 0.0, | |
"p50": 4.278040562000001, | |
"p90": 4.278040562000001, | |
"p95": 4.278040562000001, | |
"p99": 4.278040562000001, | |
"values": [ | |
4.278040562000001 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.833392964469062e-05, | |
"ram": 2.020131797742124e-06, | |
"gpu": 0, | |
"total": 5.0354061442432745e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 954.724352, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 31, | |
"total": 1.0234726710001496, | |
"mean": 0.03301524745161773, | |
"stdev": 0.001192235179293202, | |
"p50": 0.033371417000012116, | |
"p90": 0.034147597000014684, | |
"p95": 0.03425226249999014, | |
"p99": 0.03445050070001798, | |
"values": [ | |
0.03375662700000248, | |
0.03371318599999995, | |
0.03273664200003168, | |
0.0318252309999707, | |
0.034189615000002505, | |
0.03379189200001065, | |
0.033695161000025564, | |
0.03358232099998304, | |
0.03270986199999015, | |
0.03226942100002361, | |
0.03064585800001396, | |
0.03347900900001832, | |
0.033449662999998964, | |
0.03336369199996625, | |
0.033371417000012116, | |
0.033215976999997565, | |
0.031996070000047894, | |
0.034147597000014684, | |
0.03279353800002127, | |
0.03357466699998213, | |
0.03305945500000007, | |
0.03269648599996344, | |
0.0323152750000304, | |
0.03124145999998973, | |
0.03278973099997984, | |
0.03392334700004085, | |
0.034508611000035216, | |
0.03431490999997777, | |
0.034110736999991786, | |
0.033559989000025325, | |
0.02864522400000169 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 30.289035436292046 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1101457439822916e-06, | |
"ram": 4.6395691735199304e-08, | |
"gpu": 0.0, | |
"total": 1.156541435717491e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 864646.9284341928 | |
} | |
} | |
} | |
} |