
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
508e90f
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.689792, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 0.9992258553504945, | |
"mean": 0.005520584836190577, | |
"stdev": 0.00023157995279430224, | |
"p50": 0.0055623679161071774, | |
"p90": 0.00577023983001709, | |
"p95": 0.005856256008148194, | |
"p99": 0.006007193756103515, | |
"values": [ | |
0.005980160236358643, | |
0.0060293121337890625, | |
0.006001664161682129, | |
0.005860352039337159, | |
0.006091775894165039, | |
0.005856256008148194, | |
0.005839871883392334, | |
0.005914624214172363, | |
0.005837823867797852, | |
0.005823488235473633, | |
0.005855231761932373, | |
0.005830656051635743, | |
0.0057487359046936035, | |
0.005768191814422607, | |
0.005798912048339844, | |
0.0057231678962707516, | |
0.005661695957183838, | |
0.00552345609664917, | |
0.005538815975189209, | |
0.005537792205810547, | |
0.005623807907104492, | |
0.005675007820129394, | |
0.005744639873504639, | |
0.005725152015686035, | |
0.005696512222290039, | |
0.005735424041748047, | |
0.005671999931335449, | |
0.005666816234588623, | |
0.005631968021392823, | |
0.005660672187805176, | |
0.005715968132019043, | |
0.005742591857910156, | |
0.00572211217880249, | |
0.005727231979370117, | |
0.005723135948181152, | |
0.005720064163208007, | |
0.005704607963562012, | |
0.005669888019561768, | |
0.005682176113128662, | |
0.005725247859954834, | |
0.00572211217880249, | |
0.005715968132019043, | |
0.005493760108947754, | |
0.005532671928405761, | |
0.005554175853729248, | |
0.005582848072052002, | |
0.005616672039031982, | |
0.005560319900512695, | |
0.0055623679161071774, | |
0.005672959804534912, | |
0.005615615844726562, | |
0.005718080043792725, | |
0.00573747205734253, | |
0.005796864032745362, | |
0.005725215911865234, | |
0.005739520072937012, | |
0.005729248046875, | |
0.005736447811126709, | |
0.005653439998626709, | |
0.005603328227996827, | |
0.00576204776763916, | |
0.00572211217880249, | |
0.005699584007263184, | |
0.005716063976287842, | |
0.005709824085235596, | |
0.005673984050750733, | |
0.005521471977233887, | |
0.0056514558792114256, | |
0.005635072231292724, | |
0.005672959804534912, | |
0.005628928184509278, | |
0.005730368137359619, | |
0.00577023983001709, | |
0.00556441593170166, | |
0.005606400012969971, | |
0.005620736122131348, | |
0.005629951953887939, | |
0.005634047985076904, | |
0.005594111919403076, | |
0.005667840003967285, | |
0.0056442880630493165, | |
0.005751808166503906, | |
0.00566476821899414, | |
0.005760000228881836, | |
0.005792768001556397, | |
0.005708799839019775, | |
0.005764095783233642, | |
0.005768191814422607, | |
0.0057149438858032225, | |
0.00576204776763916, | |
0.00587775993347168, | |
0.005662720203399658, | |
0.005576704025268555, | |
0.00572211217880249, | |
0.005344255924224854, | |
0.005212160110473632, | |
0.005189631938934326, | |
0.005124095916748047, | |
0.0051435518264770505, | |
0.005210112094879151, | |
0.0052336640357971195, | |
0.00516096019744873, | |
0.005121024131774903, | |
0.005090271949768067, | |
0.005053535938262939, | |
0.0051138558387756345, | |
0.005191679954528809, | |
0.005395455837249756, | |
0.005477375984191894, | |
0.0054609918594360355, | |
0.005402624130249023, | |
0.005493760108947754, | |
0.005972032070159912, | |
0.005616640090942383, | |
0.005554175853729248, | |
0.005566463947296142, | |
0.005931007862091065, | |
0.00566476821899414, | |
0.005362688064575195, | |
0.005352447986602784, | |
0.005310463905334473, | |
0.0053637118339538575, | |
0.0052971520423889164, | |
0.005278719902038574, | |
0.005325823783874512, | |
0.005310463905334473, | |
0.00530841588973999, | |
0.005351424217224121, | |
0.00531763219833374, | |
0.005288959980010987, | |
0.00537395191192627, | |
0.005296127796173096, | |
0.005269504070281982, | |
0.005286911964416504, | |
0.005305344104766845, | |
0.005261312007904053, | |
0.005281792163848877, | |
0.005273600101470947, | |
0.005248000144958496, | |
0.005298175811767578, | |
0.005280767917633057, | |
0.005274623870849609, | |
0.005298175811767578, | |
0.005303296089172363, | |
0.0053002238273620605, | |
0.005322751998901368, | |
0.005295104026794434, | |
0.005274623870849609, | |
0.0052899842262268066, | |
0.005281792163848877, | |
0.005275648117065429, | |
0.005302271842956543, | |
0.0052715520858764645, | |
0.005298175811767578, | |
0.005286911964416504, | |
0.005327871799468994, | |
0.005276671886444092, | |
0.005284863948822022, | |
0.005284863948822022, | |
0.0052674560546875, | |
0.005287936210632324, | |
0.005354496002197265, | |
0.005278719902038574, | |
0.005352479934692383, | |
0.005277696132659912, | |
0.005296127796173096, | |
0.005298175811767578, | |
0.005265503883361816, | |
0.005279744148254394, | |
0.005280767917633057, | |
0.005336063861846924, | |
0.005291007995605469, | |
0.005331967830657959, | |
0.005359615802764893, | |
0.005283840179443359, | |
0.0052930560111999515, | |
0.005278719902038574, | |
0.005286911964416504, | |
0.0053012480735778805, | |
0.005284863948822022, | |
0.005283840179443359 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.14022873888842 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.358289357387659e-08, | |
"ram": 3.476253184678225e-08, | |
"gpu": 1.3521401191444165e-07, | |
"total": 2.335594373351005e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4281565.375434799 | |
} | |
} | |
} | |
} |