IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8568d56 verified
raw
history blame
10.9 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.285632,
"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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 969.617408,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0004440636634833,
"mean": 0.006947528219885297,
"stdev": 0.0004266605657175177,
"p50": 0.006774799823760986,
"p90": 0.007253753519058228,
"p95": 0.007283968114852905,
"p99": 0.009189990386962889,
"values": [
0.009796607971191406,
0.009313280105590821,
0.009026559829711914,
0.00733900785446167,
0.00727347183227539,
0.007311359882354736,
0.007275519847869873,
0.007136320114135742,
0.007137279987335205,
0.007223296165466309,
0.007228415966033935,
0.007261216163635254,
0.007252992153167725,
0.007224256038665771,
0.0072468481063842774,
0.007218175888061523,
0.007201824188232422,
0.007244800090789795,
0.007174143791198731,
0.007090176105499267,
0.007131135940551757,
0.007137279987335205,
0.007197696208953858,
0.007254079818725586,
0.007284736156463623,
0.007236608028411865,
0.007161888122558593,
0.007445504188537597,
0.007279615879058838,
0.007150591850280762,
0.00714137601852417,
0.007193600177764893,
0.00719974422454834,
0.007144447803497315,
0.007159808158874512,
0.007204927921295166,
0.007239615917205811,
0.007260159969329834,
0.007269375801086426,
0.00722431993484497,
0.007177216053009033,
0.007071743965148926,
0.006834176063537598,
0.006820864200592041,
0.0068065600395202635,
0.00682700777053833,
0.006852608203887939,
0.006807551860809326,
0.006490111827850342,
0.0064430079460144046,
0.006468607902526856,
0.006427648067474365,
0.0064767999649047855,
0.006668288230895996,
0.006876160144805908,
0.006920191764831543,
0.006976511955261231,
0.007031807899475098,
0.007070720195770264,
0.0069550080299377445,
0.006907904148101806,
0.006884352207183838,
0.006831103801727295,
0.006838272094726563,
0.006789120197296142,
0.006767615795135498,
0.006780928134918213,
0.00675328016281128,
0.006722559928894043,
0.0067358717918396,
0.0067645440101623535,
0.0067420158386230465,
0.006993919849395752,
0.0070266880989074704,
0.006860799789428711,
0.007795775890350342,
0.006773759841918945,
0.006765567779541016,
0.006760447978973389,
0.006761472225189209,
0.006731776237487793,
0.0067348480224609375,
0.006732800006866455,
0.006776832103729248,
0.0067717118263244626,
0.006770688056945801,
0.006730751991271973,
0.006739967823028564,
0.006829055786132812,
0.006895616054534912,
0.0067573761940002445,
0.00675328016281128,
0.006731776237487793,
0.006770688056945801,
0.006792191982269287,
0.006783999919891357,
0.00674508810043335,
0.006758399963378906,
0.006730751991271973,
0.006724544048309326,
0.006747136116027832,
0.0067420158386230465,
0.006738944053649902,
0.00672051191329956,
0.006767615795135498,
0.006739967823028564,
0.006738944053649902,
0.006762495994567871,
0.0067358717918396,
0.006725632190704346,
0.006744063854217529,
0.0067123198509216305,
0.0067051520347595215,
0.0067563199996948245,
0.0067573761940002445,
0.006721536159515381,
0.00672051191329956,
0.006739967823028564,
0.006790143966674805,
0.006751232147216797,
0.0067758398056030275,
0.0067348480224609375,
0.006860799789428711,
0.00674508810043335,
0.006737919807434082,
0.006743040084838867,
0.006703104019165039,
0.006743040084838867,
0.006744063854217529,
0.0067276802062988285,
0.006721536159515381,
0.0067348480224609375,
0.00672870397567749,
0.006758368015289307,
0.006744063854217529,
0.006719488143920899,
0.006752255916595459,
0.006726655960083008,
0.006738944053649902,
0.006739935874938965,
0.006732831954956055,
0.0067358717918396,
0.006709248065948486,
0.006755328178405762
]
},
"throughput": {
"unit": "samples/s",
"value": 143.9360832155799
},
"energy": {
"unit": "kWh",
"cpu": 8.020135308350173e-08,
"ram": 4.38374997106425e-08,
"gpu": 1.6959660714864643e-07,
"total": 2.936354599427907e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3405583.236421211
}
}
}
}