
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c8bdeb9
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.34.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.23776, | |
"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.68804052734375, | |
"mean": 7.68804052734375, | |
"stdev": 0.0, | |
"p50": 7.68804052734375, | |
"p90": 7.68804052734375, | |
"p95": 7.68804052734375, | |
"p99": 7.68804052734375, | |
"values": [ | |
7.68804052734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.352293013889469e-06, | |
"ram": 2.3392547052618832e-06, | |
"gpu": 6.37444954399997e-06, | |
"total": 1.3065997263151322e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.271552, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.999445728302002, | |
"mean": 0.0074033016911259405, | |
"stdev": 0.00020936887337130502, | |
"p50": 0.007481344223022461, | |
"p90": 0.007637849617004394, | |
"p95": 0.00769105920791626, | |
"p99": 0.007720591259002686, | |
"values": [ | |
0.007952383995056152, | |
0.007717887878417969, | |
0.007709695816040039, | |
0.007721983909606934, | |
0.00771068811416626, | |
0.007665664196014404, | |
0.007550975799560547, | |
0.00753868818283081, | |
0.007556096076965332, | |
0.007499839782714844, | |
0.007629824161529541, | |
0.0075632638931274416, | |
0.0074301438331604, | |
0.007561215877532959, | |
0.007512063980102539, | |
0.007501823902130127, | |
0.007576576232910156, | |
0.007672832012176513, | |
0.007715839862823487, | |
0.007649280071258545, | |
0.007485439777374267, | |
0.00749567985534668, | |
0.0076267518997192385, | |
0.007607295989990235, | |
0.0075939841270446775, | |
0.00758784008026123, | |
0.00757862377166748, | |
0.007494592189788819, | |
0.007540736198425293, | |
0.007592959880828858, | |
0.00759500789642334, | |
0.007717887878417969, | |
0.0074629120826721195, | |
0.007437312126159668, | |
0.007505919933319092, | |
0.007516160011291504, | |
0.007481344223022461, | |
0.007547904014587403, | |
0.007481344223022461, | |
0.007540671825408935, | |
0.007624703884124756, | |
0.007612448215484619, | |
0.00764518404006958, | |
0.007616511821746826, | |
0.007574528217315674, | |
0.007616511821746826, | |
0.007566336154937744, | |
0.007573503971099854, | |
0.007581696033477783, | |
0.007571455955505371, | |
0.007532544136047363, | |
0.0074741759300231934, | |
0.007444479942321777, | |
0.007540736198425293, | |
0.007529471874237061, | |
0.007621632099151611, | |
0.007449567794799805, | |
0.007485439777374267, | |
0.007522304058074952, | |
0.007507967948913574, | |
0.007507967948913574, | |
0.007524352073669433, | |
0.007514143943786621, | |
0.007572480201721191, | |
0.0076574721336364745, | |
0.007590911865234375, | |
0.0076431999206542965, | |
0.007683072090148926, | |
0.0075642881393432615, | |
0.007580671787261963, | |
0.007566336154937744, | |
0.007481344223022461, | |
0.007580671787261963, | |
0.007519231796264648, | |
0.007485439777374267, | |
0.00733900785446167, | |
0.007359488010406494, | |
0.0074741759300231934, | |
0.007336959838867187, | |
0.0072202239036560055, | |
0.007188479900360107, | |
0.007172095775604248, | |
0.0074035201072692874, | |
0.00728166389465332, | |
0.007309311866760254, | |
0.007322624206542969, | |
0.007354368209838867, | |
0.007516160011291504, | |
0.0073134078979492185, | |
0.00722438383102417, | |
0.007236608028411865, | |
0.00724070405960083, | |
0.0072724480628967286, | |
0.0071833600997924804, | |
0.007229440212249756, | |
0.00719155216217041, | |
0.007158783912658692, | |
0.007169023990631103, | |
0.007095232009887696, | |
0.007151616096496582, | |
0.007300096035003662, | |
0.007128064155578613, | |
0.007138304233551026, | |
0.00709939193725586, | |
0.007132160186767578, | |
0.007112703800201416, | |
0.007181312084197998, | |
0.007132160186767578, | |
0.007101439952850342, | |
0.007124991893768311, | |
0.007124991893768311, | |
0.007131135940551757, | |
0.0071198720932006835, | |
0.0070974078178405765, | |
0.007299071788787842, | |
0.007153664112091064, | |
0.00714137601852417, | |
0.007111680030822754, | |
0.007126016139984131, | |
0.007138304233551026, | |
0.007135231971740722, | |
0.007137279987335205, | |
0.007105535984039306, | |
0.00709939193725586, | |
0.007143424034118652, | |
0.0071157760620117185, | |
0.007153664112091064, | |
0.007108640193939209, | |
0.007137279987335205, | |
0.007137343883514404, | |
0.007145472049713135, | |
0.007116799831390381, | |
0.007094272136688232, | |
0.0071506562232971195, | |
0.007136256217956543 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.07486817654106 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.35601075126258e-08, | |
"ram": 4.553801833588441e-08, | |
"gpu": 1.856139791048956e-07, | |
"total": 3.147121049534058e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3177507.265403895 | |
} | |
} | |
} | |
} |