IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
ba2818c verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.8.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,
"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": 17174.360064,
"system": "Windows",
"machine": "AMD64",
"platform": "Windows-10-10.0.26100-SP0",
"processor": "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD",
"python_version": "3.10.20",
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674",
"transformers_version": "4.56.2",
"transformers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674",
"accelerate_version": "1.10.1",
"accelerate_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674",
"diffusers_version": "0.35.1",
"diffusers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674",
"peft_version": "0.17.1",
"peft_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 922.509312,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
11.969329000000016
],
"count": 1,
"total": 11.969329000000016,
"mean": 11.969329000000016,
"p50": 11.969329000000016,
"p90": 11.969329000000016,
"p95": 11.969329000000016,
"p99": 11.969329000000016,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 942.592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.36248269999987315
],
"count": 1,
"total": 0.36248269999987315,
"mean": 0.36248269999987315,
"p50": 0.36248269999987315,
"p90": 0.36248269999987315,
"p95": 0.36248269999987315,
"p99": 0.36248269999987315,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 942.559232,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.1933541000000787,
0.18473730000005162,
0.19652330000008078,
0.21449619999998504,
0.19814329999985603,
0.2068354000000454
],
"count": 6,
"total": 1.1940896000000976,
"mean": 0.1990149333333496,
"p50": 0.1973332999999684,
"p90": 0.21066580000001522,
"p95": 0.21258100000000013,
"p99": 0.21411315999998806,
"stdev": 0.009519218678118703,
"stdev_": 4.783168036025734
},
"throughput": {
"unit": "samples/s",
"value": 10.049497123163135
},
"energy": null,
"efficiency": null
}
}
}