IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
de6a91c verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.184832,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 175,
"total": 0.9988813462257389,
"mean": 0.005707893407004221,
"stdev": 0.00038764377604764755,
"p50": 0.005544928073883057,
"p90": 0.006008627319335938,
"p95": 0.006112563180923462,
"p99": 0.007554068365097045,
"values": [
0.00802406406402588,
0.007574528217315674,
0.007546879768371582,
0.007201791763305664,
0.006049791812896729,
0.006112256050109863,
0.005983232021331787,
0.006113279819488526,
0.0060067839622497555,
0.006114304065704346,
0.005894144058227539,
0.005981184005737304,
0.005781504154205322,
0.005756927967071533,
0.005786623954772949,
0.005879807949066162,
0.005899263858795166,
0.006009856224060059,
0.00591974401473999,
0.005944320201873779,
0.005840896129608154,
0.00591871976852417,
0.005951488018035888,
0.005963776111602783,
0.0059771199226379395,
0.005976064205169678,
0.005951488018035888,
0.005940224170684814,
0.005892096042633056,
0.005963776111602783,
0.005934080123901367,
0.005889023780822754,
0.005744639873504639,
0.0057784318923950195,
0.005805056095123291,
0.005832704067230224,
0.005789696216583252,
0.005860352039337159,
0.005881855964660645,
0.0059269118309021,
0.006033408164978027,
0.0060282878875732426,
0.0060405759811401364,
0.006128640174865723,
0.00613478422164917,
0.0059064321517944334,
0.005950463771820068,
0.005976064205169678,
0.005956607818603516,
0.005963776111602783,
0.00588595199584961,
0.005753856182098388,
0.006012928009033203,
0.005883903980255127,
0.006707200050354004,
0.005982240200042724,
0.0059064321517944334,
0.005945343971252442,
0.005888000011444092,
0.005908480167388916,
0.005832704067230224,
0.005892096042633056,
0.00587775993347168,
0.005976064205169678,
0.0060026879310607914,
0.005979135990142822,
0.0059688959121704105,
0.005972991943359375,
0.005904384136199951,
0.00601087999343872,
0.005844992160797119,
0.0060282878875732426,
0.005847040176391601,
0.005760000228881836,
0.005752831935882568,
0.0055623679161071774,
0.005672959804534912,
0.0057784318923950195,
0.005700575828552246,
0.005504000186920166,
0.005438464164733887,
0.005504000186920166,
0.005480447769165039,
0.005541888236999512,
0.005535744190216065,
0.005653503894805908,
0.005835775852203369,
0.005673984050750733,
0.0057794561386108395,
0.005922815799713135,
0.005761023998260498,
0.005512191772460938,
0.005480447769165039,
0.005547008037567139,
0.005532671928405761,
0.005544928073883057,
0.005530623912811279,
0.005489664077758789,
0.005529600143432617,
0.005516287803649903,
0.00547430419921875,
0.005574656009674072,
0.005432320117950439,
0.005458943843841553,
0.005413887977600097,
0.005437439918518067,
0.005408768177032471,
0.005410816192626953,
0.005403647899627686,
0.005454847812652588,
0.005396480083465576,
0.005400576114654541,
0.005417952060699463,
0.005389311790466309,
0.005419007778167725,
0.005408768177032471,
0.005383232116699219,
0.005443583965301513,
0.005447679996490478,
0.005387263774871826,
0.005477375984191894,
0.005406720161437988,
0.005407743930816651,
0.005442527770996094,
0.005371903896331787,
0.005454847812652588,
0.005404672145843506,
0.005402624130249023,
0.005433375835418701,
0.0055101442337036136,
0.005409823894500732,
0.005444608211517334,
0.005398528099060058,
0.005393407821655274,
0.005499904155731201,
0.005392384052276611,
0.005449728012084961,
0.0054282240867614745,
0.005410816192626953,
0.005425151824951172,
0.005406720161437988,
0.005417984008789062,
0.005450751781463623,
0.005419007778167725,
0.005430272102355957,
0.005431263923645019,
0.00537497615814209,
0.005413887977600097,
0.005411839962005615,
0.005395455837249756,
0.0054271998405456545,
0.005431295871734619,
0.005387263774871826,
0.005444608211517334,
0.005411903858184814,
0.005408768177032471,
0.005493760108947754,
0.005404672145843506,
0.005402624130249023,
0.00542310380935669,
0.005386240005493164,
0.005425087928771973,
0.005403647899627686,
0.005404672145843506,
0.00546611213684082,
0.005425151824951172,
0.005383200168609619,
0.005441535949707031,
0.005410816192626953,
0.005446656227111817,
0.005438464164733887,
0.005392416000366211,
0.005440512180328369,
0.005429247856140137,
0.005400544166564942
]
},
"throughput": {
"unit": "samples/s",
"value": 175.19598364834366
},
"energy": {
"unit": "kWh",
"cpu": 6.360316818410701e-08,
"ram": 3.464593738821754e-08,
"gpu": 1.3605922946523404e-07,
"total": 2.3430833503755856e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4267880.610562593
}
}
}
}