IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
b3096d1 verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.5.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"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,
"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.9.13",
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": "4f95028868ff9375a69c6fc23903ac3b186eea0c",
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 474.918912,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
2.8872336
],
"count": 1,
"total": 2.8872336,
"mean": 2.8872336,
"p50": 2.8872336,
"p90": 2.8872336,
"p95": 2.8872336,
"p99": 2.8872336,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 843.501568,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.1325877999999996,
0.10183549999999997,
0.12236509999999967,
0.12417699999999954,
0.1154452999999993,
0.10138489999999933,
0.14011620000000136,
0.11418749999999989,
0.109645200000001
],
"count": 9,
"total": 1.0617444999999996,
"mean": 0.11797161111111107,
"p50": 0.1154452999999993,
"p90": 0.13409347999999993,
"p95": 0.13710484000000064,
"p99": 0.1395139280000012,
"stdev": 0.012415712824969187,
"stdev_": 10.524322511180676
},
"throughput": {
"unit": "samples/s",
"value": 16.953231215231167
},
"energy": null,
"efficiency": null
}
}
}