
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3ff28bc
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.6.0.dev20240917+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 877.277184, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.82173046875, | |
"mean": 8.82173046875, | |
"stdev": 0.0, | |
"p50": 8.82173046875, | |
"p90": 8.82173046875, | |
"p95": 8.82173046875, | |
"p99": 8.82173046875, | |
"values": [ | |
8.82173046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.402123779873869e-06, | |
"ram": 2.3906092179557627e-06, | |
"gpu": 6.653894211998412e-06, | |
"total": 1.3446627209828043e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1115.656192, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.001117504119873, | |
"mean": 0.007050123268449809, | |
"stdev": 0.00025057454195385553, | |
"p50": 0.0070256638526916505, | |
"p90": 0.007279308891296387, | |
"p95": 0.0076892673492431635, | |
"p99": 0.007849571523666382, | |
"values": [ | |
0.007725056171417236, | |
0.007774208068847656, | |
0.007705599784851074, | |
0.007651328086853027, | |
0.0076912641525268555, | |
0.007799808025360107, | |
0.007628799915313721, | |
0.00808243179321289, | |
0.007801824092864991, | |
0.007200767993927002, | |
0.007138304233551026, | |
0.0071526398658752445, | |
0.007077888011932373, | |
0.007065599918365479, | |
0.007073791980743408, | |
0.007020544052124023, | |
0.007585792064666748, | |
0.007067647933959961, | |
0.007080959796905518, | |
0.0070522880554199216, | |
0.007267327785491944, | |
0.00704307222366333, | |
0.00704911994934082, | |
0.0070665922164917, | |
0.00704204797744751, | |
0.007039999961853028, | |
0.007012351989746094, | |
0.007008255958557129, | |
0.0070225920677185055, | |
0.0070256638526916505, | |
0.00708406400680542, | |
0.007030784130096435, | |
0.007044095993041993, | |
0.006999040126800537, | |
0.007078911781311035, | |
0.007030784130096435, | |
0.007067647933959961, | |
0.007032832145690918, | |
0.007066559791564941, | |
0.007021567821502686, | |
0.007054336071014404, | |
0.007021471977233886, | |
0.007048192024230957, | |
0.007132160186767578, | |
0.007012351989746094, | |
0.0070348801612854, | |
0.007082015991210938, | |
0.00703385591506958, | |
0.007038976192474365, | |
0.007045119762420654, | |
0.0070594558715820314, | |
0.0070348801612854, | |
0.007019519805908203, | |
0.007014400005340577, | |
0.006990848064422607, | |
0.007002111911773682, | |
0.007014400005340577, | |
0.007038976192474365, | |
0.007004159927368164, | |
0.007041024208068848, | |
0.007237696170806885, | |
0.0074403839111328125, | |
0.007079936027526855, | |
0.007008255958557129, | |
0.0070225920677185055, | |
0.0070594558715820314, | |
0.007018496036529541, | |
0.006990848064422607, | |
0.007006207942962647, | |
0.007017471790313721, | |
0.006996992111206054, | |
0.007004159927368164, | |
0.0070348801612854, | |
0.007104512214660645, | |
0.00709939193725586, | |
0.007029759883880615, | |
0.007013376235961914, | |
0.0070256638526916505, | |
0.007063488006591797, | |
0.007009280204772949, | |
0.006986752033233643, | |
0.007029759883880615, | |
0.007023615837097168, | |
0.007032832145690918, | |
0.007003136157989502, | |
0.0070430078506469726, | |
0.007064576148986816, | |
0.007015423774719238, | |
0.007116799831390381, | |
0.007021567821502686, | |
0.007045119762420654, | |
0.007165952205657959, | |
0.007045119762420654, | |
0.006996992111206054, | |
0.007009280204772949, | |
0.007011392116546631, | |
0.007003136157989502, | |
0.006994976043701172, | |
0.007017471790313721, | |
0.007019519805908203, | |
0.006999040126800537, | |
0.006980607986450196, | |
0.006985695838928223, | |
0.006859776020050049, | |
0.006788095951080322, | |
0.006739967823028564, | |
0.006809535980224609, | |
0.006791168212890625, | |
0.006750207901000976, | |
0.00678604793548584, | |
0.006894591808319092, | |
0.007169023990631103, | |
0.00710041618347168, | |
0.007147520065307617, | |
0.0071905279159545895, | |
0.007285759925842285, | |
0.007280640125274658, | |
0.007327744007110596, | |
0.007882751941680909, | |
0.006931456089019775, | |
0.006810624122619629, | |
0.006802464008331299, | |
0.006763519763946534, | |
0.006791168212890625, | |
0.00677785587310791, | |
0.006751232147216797, | |
0.006772736072540283, | |
0.006740992069244385, | |
0.006737919807434082, | |
0.006706175804138184, | |
0.00672976016998291, | |
0.006709311962127686, | |
0.006718463897705078, | |
0.00673689603805542, | |
0.006731776237487793, | |
0.006691840171813965, | |
0.00674403190612793, | |
0.006731808185577393, | |
0.006713344097137451, | |
0.006748159885406494, | |
0.006726655960083008, | |
0.006737919807434082 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.84149154882527 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.105454470437119e-08, | |
"ram": 4.429376272784951e-08, | |
"gpu": 1.7392682092513285e-07, | |
"total": 2.9927512835735354e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3341406.9705315987 | |
} | |
} | |
} | |
} |