IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f1b163d
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_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": 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": "5ae03a669d2c4893dc609854294ec3bac19528a3", | |
"transformers_version": "4.42.4", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.900736, | |
"max_global_vram": 409.120768, | |
"max_process_vram": 46705.139712, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3118232421875, | |
"mean": 7.3118232421875, | |
"stdev": 0.0, | |
"p50": 7.3118232421875, | |
"p90": 7.3118232421875, | |
"p95": 7.3118232421875, | |
"p99": 7.3118232421875, | |
"values": [ | |
7.3118232421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1834.369024, | |
"max_global_vram": 520.470528, | |
"max_process_vram": 279427.125248, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9972928833961484, | |
"mean": 0.008042684543517328, | |
"stdev": 0.00033542145722217237, | |
"p50": 0.007938916444778442, | |
"p90": 0.008268370342254638, | |
"p95": 0.00852160096168518, | |
"p99": 0.0089637620639801, | |
"values": [ | |
0.008408753395080567, | |
0.008400753021240234, | |
0.0085892333984375, | |
0.008647632598876954, | |
0.008566513061523437, | |
0.008561391830444336, | |
0.008534032821655274, | |
0.008451153755187988, | |
0.00832603359222412, | |
0.008337233543395996, | |
0.008256434440612793, | |
0.00819483470916748, | |
0.00818347454071045, | |
0.008140595436096191, | |
0.00812059497833252, | |
0.008210514068603516, | |
0.008183315277099609, | |
0.008227954864501954, | |
0.00813963508605957, | |
0.008130354881286621, | |
0.008086674690246582, | |
0.008117395401000977, | |
0.008261874198913574, | |
0.008238035202026367, | |
0.00905819034576416, | |
0.008218833923339844, | |
0.01108249855041504, | |
0.008271154403686523, | |
0.007947155952453613, | |
0.007917235851287842, | |
0.007943955898284913, | |
0.007937397003173828, | |
0.007926836967468261, | |
0.007949235916137696, | |
0.007941236019134521, | |
0.007920276165008545, | |
0.007931955814361572, | |
0.007927956104278565, | |
0.0079271559715271, | |
0.007957235813140869, | |
0.007875637054443359, | |
0.007941075801849365, | |
0.007911157131195069, | |
0.007934357166290283, | |
0.007925716876983643, | |
0.007933395862579346, | |
0.007931635856628419, | |
0.00792923593521118, | |
0.007921716213226319, | |
0.007944275856018066, | |
0.007942036151885986, | |
0.007929716110229492, | |
0.007918035984039307, | |
0.007946196079254151, | |
0.0079337158203125, | |
0.007915956020355224, | |
0.007933395862579346, | |
0.00793947696685791, | |
0.007930356979370118, | |
0.007932755947113037, | |
0.007936436176300049, | |
0.007951635837554932, | |
0.007907636165618896, | |
0.007941555976867676, | |
0.00791835594177246, | |
0.007944275856018066, | |
0.007937555789947509, | |
0.007924275875091553, | |
0.007942515850067139, | |
0.007928915977478027, | |
0.00792859697341919, | |
0.007946355819702149, | |
0.00791835594177246, | |
0.00794571590423584, | |
0.007944915771484375, | |
0.007930836200714112, | |
0.00791611623764038, | |
0.007915316104888916, | |
0.007946035861968993, | |
0.007920596122741699, | |
0.007934356212615967, | |
0.007940755844116212, | |
0.007936436176300049, | |
0.007926677227020264, | |
0.007954036235809326, | |
0.007928276062011718, | |
0.007913556098937988, | |
0.007933075904846192, | |
0.00791899585723877, | |
0.007944595813751221, | |
0.007960276126861572, | |
0.007925556182861329, | |
0.007938355922698974, | |
0.007898516178131103, | |
0.007881556034088135, | |
0.00792603588104248, | |
0.007896915912628174, | |
0.007882676124572753, | |
0.007863956928253174, | |
0.00797259521484375, | |
0.007902037143707276, | |
0.00787899684906006, | |
0.007910515785217285, | |
0.007926516056060791, | |
0.00785563611984253, | |
0.007916275978088378, | |
0.007965715885162353, | |
0.007949716091156005, | |
0.007951955795288086, | |
0.007926516056060791, | |
0.007958995819091796, | |
0.007935155868530273, | |
0.007978675842285156, | |
0.007946196079254151, | |
0.007933395862579346, | |
0.00796427583694458, | |
0.007956276893615723, | |
0.007925076961517334, | |
0.007987956047058105, | |
0.007928435802459716, | |
0.007946195125579834, | |
0.007884756088256836, | |
0.007933556079864502, | |
0.00796427583694458 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.3365936571556 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |