IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
0d04499 verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.5.1",
"_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": " AMD EPYC 7742 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 540671.643648,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA DGX Display",
"NVIDIA A100-SXM4-80GB"
],
"gpu_count": 5,
"gpu_vram_mb": 347892350976,
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "255731f77344711e9eceb05f05242ab24807da93",
"transformers_version": "4.45.1",
"transformers_commit": "255731f77344711e9eceb05f05242ab24807da93",
"accelerate_version": "1.10.0",
"accelerate_commit": "255731f77344711e9eceb05f05242ab24807da93",
"diffusers_version": "0.34.0",
"diffusers_commit": "255731f77344711e9eceb05f05242ab24807da93",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "255731f77344711e9eceb05f05242ab24807da93",
"peft_version": "0.17.0",
"peft_commit": "255731f77344711e9eceb05f05242ab24807da93"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1413.840896,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
4.1639623562805355
],
"count": 1,
"total": 4.1639623562805355,
"mean": 4.1639623562805355,
"p50": 4.1639623562805355,
"p90": 4.1639623562805355,
"p95": 4.1639623562805355,
"p99": 4.1639623562805355,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 1245.2864,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.06226044474169612
],
"count": 1,
"total": 0.06226044474169612,
"mean": 0.06226044474169612,
"p50": 0.06226044474169612,
"p90": 0.06226044474169612,
"p95": 0.06226044474169612,
"p99": 0.06226044474169612,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1252.732928,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.03449443681165576,
0.03458075923845172,
0.03466113889589906,
0.03409873601049185,
0.034206898882985115,
0.03449248382821679,
0.033879855647683144,
0.034238608088344336,
0.03446765663102269,
0.033799835946410894,
0.034014709293842316,
0.03481825394555926,
0.034330801106989384,
0.03409287519752979,
0.034085080958902836,
0.03404484502971172,
0.03420586697757244,
0.034769874066114426,
0.03501167707145214,
0.034737973008304834,
0.034395170863717794,
0.034669816959649324,
0.034660177771002054,
0.034490459598600864,
0.03469840995967388,
0.03481603926047683,
0.03456074092537165,
0.03448858577758074,
0.034941224846988916,
0.03515982395038009
],
"count": 30,
"total": 1.0339128165505826,
"mean": 0.03446376055168609,
"p50": 0.03449147171340883,
"p90": 0.03483055103570223,
"p95": 0.03497997357044369,
"p99": 0.03511686135549098,
"stdev": 0.0003372068145483418,
"stdev_": 0.9784388271924797
},
"throughput": {
"unit": "samples/s",
"value": 58.03197236704783
},
"energy": null,
"efficiency": null
}
}
}