IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ca119fd verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 831.65184,
"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.7241845703125,
"mean": 7.7241845703125,
"stdev": 0.0,
"p50": 7.7241845703125,
"p90": 7.7241845703125,
"p95": 7.7241845703125,
"p99": 7.7241845703125,
"values": [
7.7241845703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.310498608333507e-06,
"ram": 2.345866362536019e-06,
"gpu": 6.730005383999817e-06,
"total": 1.3386370354869341e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1022.636032,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.9997389426231381,
"mean": 0.006942631545994017,
"stdev": 0.00022241816010627264,
"p50": 0.006853168010711669,
"p90": 0.00725350399017334,
"p95": 0.007288832187652588,
"p99": 0.007359293551445007,
"values": [
0.007550943851470948,
0.007373824119567871,
0.007270400047302246,
0.007268191814422608,
0.0073400321006774905,
0.007227488040924072,
0.0071905279159545895,
0.007288832187652588,
0.007258111953735351,
0.007323647975921631,
0.007207935810089112,
0.007194623947143554,
0.007184383869171143,
0.00709119987487793,
0.007171072006225586,
0.007156735897064209,
0.007137279987335205,
0.007188320159912109,
0.007305215835571289,
0.007122015953063965,
0.0071157760620117185,
0.007130176067352295,
0.007146495819091797,
0.007228415966033935,
0.0068537278175354,
0.006852608203887939,
0.006833151817321777,
0.006814720153808594,
0.006842368125915528,
0.006874207973480225,
0.006732800006866455,
0.006753215789794922,
0.00683622407913208,
0.006731776237487793,
0.006743040084838867,
0.0066713600158691405,
0.0067041277885437015,
0.00667955207824707,
0.00672870397567749,
0.006774784088134766,
0.006677631855010986,
0.0067205758094787595,
0.006923264026641846,
0.0068731198310852054,
0.006822912216186523,
0.006834176063537598,
0.006788095951080322,
0.006702079772949219,
0.006801407814025879,
0.0068577280044555666,
0.006796288013458252,
0.006788095951080322,
0.007172095775604248,
0.0072427520751953125,
0.007072768211364746,
0.007071712017059326,
0.007206912040710449,
0.007192575931549072,
0.007288832187652588,
0.007154687881469727,
0.007007232189178467,
0.007058432102203369,
0.007085055828094483,
0.007071743965148926,
0.007072768211364746,
0.007165952205657959,
0.007170048236846924,
0.00728166389465332,
0.007226367950439453,
0.007111680030822754,
0.0072130560874938965,
0.007264256000518799,
0.007168000221252442,
0.007138304233551026,
0.00707583999633789,
0.007009280204772949,
0.007332863807678222,
0.007139328002929687,
0.007333055973052978,
0.007029759883880615,
0.0069027838706970214,
0.007061503887176514,
0.007185408115386963,
0.006936575889587402,
0.0068392958641052244,
0.006998015880584717,
0.006960095882415772,
0.007184383869171143,
0.007126048088073731,
0.00698367977142334,
0.007096320152282715,
0.007172095775604248,
0.007278592109680176,
0.007096320152282715,
0.007007232189178467,
0.006883327960968018,
0.006813695907592773,
0.006825984001159668,
0.0067645440101623535,
0.006707200050354004,
0.006676640033721924,
0.006786143779754639,
0.006756351947784424,
0.006756351947784424,
0.006748159885406494,
0.006808640003204346,
0.006756351947784424,
0.006739903926849365,
0.006750304222106934,
0.0067010560035705566,
0.006684671878814697,
0.0067338237762451176,
0.006680575847625733,
0.006756351947784424,
0.00673689603805542,
0.006746111869812011,
0.006715392112731934,
0.006759424209594727,
0.006719488143920899,
0.006740992069244385,
0.0067645440101623535,
0.006776959896087647,
0.006669119834899902,
0.006636544227600098,
0.006687744140625,
0.006719488143920899,
0.0067358717918396,
0.006752255916595459,
0.006692863941192627,
0.006659071922302246,
0.00673689603805542,
0.006755328178405762,
0.006667263984680176,
0.006783999919891357,
0.006689792156219483,
0.006746111869812011,
0.006737919807434082,
0.006696959972381592,
0.006652863979339599,
0.006677440166473389,
0.006753376007080078,
0.0067552318572998045,
0.006767615795135498,
0.006806528091430664
]
},
"throughput": {
"unit": "samples/s",
"value": 144.03760207856806
},
"energy": {
"unit": "kWh",
"cpu": 7.854994528145753e-08,
"ram": 4.294532921835727e-08,
"gpu": 1.6955863454304678e-07,
"total": 2.9105390904286156e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3435789.6215464906
}
}
}
}