IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d4c18d4
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.449984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43840.352256, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.71771484375, | |
"mean": 8.71771484375, | |
"stdev": 0.0, | |
"p50": 8.71771484375, | |
"p90": 8.71771484375, | |
"p95": 8.71771484375, | |
"p99": 8.71771484375, | |
"values": [ | |
8.71771484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.798912, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 105507.508224, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0043078479766847, | |
"mean": 0.0074393173924198865, | |
"stdev": 0.002878208991095936, | |
"p50": 0.007237583160400391, | |
"p90": 0.007991820907592774, | |
"p95": 0.008023741149902343, | |
"p99": 0.020073464546203602, | |
"values": [ | |
0.007837582111358642, | |
0.007565261840820313, | |
0.007835981845855712, | |
0.007821900844573975, | |
0.007797261238098144, | |
0.007732461929321289, | |
0.007717260837554932, | |
0.007686701774597168, | |
0.00764398193359375, | |
0.007539341926574707, | |
0.007510382175445557, | |
0.007467341899871826, | |
0.007487981796264648, | |
0.007473261833190918, | |
0.007445901870727539, | |
0.007372303009033203, | |
0.0073870220184326174, | |
0.007353582859039307, | |
0.007300463199615479, | |
0.0073097429275512694, | |
0.007343982219696045, | |
0.007361423015594482, | |
0.007478862762451172, | |
0.007305262088775635, | |
0.007316623210906982, | |
0.00877725887298584, | |
0.00809869956970215, | |
0.0080235013961792, | |
0.007987821102142334, | |
0.007995020866394044, | |
0.007987660884857178, | |
0.007997741222381591, | |
0.007992140769958496, | |
0.007988780975341796, | |
0.007974700927734375, | |
0.00799134111404419, | |
0.00797982120513916, | |
0.0319280834197998, | |
0.002307193994522095, | |
0.0023119950294494627, | |
0.0022988739013671874, | |
0.00230399489402771, | |
0.005338547229766846, | |
0.007086382865905762, | |
0.007102063179016113, | |
0.007080623149871826, | |
0.007080142974853516, | |
0.007237583160400391, | |
0.007083823204040527, | |
0.007086543083190918, | |
0.0070963029861450195, | |
0.007095344066619873, | |
0.007074384212493896, | |
0.007101743221282959, | |
0.007102383136749268, | |
0.007101743221282959, | |
0.007085742950439453, | |
0.007077902793884277, | |
0.007109103202819825, | |
0.00709246301651001, | |
0.007068303108215332, | |
0.007057103157043457, | |
0.007060943126678466, | |
0.007313902854919434, | |
0.007104463100433349, | |
0.007113903045654297, | |
0.007134542942047119, | |
0.007104143142700196, | |
0.007116143226623535, | |
0.007063823223114014, | |
0.007083182811737061, | |
0.007077263832092285, | |
0.0070771040916442875, | |
0.007109423160552978, | |
0.007107983112335205, | |
0.007119022846221924, | |
0.007072463035583496, | |
0.007093422889709473, | |
0.007090383052825928, | |
0.007069262981414795, | |
0.007084942817687988, | |
0.007087663173675537, | |
0.007093903064727783, | |
0.0070545439720153804, | |
0.007090544223785401, | |
0.00706462287902832, | |
0.007061583042144775, | |
0.007079503059387207, | |
0.021236587524414062, | |
0.002301275014877319, | |
0.002307193994522095, | |
0.0034086320400238037, | |
0.007179502964019775, | |
0.007116942882537842, | |
0.007118223190307617, | |
0.007130543231964112, | |
0.007121102809906006, | |
0.007106062889099121, | |
0.007080943107604981, | |
0.0070999832153320315, | |
0.00732878303527832, | |
0.0076615819931030275, | |
0.007381261825561524, | |
0.007634381771087647, | |
0.0075337419509887696, | |
0.007572782039642334, | |
0.007472782135009765, | |
0.007109103202819825, | |
0.007124143123626709, | |
0.007190863132476807, | |
0.007255503177642822, | |
0.007085422992706299, | |
0.007754860877990722, | |
0.008000781059265136, | |
0.008024300575256348, | |
0.0076047821044921875, | |
0.007370381832122803, | |
0.007389102935791016, | |
0.007221902847290039, | |
0.007085262775421142, | |
0.007091183185577393, | |
0.007321261882781983, | |
0.007577901840209961, | |
0.007798061847686767, | |
0.007996301174163818, | |
0.008005741119384766, | |
0.00803502082824707, | |
0.0074535818099975585, | |
0.007322382926940918, | |
0.007417741775512695, | |
0.007370061874389648, | |
0.007448943138122559, | |
0.0076287808418273925, | |
0.017815637588500976, | |
0.002293113946914673 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.420935046934 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |