IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5ea1f0d verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"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": {},
"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,
"memory": true,
"latency": 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.041152,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.66344482421875,
"mean": 7.66344482421875,
"stdev": 0.0,
"p50": 7.66344482421875,
"p90": 7.66344482421875,
"p95": 7.66344482421875,
"p99": 7.66344482421875,
"values": [
7.66344482421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.305384571528216e-06,
"ram": 2.343871151091158e-06,
"gpu": 6.39778289600009e-06,
"total": 1.3047038618619464e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1093.12,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9999278073310853,
"mean": 0.006802229981844117,
"stdev": 0.00019222489812010458,
"p50": 0.006717343807220459,
"p90": 0.007107583904266358,
"p95": 0.0072620992660522455,
"p99": 0.007375339412689209,
"values": [
0.00738099193572998,
0.007368703842163086,
0.007305215835571289,
0.007270336151123047,
0.007242879867553711,
0.007178175926208496,
0.0072837438583374025,
0.007677824020385742,
0.006818687915802002,
0.006677504062652588,
0.006699007987976074,
0.006838399887084961,
0.00675328016281128,
0.006674592018127441,
0.0067276802062988285,
0.006706175804138184,
0.006696959972381592,
0.00667852783203125,
0.006676479816436768,
0.006636544227600098,
0.006687744140625,
0.006694943904876709,
0.006675551891326905,
0.006725632190704346,
0.006748159885406494,
0.006659071922302246,
0.006799488067626953,
0.006677504062652588,
0.006653088092803955,
0.006676479816436768,
0.006675456047058105,
0.007221248149871826,
0.007069695949554444,
0.006932608127593994,
0.006928287982940674,
0.006956992149353028,
0.00693555212020874,
0.006883232116699218,
0.006941696166992187,
0.007343039989471435,
0.007293951988220215,
0.006961152076721191,
0.006773727893829346,
0.006731743812561035,
0.0067010560035705566,
0.006687935829162598,
0.006707327842712402,
0.006670368194580078,
0.006672383785247803,
0.006817791938781738,
0.00688640022277832,
0.00684441614151001,
0.006714367866516113,
0.006694911956787109,
0.006725632190704346,
0.006708223819732666,
0.006759424209594727,
0.006713503837585449,
0.006660096168518067,
0.006713344097137451,
0.0067051520347595215,
0.0066826238632202144,
0.0067647042274475095,
0.0066744318008422855,
0.006724607944488525,
0.006690815925598144,
0.006687744140625,
0.006654047966003418,
0.006715392112731934,
0.0066835198402404785,
0.0067758078575134275,
0.006765567779541016,
0.006717343807220459,
0.006672383785247803,
0.006708223819732666,
0.006699071884155273,
0.0067123198509216305,
0.006670335769653321,
0.006692863941192627,
0.006688767910003662,
0.007085055828094483,
0.006732992172241211,
0.006720608234405518,
0.006716415882110595,
0.006683648109436035,
0.006718463897705078,
0.006668288230895996,
0.006691840171813965,
0.006704160213470459,
0.006689792156219483,
0.006697951793670654,
0.006735936164855957,
0.006726655960083008,
0.006762495994567871,
0.006714367866516113,
0.006687744140625,
0.006752255916595459,
0.006696959972381592,
0.00667852783203125,
0.006682752132415771,
0.006697023868560791,
0.006905856132507324,
0.0070431680679321285,
0.007082848072052002,
0.00714137601852417,
0.0071823358535766605,
0.0071833600997924804,
0.007194623947143554,
0.007037951946258545,
0.006966271877288818,
0.006895679950714112,
0.006923264026641846,
0.006905792236328125,
0.006933504104614257,
0.006818816184997558,
0.006703104019165039,
0.006730751991271973,
0.006678463935852051,
0.006724607944488525,
0.006719488143920899,
0.006789120197296142,
0.0067021121978759765,
0.0067276802062988285,
0.006723584175109864,
0.006665215969085693,
0.006688767910003662,
0.0067358717918396,
0.0067348480224609375,
0.006718463897705078,
0.006722559928894043,
0.006692863941192627,
0.006715263843536377,
0.006699967861175537,
0.006669248104095459,
0.006685696125030518,
0.006700160026550293,
0.006668288230895996,
0.006691840171813965,
0.006671296119689941,
0.006874112129211426,
0.006739967823028564,
0.006670335769653321,
0.006670335769653321,
0.006706111907958985,
0.006723584175109864,
0.006748159885406494,
0.006676479816436768
]
},
"throughput": {
"unit": "samples/s",
"value": 147.01061308851766
},
"energy": {
"unit": "kWh",
"cpu": 8.179525558428731e-08,
"ram": 4.472253103355637e-08,
"gpu": 1.7288519577931118e-07,
"total": 2.9940298239715486e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3339980.089688989
}
}
}
}