
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8c612e2
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": 951.156736, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 180, | |
"total": 0.9965194902420039, | |
"mean": 0.005536219390233358, | |
"stdev": 0.00021249530385449573, | |
"p50": 0.005560832023620605, | |
"p90": 0.005793279981613159, | |
"p95": 0.005850931167602539, | |
"p99": 0.006002271404266358, | |
"values": [ | |
0.006081600189208985, | |
0.0059699521064758305, | |
0.005850111961364746, | |
0.005943295955657959, | |
0.005798943996429443, | |
0.005866496086120605, | |
0.005981184005737304, | |
0.0058009600639343266, | |
0.005746687889099121, | |
0.0057497601509094234, | |
0.005765120029449463, | |
0.005834752082824707, | |
0.005789696216583252, | |
0.005700607776641845, | |
0.0058419198989868165, | |
0.005797887802124023, | |
0.005817344188690185, | |
0.005673984050750733, | |
0.005746655941009522, | |
0.005609471797943116, | |
0.005755904197692871, | |
0.0057712640762329105, | |
0.005783552169799804, | |
0.006164480209350586, | |
0.0058716158866882326, | |
0.005879807949066162, | |
0.005693344116210938, | |
0.005810175895690918, | |
0.005723135948181152, | |
0.005620736122131348, | |
0.005638144016265869, | |
0.005788671970367432, | |
0.005657599925994873, | |
0.005643263816833496, | |
0.005882847785949707, | |
0.005665952205657959, | |
0.005689343929290771, | |
0.005642240047454834, | |
0.005624864101409912, | |
0.0056514558792114256, | |
0.005635072231292724, | |
0.0057116799354553225, | |
0.005619711875915527, | |
0.005650432109832764, | |
0.005429247856140137, | |
0.0054876160621643065, | |
0.005563392162322998, | |
0.005578752040863037, | |
0.005659647941589355, | |
0.005481472015380859, | |
0.005560319900512695, | |
0.005633024215698243, | |
0.005773312091827393, | |
0.005738495826721191, | |
0.005667840003967285, | |
0.005798848152160645, | |
0.005718016147613526, | |
0.005753856182098388, | |
0.005767168045043946, | |
0.005753856182098388, | |
0.005601280212402344, | |
0.005550079822540284, | |
0.005684224128723145, | |
0.005674943923950195, | |
0.005658720016479492, | |
0.005604351997375488, | |
0.005703680038452149, | |
0.00575600004196167, | |
0.0055285758972167965, | |
0.005483456134796142, | |
0.0055285758972167965, | |
0.005658656120300293, | |
0.005614463806152344, | |
0.0055101442337036136, | |
0.005675007820129394, | |
0.00573747205734253, | |
0.005776447772979736, | |
0.005628928184509278, | |
0.005568511962890625, | |
0.005656576156616211, | |
0.00561356782913208, | |
0.005561344146728516, | |
0.0054967679977417, | |
0.005482495784759522, | |
0.005602303981781006, | |
0.005607423782348633, | |
0.005654528141021729, | |
0.005761023998260498, | |
0.005710912227630615, | |
0.005784575939178467, | |
0.005684224128723145, | |
0.00573641586303711, | |
0.005703680038452149, | |
0.005792768001556397, | |
0.005681151866912842, | |
0.005650432109832764, | |
0.005533599853515625, | |
0.005577600002288819, | |
0.005602335929870606, | |
0.005453824043273926, | |
0.005511168003082275, | |
0.005470208168029785, | |
0.005359615802764893, | |
0.0055552000999450684, | |
0.005515168190002442, | |
0.005435391902923584, | |
0.00551526403427124, | |
0.005299200057983398, | |
0.005313471794128418, | |
0.005338208198547363, | |
0.005384191989898681, | |
0.005400576114654541, | |
0.005588992118835449, | |
0.0053647360801696775, | |
0.005505023956298828, | |
0.005485568046569824, | |
0.005640192031860352, | |
0.005530623912811279, | |
0.005277696132659912, | |
0.005275775909423828, | |
0.005299200057983398, | |
0.005243904113769531, | |
0.00531763219833374, | |
0.005377024173736572, | |
0.005436416149139404, | |
0.005252096176147461, | |
0.0053821439743042, | |
0.005272575855255127, | |
0.005294079780578613, | |
0.005371903896331787, | |
0.0052510080337524415, | |
0.005339168071746826, | |
0.005294079780578613, | |
0.00522547197341919, | |
0.005249023914337158, | |
0.005265408039093018, | |
0.005468160152435303, | |
0.00530944013595581, | |
0.005340159893035889, | |
0.00530841588973999, | |
0.0053012480735778805, | |
0.005331967830657959, | |
0.005294079780578613, | |
0.005280767917633057, | |
0.005312511920928955, | |
0.005222335815429687, | |
0.005227519989013672, | |
0.0052930560111999515, | |
0.005269343852996826, | |
0.005233759880065918, | |
0.005305344104766845, | |
0.005219327926635742, | |
0.005278719902038574, | |
0.005347328186035156, | |
0.0052971520423889164, | |
0.0052899842262268066, | |
0.0053340158462524415, | |
0.005269504070281982, | |
0.005288959980010987, | |
0.005351424217224121, | |
0.00530944013595581, | |
0.005305344104766845, | |
0.005336063861846924, | |
0.005292031764984131, | |
0.00522547197341919, | |
0.005305344104766845, | |
0.005270463943481445, | |
0.005220352172851562, | |
0.005571584224700928, | |
0.005303296089172363, | |
0.005307392120361328, | |
0.005340159893035889, | |
0.005243904113769531, | |
0.005259263992309571, | |
0.005329919815063477, | |
0.00526643180847168, | |
0.005349376201629639, | |
0.0053637118339538575, | |
0.005281792163848877, | |
0.005228544235229492 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.6286798829063 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.340379005487366e-08, | |
"ram": 3.458081680733774e-08, | |
"gpu": 1.3277640645744934e-07, | |
"total": 2.3076101331966076e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4333487.644270109 | |
} | |
} | |
} | |
} |