
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
51eba11
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"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": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.590016, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4737666015625, | |
"mean": 7.4737666015625, | |
"stdev": 0.0, | |
"p50": 7.4737666015625, | |
"p90": 7.4737666015625, | |
"p95": 7.4737666015625, | |
"p99": 7.4737666015625, | |
"values": [ | |
7.4737666015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.312926199701098e-06, | |
"ram": 2.3477611165364465e-06, | |
"gpu": 6.614171958000195e-06, | |
"total": 1.327485927423774e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 977.301504, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9983089933395384, | |
"mean": 0.00683773283109273, | |
"stdev": 0.0002810356918333054, | |
"p50": 0.006750208139419556, | |
"p90": 0.007157760143280029, | |
"p95": 0.0072775518894195555, | |
"p99": 0.00810219511985779, | |
"values": [ | |
0.007362527847290039, | |
0.007263232231140137, | |
0.007279615879058838, | |
0.007171072006225586, | |
0.007192575931549072, | |
0.0072120318412780765, | |
0.007202816009521484, | |
0.0071495680809020995, | |
0.007010303974151612, | |
0.007088191986083984, | |
0.007165952205657959, | |
0.007062528133392334, | |
0.007038976192474365, | |
0.006643712043762207, | |
0.0067010560035705566, | |
0.006751232147216797, | |
0.006760447978973389, | |
0.006815743923187256, | |
0.0068618240356445315, | |
0.006673344135284424, | |
0.006646783828735352, | |
0.006732800006866455, | |
0.0067717118263244626, | |
0.0067041277885437015, | |
0.006762527942657471, | |
0.006789120197296142, | |
0.006758399963378906, | |
0.007486464023590088, | |
0.007108607769012451, | |
0.0070830078125, | |
0.007034815788269043, | |
0.006949888229370117, | |
0.006881311893463134, | |
0.006917119979858399, | |
0.007039999961853028, | |
0.006947807788848877, | |
0.006895616054534912, | |
0.007005184173583984, | |
0.006947840213775635, | |
0.006754303932189941, | |
0.006855679988861084, | |
0.006802432060241699, | |
0.006762495994567871, | |
0.006804543972015381, | |
0.006909952163696289, | |
0.006631423950195312, | |
0.006761472225189209, | |
0.006848512172698974, | |
0.007121984004974365, | |
0.006998015880584717, | |
0.00704204797744751, | |
0.00693452787399292, | |
0.006899712085723877, | |
0.0069212160110473635, | |
0.0069928960800170895, | |
0.007069695949554444, | |
0.006948863983154297, | |
0.00690176010131836, | |
0.006668288230895996, | |
0.006701119899749756, | |
0.00714137601852417, | |
0.006816768169403077, | |
0.007028736114501953, | |
0.007271359920501709, | |
0.00710041618347168, | |
0.006765567779541016, | |
0.006854656219482422, | |
0.006810624122619629, | |
0.0066979842185974124, | |
0.006749184131622315, | |
0.006710271835327148, | |
0.006636544227600098, | |
0.006740992069244385, | |
0.006621183872222901, | |
0.006591487884521485, | |
0.00642252779006958, | |
0.006468607902526856, | |
0.0068178877830505375, | |
0.00729702377319336, | |
0.006882304191589355, | |
0.006663167953491211, | |
0.00658022403717041, | |
0.006661119937896728, | |
0.007114783763885498, | |
0.008042495727539062, | |
0.008151040077209473, | |
0.008165375709533691, | |
0.007464960098266602, | |
0.007012351989746094, | |
0.006883327960968018, | |
0.006873087882995605, | |
0.00693555212020874, | |
0.006737919807434082, | |
0.0067338237762451176, | |
0.006691840171813965, | |
0.006647808074951172, | |
0.006681600093841553, | |
0.006653952121734619, | |
0.006662144184112549, | |
0.0066375679969787596, | |
0.0066590080261230465, | |
0.006603775978088379, | |
0.006618112087249756, | |
0.006657023906707763, | |
0.006620160102844238, | |
0.006614016056060791, | |
0.006758368015289307, | |
0.006632448196411133, | |
0.0066119680404663084, | |
0.006628352165222168, | |
0.0066416640281677245, | |
0.006652927875518798, | |
0.006660096168518067, | |
0.006623263835906982, | |
0.00659660816192627, | |
0.006643712043762207, | |
0.006615039825439453, | |
0.006628352165222168, | |
0.006643712043762207, | |
0.006619135856628418, | |
0.006625279903411865, | |
0.006658048152923584, | |
0.006652927875518798, | |
0.006622208118438721, | |
0.006648831844329834, | |
0.006627327919006347, | |
0.006631423950195312, | |
0.0066938881874084475, | |
0.00688640022277832, | |
0.006653952121734619, | |
0.006657023906707763, | |
0.006626304149627686, | |
0.006594560146331787, | |
0.006677504062652588, | |
0.006648831844329834, | |
0.006602752208709717, | |
0.006688767910003662, | |
0.006672383785247803, | |
0.006586368083953857, | |
0.006636544227600098, | |
0.006639616012573242, | |
0.006694911956787109, | |
0.006654975891113281, | |
0.006660096168518067, | |
0.006586368083953857, | |
0.006633471965789795 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.2473051671121 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.951588431994122e-08, | |
"ram": 4.341218953111807e-08, | |
"gpu": 1.7076309957333076e-07, | |
"total": 2.936911734243901e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3404937.194196771 | |
} | |
} | |
} | |
} |