IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6a84885 verified
raw
history blame
12.8 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.0",
"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.595008,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 187,
"total": 0.994219899654388,
"mean": 0.005316683955371062,
"stdev": 0.0002498436931674448,
"p50": 0.005284863948822022,
"p90": 0.005650841617584229,
"p95": 0.005681459236145019,
"p99": 0.005812203636169433,
"values": [
0.006003712177276611,
0.005675007820129394,
0.005811200141906738,
0.005753856182098388,
0.00572108793258667,
0.005645311832427978,
0.005675007820129394,
0.005818367958068848,
0.005659647941589355,
0.0056217598915100095,
0.005641151905059814,
0.005636096000671387,
0.005650400161743164,
0.00536575984954834,
0.0052971520423889164,
0.0052091522216796875,
0.005260287761688232,
0.005393407821655274,
0.005399551868438721,
0.005419007778167725,
0.005451776027679443,
0.005436416149139404,
0.0053975038528442385,
0.005391359806060791,
0.005337152004241943,
0.005430272102355957,
0.0054241280555725096,
0.00547430419921875,
0.005444608211517334,
0.005430272102355957,
0.005380095958709717,
0.0053678078651428224,
0.005384191989898681,
0.005381120204925537,
0.005433343887329102,
0.005310463905334473,
0.005383135795593262,
0.0054917120933532714,
0.005478400230407715,
0.0056217598915100095,
0.005482495784759522,
0.005547008037567139,
0.005604351997375488,
0.005612544059753418,
0.005701632022857666,
0.005654528141021729,
0.005684224128723145,
0.005660672187805176,
0.005595136165618897,
0.005598207950592041,
0.00557260799407959,
0.0057077760696411135,
0.005652480125427246,
0.005585919857025146,
0.00561356782913208,
0.005565440177917481,
0.005590015888214111,
0.005593023777008057,
0.005554175853729248,
0.005659647941589355,
0.005650432109832764,
0.005554175853729248,
0.005568511962890625,
0.0055848960876464845,
0.005599232196807862,
0.005355519771575928,
0.005475327968597412,
0.005596159934997558,
0.005575679779052735,
0.0056514558792114256,
0.0057415680885314945,
0.005675007820129394,
0.005696512222290039,
0.005649407863616943,
0.005611519813537597,
0.005628928184509278,
0.005518335819244385,
0.005638112068176269,
0.0055552000999450684,
0.005445631980895996,
0.005409791946411133,
0.005274623870849609,
0.0053340158462524415,
0.005480447769165039,
0.005527520179748535,
0.0052930560111999515,
0.005213183879852295,
0.005284863948822022,
0.005223423957824707,
0.005219327926635742,
0.005282815933227539,
0.005449728012084961,
0.005447679996490478,
0.00530841588973999,
0.005419007778167725,
0.005483520030975342,
0.005590015888214111,
0.005476352214813233,
0.0053320322036743166,
0.0052367358207702636,
0.005206016063690186,
0.005304351806640625,
0.005245952129364013,
0.005215199947357177,
0.005288959980010987,
0.005212160110473632,
0.005221375942230225,
0.005281792163848877,
0.005215231895446777,
0.0052367358207702636,
0.005234687805175781,
0.005195775985717774,
0.005228544235229492,
0.005177408218383789,
0.005223423957824707,
0.005194752216339111,
0.005201920032501221,
0.005216256141662597,
0.00522649621963501,
0.005204991817474365,
0.005235712051391602,
0.005190656185150146,
0.0052367358207702636,
0.005204991817474365,
0.005198847770690918,
0.005194752216339111,
0.0051138558387756345,
0.005023744106292725,
0.004977663993835449,
0.0051773438453674315,
0.00522547197341919,
0.005082111835479736,
0.005155839920043945,
0.0050094079971313476,
0.005035007953643799,
0.004994048118591309,
0.005024703979492187,
0.004987904071807861,
0.005007391929626465,
0.004999167919158935,
0.005000192165374756,
0.005028863906860351,
0.00501043176651001,
0.005018623828887939,
0.00499507188796997,
0.004985856056213379,
0.0050206718444824215,
0.005023744106292725,
0.004999167919158935,
0.0050165758132934574,
0.004983808040618896,
0.004986879825592041,
0.005048319816589355,
0.005023744106292725,
0.005001215934753418,
0.0050022401809692385,
0.00501145601272583,
0.00501145601272583,
0.005030911922454834,
0.005024767875671386,
0.004996096134185791,
0.005045248031616211,
0.00498476791381836,
0.0050432000160217285,
0.004993023872375488,
0.005033984184265137,
0.0050032639503479,
0.005007359981536865,
0.004977663993835449,
0.005022719860076904,
0.005001215934753418,
0.005015552043914795,
0.005001215934753418,
0.005022719860076904,
0.0050432000160217285,
0.004998144149780274,
0.005021696090698242,
0.0049909758567810054,
0.005014527797698975,
0.004997119903564453,
0.0050421757698059086,
0.005008384227752686,
0.0050124797821044925,
0.005065663814544678,
0.005213183879852295,
0.005219327926635742,
0.005213215827941895
]
},
"throughput": {
"unit": "samples/s",
"value": 188.08716267397693
},
"energy": {
"unit": "kWh",
"cpu": 6.098957822533415e-08,
"ram": 3.332617124005293e-08,
"gpu": 1.271995319589739e-07,
"total": 2.21515281424361e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4514361.237608168
}
}
}
}