IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d0153ad
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "c895bf73a88625eb69457460ea71175ef52a6cb9", | |
"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": 1831.95648, | |
"max_global_vram": 520.650752, | |
"max_process_vram": 71861.69856, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.999270767211914, | |
"mean": 0.00729394720592638, | |
"stdev": 0.0003656932181471119, | |
"p50": 0.007132147789001465, | |
"p90": 0.007877106666564942, | |
"p95": 0.00805364990234375, | |
"p99": 0.00826382556915283, | |
"values": [ | |
0.007979186058044433, | |
0.008025586128234863, | |
0.008171666145324706, | |
0.008114706039428711, | |
0.00815678596496582, | |
0.008114385604858398, | |
0.008050705909729004, | |
0.007769587039947509, | |
0.007308466911315918, | |
0.007280148029327392, | |
0.007030548095703125, | |
0.007262547969818115, | |
0.0072855868339538575, | |
0.007059827804565429, | |
0.0070585479736328125, | |
0.00709630823135376, | |
0.0070323081016540525, | |
0.00711726713180542, | |
0.007134387969970703, | |
0.007132147789001465, | |
0.007111348152160644, | |
0.007162868022918701, | |
0.007133587837219239, | |
0.007132308006286621, | |
0.007067187786102295, | |
0.007074707984924316, | |
0.007115828037261963, | |
0.007075828075408935, | |
0.007047667980194092, | |
0.0070695881843566896, | |
0.007038387775421142, | |
0.007266228199005127, | |
0.007091347217559814, | |
0.009593744277954102, | |
0.008315665245056152, | |
0.007011827945709229, | |
0.007140468120574952, | |
0.0073798270225524905, | |
0.007181747913360596, | |
0.006981428146362305, | |
0.007198387145996093, | |
0.007171988010406494, | |
0.007005268096923828, | |
0.007243186950683594, | |
0.007200788021087647, | |
0.007090707778930664, | |
0.00730830717086792, | |
0.007282227993011475, | |
0.007288787841796875, | |
0.0071907081604003905, | |
0.007235668182373047, | |
0.007092467784881592, | |
0.0072827072143554685, | |
0.007325108051300049, | |
0.0071195068359375, | |
0.007318227767944336, | |
0.007462546825408935, | |
0.007262707233428955, | |
0.00711102819442749, | |
0.007030548095703125, | |
0.007096148014068603, | |
0.007077587127685547, | |
0.0070871877670288085, | |
0.007105587959289551, | |
0.007037747859954834, | |
0.0071007881164550785, | |
0.007108306884765625, | |
0.00710718822479248, | |
0.0071625480651855465, | |
0.007158866882324219, | |
0.0070865478515625, | |
0.007100627899169922, | |
0.007066708087921142, | |
0.007061267852783203, | |
0.0076099071502685545, | |
0.007283987998962402, | |
0.0072159872055053715, | |
0.006996627807617188, | |
0.007449747085571289, | |
0.007916147232055665, | |
0.007915825843811035, | |
0.00785310697555542, | |
0.0073847870826721194, | |
0.007411346912384033, | |
0.007409427165985107, | |
0.007859187126159668, | |
0.007966065883636474, | |
0.007903985977172852, | |
0.007772467136383057, | |
0.007523666858673095, | |
0.007539186954498291, | |
0.00751630687713623, | |
0.007406386852264404, | |
0.007455827236175537, | |
0.007415987968444824, | |
0.007455986976623535, | |
0.007601906776428222, | |
0.00716750717163086, | |
0.007118867874145508, | |
0.007112627983093262, | |
0.00709710693359375, | |
0.007096948146820069, | |
0.007126867771148682, | |
0.007114548206329346, | |
0.007032147884368897, | |
0.007071988105773926, | |
0.007091187953948975, | |
0.007094548225402832, | |
0.007037588119506836, | |
0.006990387916564942, | |
0.007088307857513428, | |
0.00709470796585083, | |
0.00703134822845459, | |
0.007132147789001465, | |
0.007145427227020264, | |
0.008065425872802734, | |
0.007404307842254639, | |
0.007413268089294434, | |
0.0074606270790100095, | |
0.007362387180328369, | |
0.007115188121795654, | |
0.007108468055725098, | |
0.007087666988372803, | |
0.007083027839660644, | |
0.007087828159332276, | |
0.007103027820587159, | |
0.007099348068237305, | |
0.007080627918243408, | |
0.007029108047485352, | |
0.006990387916564942, | |
0.007080627918243408, | |
0.0070652680397033695, | |
0.007110227108001709, | |
0.007075667858123779, | |
0.0070667071342468265, | |
0.0070659079551696775, | |
0.007057268142700196 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.09997779905692 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |