IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ca1a758
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "4", | |
"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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1469.29664, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0484453125, | |
"mean": 8.0484453125, | |
"stdev": 0.0, | |
"p50": 8.0484453125, | |
"p90": 8.0484453125, | |
"p95": 8.0484453125, | |
"p99": 8.0484453125, | |
"values": [ | |
8.0484453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1554.944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9970634469985962, | |
"mean": 0.0077895581796765334, | |
"stdev": 0.00024517286555463533, | |
"p50": 0.007702059507369996, | |
"p90": 0.008137195014953613, | |
"p95": 0.008394441652297973, | |
"p99": 0.008635504970550538, | |
"values": [ | |
0.008412458419799805, | |
0.00838861656188965, | |
0.008397578239440918, | |
0.008072299003601074, | |
0.008043818473815918, | |
0.008048778533935546, | |
0.007984458923339844, | |
0.008002859115600586, | |
0.00793053913116455, | |
0.007823978900909424, | |
0.0078081398010253905, | |
0.007692779064178467, | |
0.0077012600898742675, | |
0.0077410988807678225, | |
0.007698379993438721, | |
0.0077343788146972655, | |
0.007705420017242432, | |
0.007736458778381348, | |
0.007726860046386719, | |
0.00770621919631958, | |
0.007725900173187256, | |
0.00785373878479004, | |
0.0077791790962219234, | |
0.007733099937438965, | |
0.007803178787231445, | |
0.007759180068969727, | |
0.007778379917144775, | |
0.007898058891296387, | |
0.007820778846740723, | |
0.007820138931274414, | |
0.007826700210571289, | |
0.007796939849853516, | |
0.008639177322387696, | |
0.008093578338623047, | |
0.0077391800880432125, | |
0.0077031788825988766, | |
0.007706220149993896, | |
0.007706379890441895, | |
0.007706540107727051, | |
0.007839659214019775, | |
0.007855659008026122, | |
0.007987499237060547, | |
0.008200938224792481, | |
0.008133258819580078, | |
0.00815357780456543, | |
0.008147178649902343, | |
0.008192298889160156, | |
0.00801437759399414, | |
0.00783758020401001, | |
0.007906379222869873, | |
0.007745738983154297, | |
0.0077697401046752925, | |
0.007797420024871826, | |
0.007849419116973877, | |
0.007842858791351319, | |
0.007651179790496826, | |
0.007619500160217285, | |
0.007615659236907959, | |
0.0076174201965332035, | |
0.007612460136413575, | |
0.007652140140533447, | |
0.007633578777313232, | |
0.007611179828643799, | |
0.007598700046539307, | |
0.007589099884033203, | |
0.007805099010467529, | |
0.007612460136413575, | |
0.007605420112609863, | |
0.007591819763183594, | |
0.007589900016784668, | |
0.007633739948272705, | |
0.007604780197143554, | |
0.0076185398101806644, | |
0.007591819763183594, | |
0.007607499122619629, | |
0.007615019798278808, | |
0.0076395001411437985, | |
0.007599180221557617, | |
0.007611499786376953, | |
0.007596459865570069, | |
0.007602220058441162, | |
0.007624300003051758, | |
0.007656620025634765, | |
0.007669418811798096, | |
0.007634059906005859, | |
0.007601260185241699, | |
0.007612939834594727, | |
0.007611019134521484, | |
0.007607820034027099, | |
0.007602540016174317, | |
0.007610380172729492, | |
0.007631499767303467, | |
0.007610539913177491, | |
0.0076033401489257815, | |
0.007597899913787841, | |
0.007590859889984131, | |
0.007597420215606689, | |
0.0075942201614379885, | |
0.007628300189971924, | |
0.007627180099487305, | |
0.007663020133972168, | |
0.007635018825531006, | |
0.00759197998046875, | |
0.00758542013168335, | |
0.007600780010223389, | |
0.007597579956054688, | |
0.007677419185638428, | |
0.007660940170288086, | |
0.007656779766082764, | |
0.007691819190979004, | |
0.007683020114898681, | |
0.007667980194091797, | |
0.007675819873809815, | |
0.007733419895172119, | |
0.007702858924865723, | |
0.007698060035705567, | |
0.007697419166564941, | |
0.00767662000656128, | |
0.007689099788665771, | |
0.0077036600112915035, | |
0.00787053918838501, | |
0.008642216682434083, | |
0.00862557601928711, | |
0.008579498291015624, | |
0.008489897727966308, | |
0.008011499404907226, | |
0.008052138328552247, | |
0.008146379470825195 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.37698582302977 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |