IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
051feee verified
raw
history blame
12.6 kB
{
"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",
"library": "timm",
"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": {},
"hub_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,
"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",
"numactl": false,
"numactl_kwargs": {},
"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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.1",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 951.271424,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 183,
"total": 0.9948143043518066,
"mean": 0.0054361437396273585,
"stdev": 0.00039981801956212284,
"p50": 0.0053944320678710935,
"p90": 0.005807910537719727,
"p95": 0.00592476487159729,
"p99": 0.007315640258789063,
"values": [
0.005947391986846923,
0.005636127948760986,
0.00572211217880249,
0.005863423824310303,
0.005816319942474365,
0.005784575939178467,
0.005799935817718506,
0.005798912048339844,
0.0058091521263122555,
0.00570470380783081,
0.005650432109832764,
0.0055940160751342775,
0.005484672069549561,
0.0053975038528442385,
0.005447679996490478,
0.005411680221557617,
0.005438464164733887,
0.005517312049865723,
0.005349376201629639,
0.005329951763153076,
0.005282815933227539,
0.005171199798583984,
0.0052674560546875,
0.005295104026794434,
0.005318592071533203,
0.00547430419921875,
0.005652448177337646,
0.005757952213287353,
0.005496831893920898,
0.005248000144958496,
0.005432320117950439,
0.0053002238273620605,
0.005186560153961181,
0.005425151824951172,
0.005464064121246338,
0.00541593599319458,
0.005525504112243652,
0.005492671966552735,
0.005479423999786377,
0.005442560195922852,
0.005434368133544922,
0.005497856140136719,
0.005578752040863037,
0.005517312049865723,
0.005463039875030518,
0.005269504070281982,
0.005285920143127442,
0.005401599884033203,
0.0054568958282470706,
0.005275648117065429,
0.005281792163848877,
0.00535859203338623,
0.00521830415725708,
0.0052070398330688475,
0.0053340158462524415,
0.005962783813476562,
0.005914656162261963,
0.005974016189575195,
0.005925888061523437,
0.005881855964660645,
0.005670911788940429,
0.005631999969482422,
0.005742656230926514,
0.005859327793121338,
0.005833727836608887,
0.005716991901397705,
0.005899263858795166,
0.005493760108947754,
0.0053002238273620605,
0.005356544017791748,
0.005389311790466309,
0.005384191989898681,
0.005458943843841553,
0.0055214080810546875,
0.00550707197189331,
0.005438464164733887,
0.005407743930816651,
0.005361663818359375,
0.005182464122772217,
0.0052408318519592285,
0.005296127796173096,
0.005249023914337158,
0.005260287761688232,
0.005363647937774658,
0.005408768177032471,
0.005610496044158936,
0.00572108793258667,
0.005670911788940429,
0.005649407863616943,
0.005610496044158936,
0.005475327968597412,
0.005540863990783691,
0.005482528209686279,
0.005355519771575928,
0.005445631980895996,
0.005428127765655518,
0.005322751998901368,
0.005328896045684814,
0.005129216194152832,
0.005113823890686035,
0.005090303897857666,
0.00511897611618042,
0.0050945281982421875,
0.005141503810882568,
0.0051138558387756345,
0.005004288196563721,
0.005024928092956543,
0.005398528099060058,
0.00580294418334961,
0.006238175868988037,
0.005548031806945801,
0.005641215801239013,
0.005623775959014893,
0.00568832015991211,
0.005682271957397461,
0.005831679821014404,
0.006139904022216797,
0.0056145920753479005,
0.005519360065460205,
0.005385216236114502,
0.005383232116699219,
0.0053944320678710935,
0.005385216236114502,
0.00547430419921875,
0.005455872058868408,
0.0054568958282470706,
0.00563097620010376,
0.005362688064575195,
0.005325823783874512,
0.005375999927520752,
0.0053053760528564455,
0.005299168109893799,
0.005436416149139404,
0.005259263992309571,
0.005379072189331055,
0.00551526403427124,
0.0054241280555725096,
0.007269375801086426,
0.007702527999877929,
0.007442431926727295,
0.007287807941436767,
0.005142528057098389,
0.005062655925750732,
0.005146624088287354,
0.005146624088287354,
0.0050382399559021,
0.005108736038208008,
0.005095327854156494,
0.005150720119476319,
0.005088255882263183,
0.0057497601509094234,
0.005475327968597412,
0.00510975980758667,
0.0050553598403930665,
0.0050206718444824215,
0.0050022401809692385,
0.0050165758132934574,
0.005030943870544434,
0.0050094079971313476,
0.0050063362121582035,
0.005074944019317627,
0.005081088066101074,
0.005098495960235596,
0.005047296047210693,
0.005064703941345215,
0.005026976108551026,
0.005005311965942383,
0.004984831809997559,
0.005005311965942383,
0.005033984184265137,
0.005025792121887207,
0.005061632156372071,
0.005087232112884522,
0.005070847988128662,
0.005071872234344482,
0.0051138558387756345,
0.0050841598510742185,
0.005101568222045898,
0.005040128231048584,
0.005009535789489746,
0.005028863906860351,
0.005141503810882568,
0.005096447944641113
]
},
"throughput": {
"unit": "samples/s",
"value": 183.95392908954776
},
"energy": {
"unit": "kWh",
"cpu": 5.997401713388403e-08,
"ram": 3.269414473834331e-08,
"gpu": 1.3519791960606064e-07,
"total": 2.2786608147828797e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4388542.575149712
}
}
}
}