
IlyasMoutawwakil
HF Staff
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
bc38258
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": "7ce664a44e78da115577e1a13414c03086b9c191", | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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": 871.936, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
9.676415200000001 | |
], | |
"count": 1, | |
"total": 9.676415200000001, | |
"mean": 9.676415200000001, | |
"p50": 9.676415200000001, | |
"p90": 9.676415200000001, | |
"p95": 9.676415200000001, | |
"p99": 9.676415200000001, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"first_forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 839.806976, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.25628080000000253 | |
], | |
"count": 1, | |
"total": 0.25628080000000253, | |
"mean": 0.25628080000000253, | |
"p50": 0.25628080000000253, | |
"p90": 0.25628080000000253, | |
"p95": 0.25628080000000253, | |
"p99": 0.25628080000000253, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 839.790592, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.13268289999999894, | |
0.10763190000000122, | |
0.1052073, | |
0.14453579999999988, | |
0.09586889999999926, | |
0.09457139999999953, | |
0.10073470000000029, | |
0.08580399999999955, | |
0.08489850000000132, | |
0.09022750000000102 | |
], | |
"count": 10, | |
"total": 1.042162900000001, | |
"mean": 0.1042162900000001, | |
"p50": 0.09830179999999977, | |
"p90": 0.13386818999999903, | |
"p95": 0.13920199499999944, | |
"p99": 0.1434690389999998, | |
"stdev": 0.018791911119066352, | |
"stdev_": 18.031644687280977 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 19.19085778240617 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |