IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
847e76a
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.2.1", | |
"optimum_benchmark_commit": "dc29eecfd7850e87154a5a92442eb64d237d0070", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1823.92832, | |
"max_global_vram": 1521.639424, | |
"max_process_vram": 100116.094976, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.996822740554809, | |
"mean": 0.006645484937032064, | |
"stdev": 0.0002771360041402749, | |
"p50": 0.006597043514251709, | |
"p90": 0.00674163498878479, | |
"p95": 0.0068039634227752685, | |
"p99": 0.007997535090446472, | |
"values": [ | |
0.008717284202575684, | |
0.008037283897399902, | |
0.007956163883209228, | |
0.007808323860168457, | |
0.006669923782348632, | |
0.006538722991943359, | |
0.006514243125915527, | |
0.006604164123535156, | |
0.006532163143157959, | |
0.006577123165130616, | |
0.006529764175415039, | |
0.0065257630348205566, | |
0.006593122959136963, | |
0.006575843811035156, | |
0.0065686430931091305, | |
0.006596962928771973, | |
0.006574244022369385, | |
0.006586243152618408, | |
0.0065924830436706544, | |
0.00658592414855957, | |
0.006550403118133545, | |
0.006584322929382324, | |
0.0065616040229797366, | |
0.006630562782287598, | |
0.006597922801971435, | |
0.00660256290435791, | |
0.006614882946014405, | |
0.006636484146118164, | |
0.006565762996673584, | |
0.006595202922821045, | |
0.00658432388305664, | |
0.006560643196105957, | |
0.006617282867431641, | |
0.006656003952026367, | |
0.006588482856750488, | |
0.006605762958526612, | |
0.006596963882446289, | |
0.006582882881164551, | |
0.0066137628555297855, | |
0.006615523815155029, | |
0.006525922775268555, | |
0.006631204128265381, | |
0.006647043228149414, | |
0.006606082916259765, | |
0.006627843856811523, | |
0.006588482856750488, | |
0.006590083122253418, | |
0.006611363887786865, | |
0.00662224292755127, | |
0.0066001639366149905, | |
0.006640323162078857, | |
0.006641922950744629, | |
0.006623363971710205, | |
0.006639042854309082, | |
0.006672002792358398, | |
0.006697124004364014, | |
0.0067795228958129885, | |
0.0067945637702941895, | |
0.00678592300415039, | |
0.006759684085845947, | |
0.006740482807159423, | |
0.006725283145904541, | |
0.006704483985900879, | |
0.00671440315246582, | |
0.006630564212799072, | |
0.006660003185272217, | |
0.006664483070373535, | |
0.006626083850860596, | |
0.006619843006134033, | |
0.006604642868041992, | |
0.006611363887786865, | |
0.006593122959136963, | |
0.006613284111022949, | |
0.006589602947235107, | |
0.006546082973480224, | |
0.0065592041015625, | |
0.006558242797851562, | |
0.0065572829246521, | |
0.00661600399017334, | |
0.006637443065643311, | |
0.006864482879638672, | |
0.006840323925018311, | |
0.006811522960662842, | |
0.006741923809051514, | |
0.006700643062591553, | |
0.006683043956756592, | |
0.006741602897644043, | |
0.0067019228935241695, | |
0.006660163879394531, | |
0.006633923053741455, | |
0.006684164047241211, | |
0.006638883113861084, | |
0.006614723205566406, | |
0.00659968376159668, | |
0.006776002883911133, | |
0.0067947239875793455, | |
0.0066800031661987305, | |
0.006726882934570313, | |
0.006707843780517578, | |
0.006672323226928711, | |
0.006682243824005127, | |
0.006663843154907227, | |
0.006625123023986816, | |
0.00666512393951416, | |
0.0065465631484985356, | |
0.0065379228591918945, | |
0.006580483913421631, | |
0.006572322845458984, | |
0.006624002933502197, | |
0.006575202941894532, | |
0.006575202941894532, | |
0.006509442806243896, | |
0.00654336404800415, | |
0.00653488302230835, | |
0.00650752305984497, | |
0.006544164180755615, | |
0.006510242938995361, | |
0.00653536319732666, | |
0.006513443946838379, | |
0.006536003112792969, | |
0.006526563167572021, | |
0.006524164199829102, | |
0.00650432300567627, | |
0.006504962921142578, | |
0.006522724151611328, | |
0.006487362861633301, | |
0.006531363010406494, | |
0.006518562793731689, | |
0.006537282943725586, | |
0.00654192304611206, | |
0.006538883209228515, | |
0.006516483783721924, | |
0.006518562793731689, | |
0.006517602920532227, | |
0.006588324069976807, | |
0.006597123146057129, | |
0.006577123165130616, | |
0.006611363887786865, | |
0.006585923194885254, | |
0.006567042827606201, | |
0.006587684154510498, | |
0.006565123081207275, | |
0.006551202774047852, | |
0.0065524840354919435, | |
0.006253763198852539, | |
0.006288642883300781, | |
0.007392323970794677, | |
0.006285762786865235, | |
0.006371842861175537, | |
0.006197443008422851 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.4781079899053 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |