IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5d316bd
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 983.12192, | |
"max_global_vram": 409.124864, | |
"max_process_vram": 43262.046208, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.02940478515625, | |
"mean": 7.02940478515625, | |
"stdev": 0.0, | |
"p50": 7.02940478515625, | |
"p90": 7.02940478515625, | |
"p95": 7.02940478515625, | |
"p99": 7.02940478515625, | |
"values": [ | |
7.02940478515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1834.070016, | |
"max_global_vram": 520.523776, | |
"max_process_vram": 271633.698816, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.0010286364555356, | |
"mean": 0.0069515877531634435, | |
"stdev": 0.00012484764648753414, | |
"p50": 0.006946569919586181, | |
"p90": 0.007150729846954346, | |
"p95": 0.007166402840614319, | |
"p99": 0.007207650957107544, | |
"values": [ | |
0.007198729991912842, | |
0.0072128109931945805, | |
0.0070704097747802735, | |
0.0069708900451660154, | |
0.007030250072479248, | |
0.0069297699928283696, | |
0.006919529914855957, | |
0.006999050140380859, | |
0.006956329822540283, | |
0.006990409851074218, | |
0.0069635300636291505, | |
0.0069187297821044925, | |
0.006933450222015381, | |
0.0070611310005187986, | |
0.007073609828948974, | |
0.00699137020111084, | |
0.007001130104064941, | |
0.007089290142059326, | |
0.007156651020050048, | |
0.007062089920043945, | |
0.007455211162567138, | |
0.0071462497711181645, | |
0.007198890209197998, | |
0.007044970035552978, | |
0.00720081090927124, | |
0.0071843299865722654, | |
0.007170091152191162, | |
0.007160009860992432, | |
0.007124489784240723, | |
0.007156489849090576, | |
0.007123209953308105, | |
0.007111849784851074, | |
0.007159049987792969, | |
0.007155051231384277, | |
0.0069604902267456055, | |
0.006883049964904785, | |
0.006989130020141602, | |
0.006945769786834716, | |
0.006934410095214844, | |
0.007014729976654053, | |
0.006908329963684082, | |
0.006913129806518555, | |
0.006890890121459961, | |
0.006890250205993652, | |
0.006928170204162597, | |
0.006952330112457276, | |
0.006961130142211914, | |
0.007007209777832031, | |
0.006958250045776367, | |
0.007037449836730957, | |
0.006967851161956787, | |
0.006885448932647705, | |
0.0068755288124084475, | |
0.006809609889984131, | |
0.0068545699119567875, | |
0.006796649932861328, | |
0.006805130004882812, | |
0.006792329788208008, | |
0.00683600902557373, | |
0.006868009090423584, | |
0.006802249908447266, | |
0.006859529972076416, | |
0.0068001699447631835, | |
0.006821290016174316, | |
0.006765289783477783, | |
0.006787848949432373, | |
0.006817770004272461, | |
0.006801449775695801, | |
0.006795690059661865, | |
0.006831210136413574, | |
0.006786250114440918, | |
0.006783848762512207, | |
0.006812970161437989, | |
0.006800809860229492, | |
0.006811530113220215, | |
0.006807690143585205, | |
0.006793289184570312, | |
0.006792008876800537, | |
0.006866409778594971, | |
0.006775529861450196, | |
0.0068142499923706055, | |
0.006759689807891846, | |
0.0068083291053771975, | |
0.006763370037078858, | |
0.006805769920349121, | |
0.006797770023345947, | |
0.006791850090026855, | |
0.006807689189910889, | |
0.006796168804168701, | |
0.006797450065612793, | |
0.006806089878082276, | |
0.006808969974517822, | |
0.007110410213470459, | |
0.007128650188446045, | |
0.0071675310134887696, | |
0.006984489917755127, | |
0.006923530101776123, | |
0.006954090118408203, | |
0.006931849956512451, | |
0.00691057014465332, | |
0.007156489849090576, | |
0.007152649879455566, | |
0.007107210159301758, | |
0.006961770057678222, | |
0.006850409984588623, | |
0.006971370220184326, | |
0.006990409851074218, | |
0.006950570106506348, | |
0.006886889934539795, | |
0.006930890083312988, | |
0.007049610137939453, | |
0.007045289993286133, | |
0.006948329925537109, | |
0.00697392988204956, | |
0.007001930236816406, | |
0.006988490104675293, | |
0.006957449913024902, | |
0.006972169876098633, | |
0.006992969989776611, | |
0.007005449771881104, | |
0.007018889904022217, | |
0.006961289882659912, | |
0.006995850086212159, | |
0.007080811023712158, | |
0.006947370052337647, | |
0.0069702501296997075, | |
0.006980329990386963, | |
0.006980649948120117, | |
0.006980169773101807, | |
0.0068571300506591795, | |
0.006926730155944825, | |
0.006999050140380859, | |
0.006922249794006348, | |
0.006895209789276123, | |
0.006921929836273193, | |
0.006908810138702393, | |
0.0069542498588562015, | |
0.006921929836273193, | |
0.006919209957122803, | |
0.006920010089874268, | |
0.006939369201660156, | |
0.006938089847564697, | |
0.006922249794006348, | |
0.006905449867248535 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.8520285592212 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |