IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
872289b verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_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,
"tp_plan": null,
"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": "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD",
"cpu_count": 4,
"cpu_ram_mb": 17179.398144,
"system": "Windows",
"machine": "AMD64",
"platform": "Windows-10-10.0.20348-SP0",
"processor": "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD",
"python_version": "3.8.10",
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "f8cc4f1fcfab2d1301f39ec3aa895ba59803d7c0",
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.34.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 833.425408,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
11.997770599999999
],
"count": 1,
"total": 11.997770599999999,
"mean": 11.997770599999999,
"p50": 11.997770599999999,
"p90": 11.997770599999999,
"p95": 11.997770599999999,
"p99": 11.997770599999999,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 842.784768,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.2765962999999978
],
"count": 1,
"total": 0.2765962999999978,
"mean": 0.2765962999999978,
"p50": 0.2765962999999978,
"p90": 0.2765962999999978,
"p95": 0.2765962999999978,
"p99": 0.2765962999999978,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 842.641408,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.20808159999999987,
0.13845139999999745,
0.22528720000000035,
0.16235109999999864,
0.11964139999999901,
0.10214959999999706,
0.10577289999999806
],
"count": 7,
"total": 1.0617351999999904,
"mean": 0.15167645714285577,
"p50": 0.13845139999999745,
"p90": 0.21496384000000007,
"p95": 0.22012552000000019,
"p99": 0.2242548640000003,
"stdev": 0.045474047173301814,
"stdev_": 29.980952897965103
},
"throughput": {
"unit": "samples/s",
"value": 13.185961998811122
},
"energy": null,
"efficiency": null
}
}
}