IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a4b147e
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": "0fe64c9dadf839c1f16495afd4c4cbc98fcfce05", | |
"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.974464, | |
"max_global_vram": 2674.782208, | |
"max_process_vram": 47229.878272, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.52858251953125, | |
"mean": 7.52858251953125, | |
"stdev": 0.0, | |
"p50": 7.52858251953125, | |
"p90": 7.52858251953125, | |
"p95": 7.52858251953125, | |
"p99": 7.52858251953125, | |
"values": [ | |
7.52858251953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1834.405888, | |
"max_global_vram": 2807.074816, | |
"max_process_vram": 305122.177024, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 1.0016808023452757, | |
"mean": 0.00827835373839071, | |
"stdev": 0.0001807193244403744, | |
"p50": 0.00825133991241455, | |
"p90": 0.008419819831848144, | |
"p95": 0.008515020370483399, | |
"p99": 0.008693515014648438, | |
"values": [ | |
0.008619338989257812, | |
0.00850029945373535, | |
0.008515020370483399, | |
0.008484139442443847, | |
0.008578700065612793, | |
0.008650379180908203, | |
0.008564779281616211, | |
0.008447500228881836, | |
0.008441099166870117, | |
0.008419659614562989, | |
0.008368780136108398, | |
0.00831581974029541, | |
0.008276140213012696, | |
0.008314379692077637, | |
0.008276780128479004, | |
0.00825133991241455, | |
0.008258859634399414, | |
0.008269579887390136, | |
0.008288140296936036, | |
0.008270059585571289, | |
0.008227181434631348, | |
0.008300621032714844, | |
0.008264620780944825, | |
0.008283499717712403, | |
0.008254859924316406, | |
0.008252300262451173, | |
0.008276140213012696, | |
0.009837736129760742, | |
0.008704298973083497, | |
0.008286540031433105, | |
0.008260621070861816, | |
0.008183661460876466, | |
0.008151980400085449, | |
0.00818302059173584, | |
0.008164621353149415, | |
0.008147820472717286, | |
0.008136301040649415, | |
0.00816077995300293, | |
0.00816510009765625, | |
0.008148140907287597, | |
0.008121260643005371, | |
0.008143340110778809, | |
0.008161260604858398, | |
0.008162699699401855, | |
0.008163020133972168, | |
0.008122060775756836, | |
0.0081460599899292, | |
0.00813054084777832, | |
0.008167019844055176, | |
0.008315019607543946, | |
0.008317580223083496, | |
0.008207500457763672, | |
0.008227181434631348, | |
0.008260141372680664, | |
0.008275179862976075, | |
0.008221260070800781, | |
0.008252300262451173, | |
0.008259180068969727, | |
0.008266860008239747, | |
0.008217901229858398, | |
0.008242541313171387, | |
0.008302060127258301, | |
0.008270059585571289, | |
0.008277099609375, | |
0.008219499588012696, | |
0.008352299690246583, | |
0.008283980369567871, | |
0.00824973964691162, | |
0.008279979705810547, | |
0.008226221084594726, | |
0.008283981323242188, | |
0.008291021347045898, | |
0.008233579635620117, | |
0.008270059585571289, | |
0.008372139930725098, | |
0.00829677963256836, | |
0.008162220001220704, | |
0.008151341438293457, | |
0.00833358097076416, | |
0.008226221084594726, | |
0.008283659934997559, | |
0.008211020469665528, | |
0.008335020065307617, | |
0.008330699920654296, | |
0.008322540283203126, | |
0.008316619873046875, | |
0.008269260406494141, | |
0.008474699974060059, | |
0.008196459770202637, | |
0.008217419624328613, | |
0.008222220420837402, | |
0.008210700988769531, | |
0.008156620979309082, | |
0.008131819725036621, | |
0.008258380889892579, | |
0.00811038112640381, | |
0.008230859756469727, | |
0.008138860702514648, | |
0.008228139877319336, | |
0.008122699737548828, | |
0.008251179695129394, | |
0.008236941337585449, | |
0.00821757984161377, | |
0.008419819831848144, | |
0.008348460197448731, | |
0.00824526023864746, | |
0.008220940589904786, | |
0.0082006196975708, | |
0.00814877986907959, | |
0.008110220909118653, | |
0.008211979866027832, | |
0.008153260231018067, | |
0.008282219886779785, | |
0.00823966121673584, | |
0.008219499588012696, | |
0.008238059997558594, | |
0.008232460021972657, | |
0.008254059791564941, | |
0.008243660926818847, | |
0.008239500999450684, | |
0.008236139297485352 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.7969641793052 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |