
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f9922f2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 950.82496, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 0.9969261078834528, | |
"mean": 0.005600708471255357, | |
"stdev": 0.000412370735873277, | |
"p50": 0.005487103939056397, | |
"p90": 0.005829008150100708, | |
"p95": 0.006119619083404542, | |
"p99": 0.007672415189743042, | |
"values": [ | |
0.00799948787689209, | |
0.007667712211608887, | |
0.007688159942626953, | |
0.007415743827819824, | |
0.00601907205581665, | |
0.006115327835083008, | |
0.00607535982131958, | |
0.005819392204284668, | |
0.005776383876800537, | |
0.005735424041748047, | |
0.005758975982666016, | |
0.0057149438858032225, | |
0.005709824085235596, | |
0.0057404799461364744, | |
0.005857312202453614, | |
0.005585919857025146, | |
0.00555622386932373, | |
0.005590015888214111, | |
0.005663712024688721, | |
0.005690368175506591, | |
0.005754879951477051, | |
0.005764095783233642, | |
0.0057487359046936035, | |
0.005808127880096436, | |
0.005713920116424561, | |
0.005701632022857666, | |
0.005650400161743164, | |
0.005791744232177734, | |
0.005823488235473633, | |
0.005752831935882568, | |
0.00582144021987915, | |
0.005843967914581299, | |
0.005788671970367432, | |
0.0057794561386108395, | |
0.0057415680885314945, | |
0.005732351779937744, | |
0.005743616104125977, | |
0.00573747205734253, | |
0.005730271816253662, | |
0.005755904197692871, | |
0.005598239898681641, | |
0.005691391944885254, | |
0.005654528141021729, | |
0.00566374397277832, | |
0.005668863773345947, | |
0.005587967872619629, | |
0.005659647941589355, | |
0.005681151866912842, | |
0.005701632022857666, | |
0.005848063945770264, | |
0.005776383876800537, | |
0.0058418879508972165, | |
0.005773312091827393, | |
0.00581324815750122, | |
0.0057404799461364744, | |
0.005794816017150879, | |
0.005645311832427978, | |
0.005700607776641845, | |
0.005806079864501953, | |
0.005808127880096436, | |
0.005699552059173584, | |
0.005747712135314941, | |
0.005882880210876465, | |
0.005611519813537597, | |
0.005675072193145752, | |
0.005654463768005371, | |
0.005776383876800537, | |
0.005649407863616943, | |
0.0057077760696411135, | |
0.005574656009674072, | |
0.005445631980895996, | |
0.005381120204925537, | |
0.00538316822052002, | |
0.005387263774871826, | |
0.005475327968597412, | |
0.005409791946411133, | |
0.005446656227111817, | |
0.005419007778167725, | |
0.005388288021087646, | |
0.005440512180328369, | |
0.005443520069122314, | |
0.005505023956298828, | |
0.005583903789520264, | |
0.005552127838134766, | |
0.005654528141021729, | |
0.0058091521263122555, | |
0.005715968132019043, | |
0.005724160194396972, | |
0.0055511040687561035, | |
0.005542912006378174, | |
0.005362688064575195, | |
0.005493760108947754, | |
0.005530623912811279, | |
0.005347328186035156, | |
0.005388288021087646, | |
0.005200863838195801, | |
0.005141503810882568, | |
0.005314559936523438, | |
0.005404672145843506, | |
0.005359615802764893, | |
0.005342207908630371, | |
0.006113279819488526, | |
0.005310463905334473, | |
0.0054692158699035645, | |
0.005344255924224854, | |
0.005359615802764893, | |
0.005506112098693848, | |
0.006379519939422608, | |
0.0066078720092773435, | |
0.006680575847625733, | |
0.006605823993682861, | |
0.0061439361572265625, | |
0.005459968090057373, | |
0.005463039875030518, | |
0.005447679996490478, | |
0.0054906878471374515, | |
0.005390336036682129, | |
0.005328896045684814, | |
0.005310463905334473, | |
0.0053012480735778805, | |
0.005318655967712403, | |
0.0053975038528442385, | |
0.005421055793762207, | |
0.005306367874145508, | |
0.005404640197753907, | |
0.005359615802764893, | |
0.005483520030975342, | |
0.00530841588973999, | |
0.005314559936523438, | |
0.005306367874145508, | |
0.0053002238273620605, | |
0.005338111877441406, | |
0.005276671886444092, | |
0.0052971520423889164, | |
0.005286911964416504, | |
0.005268479824066162, | |
0.005325823783874512, | |
0.00532476806640625, | |
0.005312511920928955, | |
0.00530944013595581, | |
0.005251071929931641, | |
0.0052408318519592285, | |
0.005255167961120606, | |
0.005296127796173096, | |
0.0053002238273620605, | |
0.005329919815063477, | |
0.005304351806640625, | |
0.005307392120361328, | |
0.005317567825317383, | |
0.005302271842956543, | |
0.005314559936523438, | |
0.005337152004241943, | |
0.0052899842262268066, | |
0.005313536167144775, | |
0.005322751998901368, | |
0.0052971520423889164, | |
0.005325823783874512, | |
0.005340159893035889, | |
0.005298175811767578, | |
0.005388288021087646, | |
0.005348351955413819, | |
0.005458943843841553, | |
0.005439487934112549, | |
0.005434368133544922, | |
0.005323775768280029, | |
0.005432320117950439, | |
0.005334080219268799, | |
0.005393407821655274, | |
0.0053012480735778805, | |
0.00532480001449585, | |
0.005307456016540527, | |
0.005318655967712403, | |
0.005388288021087646, | |
0.005321728229522705, | |
0.005291007995605469, | |
0.005327871799468994, | |
0.005322688102722168, | |
0.005406720161437988 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.5488398712989 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.254131072445921e-08, | |
"ram": 3.4192653011383586e-08, | |
"gpu": 1.2996647824210505e-07, | |
"total": 2.2670044197794784e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4411107.412385523 | |
} | |
} | |
} | |
} |