IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0c2d55e
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": "1173614d292a81ced361d45dc81b00032c019f3c", | |
"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.322624, | |
"max_global_vram": 2695.757824, | |
"max_process_vram": 48048.263168, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.62524951171875, | |
"mean": 7.62524951171875, | |
"stdev": 0.0, | |
"p50": 7.62524951171875, | |
"p90": 7.62524951171875, | |
"p95": 7.62524951171875, | |
"p99": 7.62524951171875, | |
"values": [ | |
7.62524951171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1834.143744, | |
"max_global_vram": 2807.074816, | |
"max_process_vram": 292881.28512, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.997586097240448, | |
"mean": 0.008045049171293936, | |
"stdev": 4.720536652901321e-05, | |
"p50": 0.008038926124572753, | |
"p90": 0.00807911901473999, | |
"p95": 0.008093654346466065, | |
"p99": 0.008217678127288817, | |
"values": [ | |
0.008370525360107422, | |
0.008218046188354491, | |
0.008216445922851562, | |
0.008111645698547363, | |
0.00809372615814209, | |
0.008063966751098633, | |
0.008035005569458008, | |
0.008065245628356933, | |
0.008025246620178223, | |
0.008073246002197266, | |
0.008068447113037109, | |
0.008019326210021972, | |
0.008035487174987792, | |
0.008051006317138672, | |
0.008070205688476563, | |
0.008054527282714843, | |
0.008023165702819824, | |
0.008041087150573731, | |
0.008038045883178711, | |
0.008079006195068359, | |
0.008031006813049316, | |
0.008023006439208984, | |
0.008093247413635254, | |
0.008087966918945312, | |
0.008021245956420899, | |
0.008045566558837891, | |
0.008034686088562011, | |
0.008040766716003418, | |
0.00804396629333496, | |
0.008009567260742187, | |
0.008020926475524902, | |
0.008025567054748535, | |
0.008029086112976074, | |
0.00806460666656494, | |
0.007994367122650146, | |
0.008011966705322266, | |
0.008050206184387208, | |
0.008001727104187012, | |
0.008006686210632325, | |
0.008074526786804198, | |
0.007985406875610352, | |
0.008104286193847655, | |
0.008043646812438965, | |
0.008086207389831544, | |
0.00804124641418457, | |
0.00803788661956787, | |
0.008033886909484863, | |
0.00802908706665039, | |
0.008007327079772949, | |
0.008042366981506347, | |
0.008005247116088868, | |
0.007989087104797364, | |
0.008035965919494629, | |
0.008074687004089356, | |
0.008087647438049317, | |
0.008039806365966797, | |
0.008078046798706055, | |
0.008048927307128906, | |
0.008058365821838378, | |
0.008024927139282226, | |
0.008027965545654298, | |
0.008079167366027831, | |
0.008018686294555663, | |
0.008059967041015624, | |
0.0080428466796875, | |
0.008030686378479004, | |
0.008029406547546386, | |
0.008018845558166504, | |
0.008045566558837891, | |
0.008085886001586913, | |
0.008063006401062011, | |
0.008097247123718261, | |
0.008074526786804198, | |
0.008043326377868653, | |
0.008027167320251464, | |
0.008035646438598634, | |
0.007992607116699219, | |
0.007990847110748291, | |
0.008055167198181152, | |
0.007970847129821778, | |
0.008030686378479004, | |
0.008064927101135254, | |
0.008068926811218262, | |
0.0080758056640625, | |
0.008067326545715332, | |
0.008010367393493652, | |
0.008041887283325196, | |
0.008028447151184082, | |
0.008029086112976074, | |
0.008036127090454101, | |
0.008027806282043456, | |
0.00801772689819336, | |
0.007982367038726807, | |
0.007964447021484375, | |
0.008064447402954101, | |
0.00798460578918457, | |
0.008061567306518554, | |
0.00800684642791748, | |
0.008012927055358887, | |
0.008047645568847656, | |
0.008036606788635254, | |
0.008063325881958008, | |
0.008057886123657227, | |
0.008071327209472656, | |
0.00796364688873291, | |
0.008019326210021972, | |
0.008069407463073731, | |
0.00803628635406494, | |
0.008054045677185059, | |
0.008057247161865235, | |
0.008070365905761719, | |
0.008016766548156739, | |
0.00804796600341797, | |
0.008012766838073731, | |
0.008013886451721191, | |
0.008048127174377442, | |
0.008014686584472656, | |
0.008015646934509277, | |
0.008008126258850098, | |
0.008014846801757812, | |
0.008015324592590332, | |
0.008025087356567383, | |
0.008064765930175782, | |
0.008057086944580079 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.30004822943347 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |