IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d1c99c1
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": "ba7db8be4ae5965d5e6183075f0edd30672dab7b", | |
"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": 983.093248, | |
"max_global_vram": 1100.804096, | |
"max_process_vram": 45249.26976, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.60875634765625, | |
"mean": 7.60875634765625, | |
"stdev": 0.0, | |
"p50": 7.60875634765625, | |
"p90": 7.60875634765625, | |
"p95": 7.60875634765625, | |
"p99": 7.60875634765625, | |
"values": [ | |
7.60875634765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1831.202816, | |
"max_global_vram": 1244.114944, | |
"max_process_vram": 315393.110016, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 1.0003552069664, | |
"mean": 0.008067380701341937, | |
"stdev": 0.000385791541798963, | |
"p50": 0.008015948295593262, | |
"p90": 0.008309935665130615, | |
"p95": 0.008329567861557006, | |
"p99": 0.009327824258804318, | |
"values": [ | |
0.008692596435546875, | |
0.00828667163848877, | |
0.007856425762176513, | |
0.007922986984252929, | |
0.00788986587524414, | |
0.007951626777648926, | |
0.007887785911560058, | |
0.00784506607055664, | |
0.007816905021667481, | |
0.00782410478591919, | |
0.00779690408706665, | |
0.007724423885345459, | |
0.0077119431495666505, | |
0.007649222850799561, | |
0.007704102993011474, | |
0.007649383068084717, | |
0.007663622856140136, | |
0.007558181762695313, | |
0.007467940807342529, | |
0.00951756763458252, | |
0.008061708450317383, | |
0.00801658821105957, | |
0.008223150253295898, | |
0.00821819019317627, | |
0.008234991073608398, | |
0.008222670555114745, | |
0.008218351364135743, | |
0.00821483039855957, | |
0.008219630241394042, | |
0.008199790000915527, | |
0.008193389892578125, | |
0.008199151039123536, | |
0.008230351448059081, | |
0.008223950386047363, | |
0.008233070373535156, | |
0.008328751564025879, | |
0.008268590927124023, | |
0.008297390937805176, | |
0.00828523063659668, | |
0.008424753189086915, | |
0.008310511589050293, | |
0.008327631950378419, | |
0.008324912071228027, | |
0.008298192024230957, | |
0.00826795196533203, | |
0.008308591842651368, | |
0.008290511131286621, | |
0.008290350914001465, | |
0.008296430587768555, | |
0.008304271697998047, | |
0.008303471565246582, | |
0.008294992446899414, | |
0.008270831108093261, | |
0.008306991577148438, | |
0.008310511589050293, | |
0.0083297119140625, | |
0.007715784072875977, | |
0.008058507919311524, | |
0.007973227024078369, | |
0.007956107139587403, | |
0.00775386381149292, | |
0.007933227062225342, | |
0.007978346824645996, | |
0.007910507202148438, | |
0.007802024841308593, | |
0.00794426679611206, | |
0.008308591842651368, | |
0.007905385971069335, | |
0.007927145957946777, | |
0.007788904190063476, | |
0.008013068199157715, | |
0.007960268020629883, | |
0.007914027214050294, | |
0.007850505828857423, | |
0.007850666046142579, | |
0.008312591552734375, | |
0.007748744010925293, | |
0.007803625106811524, | |
0.007898345947265625, | |
0.007934505939483643, | |
0.00805162811279297, | |
0.00777402400970459, | |
0.007984746932983398, | |
0.007934025764465332, | |
0.008076588630676269, | |
0.008015308380126953, | |
0.008094348907470704, | |
0.008118028640747071, | |
0.007976586818695069, | |
0.008383952140808105, | |
0.008245870590209961, | |
0.008474674224853516, | |
0.008112588882446288, | |
0.008160749435424804, | |
0.00816571044921875, | |
0.007720583915710449, | |
0.007941866874694824, | |
0.007681543827056885, | |
0.007786505222320557, | |
0.007700583934783936, | |
0.007811464786529541, | |
0.00775770378112793, | |
0.007862986087799072, | |
0.008189550399780273, | |
0.00785786485671997, | |
0.008232911109924317, | |
0.00799098777770996, | |
0.008011628150939941, | |
0.008052268028259278, | |
0.0079977068901062, | |
0.008135628700256348, | |
0.008026667594909668, | |
0.008019468307495118, | |
0.007938986778259277, | |
0.007577861785888672, | |
0.007634663105010987, | |
0.007424900054931641, | |
0.011089268684387208, | |
0.007863306045532226, | |
0.008248431205749512, | |
0.008253070831298828, | |
0.008306031227111816, | |
0.007774024963378906, | |
0.007887946128845216 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.95596997593766 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |