IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
32c21d4 verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.6.0",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"allow_tf32": false,
"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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {},
"call_kwargs": {}
},
"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": "Apple M1 (Virtual)",
"cpu_count": 3,
"cpu_ram_mb": 7516.192768,
"system": "Darwin",
"machine": "arm64",
"platform": "macOS-14.7.4-arm64-arm-64bit",
"processor": "arm",
"python_version": "3.12.9",
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "bbca4c0833dddd655a709821a3b4cc93af36a0c7",
"transformers_version": "4.51.3",
"transformers_commit": null,
"accelerate_version": "1.6.0",
"accelerate_commit": null,
"diffusers_version": "0.33.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.15",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 500.744192,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
2.423298500000044
],
"count": 1,
"total": 2.423298500000044,
"mean": 2.423298500000044,
"p50": 2.423298500000044,
"p90": 2.423298500000044,
"p95": 2.423298500000044,
"p99": 2.423298500000044,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 942.178304,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.20595025000000078
],
"count": 1,
"total": 0.20595025000000078,
"mean": 0.20595025000000078,
"p50": 0.20595025000000078,
"p90": 0.20595025000000078,
"p95": 0.20595025000000078,
"p99": 0.20595025000000078,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 946.716672,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.07895104099998207,
0.05409287499998072,
0.058203041000012945,
0.07745870799999466,
0.07535966699998653,
0.07787770800001681,
0.07455604200004018,
0.05428845800003046,
0.048509332999969956,
0.045630625000001146,
0.04507741600002646,
0.04542500000002292,
0.044994667000025856,
0.044952249999994365,
0.0457578340000282,
0.04531083300003047,
0.052858500000013464,
0.045321750000027805
],
"count": 18,
"total": 1.014625748000185,
"mean": 0.05636809711112139,
"p50": 0.05068391649999171,
"p90": 0.0775844080000013,
"p95": 0.0780387079500116,
"p99": 0.07876857438998798,
"stdev": 0.013281057614988599,
"stdev_": 23.56130204077486
},
"throughput": {
"unit": "samples/s",
"value": 35.48106291502612
},
"energy": null,
"efficiency": null
}
}
}