IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
11120d2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 1031.278592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45655.318528, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6083916015625, | |
"mean": 8.6083916015625, | |
"stdev": 0.0, | |
"p50": 8.6083916015625, | |
"p90": 8.6083916015625, | |
"p95": 8.6083916015625, | |
"p99": 8.6083916015625, | |
"values": [ | |
8.6083916015625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1128.472576, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 115987.849216, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9984352102279659, | |
"mean": 0.006933577848805321, | |
"stdev": 0.005428491810341498, | |
"p50": 0.006760574579238891, | |
"p90": 0.0073779200553894045, | |
"p95": 0.007441830968856811, | |
"p99": 0.01775035532951344, | |
"values": [ | |
0.0077225761413574215, | |
0.007447854995727539, | |
0.007467055797576904, | |
0.0073787360191345215, | |
0.007381615161895752, | |
0.007376016139984131, | |
0.0073244948387145995, | |
0.00732593584060669, | |
0.0072816147804260255, | |
0.007231215000152588, | |
0.007165615081787109, | |
0.02455173110961914, | |
0.002248805046081543, | |
0.002249764919281006, | |
0.00367376708984375, | |
0.007244015216827392, | |
0.0069540939331054685, | |
0.007054893970489502, | |
0.006969295024871826, | |
0.006950894832611084, | |
0.007041454792022705, | |
0.007064175128936767, | |
0.007086094856262207, | |
0.007045134067535401, | |
0.007024814128875732, | |
0.006948174953460694, | |
0.00698497486114502, | |
0.006933454036712646, | |
0.006932013988494873, | |
0.0069611349105834965, | |
0.0072174549102783205, | |
0.00700785493850708, | |
0.007008174896240235, | |
0.0069515337944030765, | |
0.007143694877624512, | |
0.006909133911132813, | |
0.008181137084960937, | |
0.006960494995117188, | |
0.0068184142112731935, | |
0.0069467339515686035, | |
0.0068168148994445805, | |
0.0067761740684509275, | |
0.006769134044647217, | |
0.006789935111999512, | |
0.0069254541397094724, | |
0.00675585412979126, | |
0.006758415222167969, | |
0.00677825403213501, | |
0.006764013767242432, | |
0.006768974781036377, | |
0.006789934158325195, | |
0.006798254013061523, | |
0.006756494998931885, | |
0.006762733936309814, | |
0.00674817419052124, | |
0.006803693771362304, | |
0.007209615230560303, | |
0.006984173774719238, | |
0.007342095851898193, | |
0.006901934146881104, | |
0.006800014019012451, | |
0.0069534540176391605, | |
0.006785774230957031, | |
0.008443697929382325, | |
0.008734578132629395, | |
0.006935854911804199, | |
0.006808653831481933, | |
0.0065486540794372555, | |
0.006750254154205322, | |
0.006848495006561279, | |
0.006676973819732666, | |
0.006557454109191894, | |
0.006515693187713623, | |
0.006506093978881836, | |
0.0065582537651062015, | |
0.0068048138618469235, | |
0.0065388941764831544, | |
0.00654081392288208, | |
0.006536334037780762, | |
0.006527692794799805, | |
0.006524013996124268, | |
0.006512013912200928, | |
0.006522414207458496, | |
0.006537612915039063, | |
0.006514893054962158, | |
0.006520974159240723, | |
0.006540334224700928, | |
0.006513453960418701, | |
0.006512332916259766, | |
0.006536173820495606, | |
0.006671053886413574, | |
0.006683534145355225, | |
0.0065833740234375, | |
0.006772493839263916, | |
0.006696014881134033, | |
0.0065548930168151855, | |
0.006547214031219483, | |
0.006525774002075196, | |
0.006531054019927978, | |
0.006531054019927978, | |
0.00654705286026001, | |
0.006534093856811523, | |
0.006536814212799072, | |
0.006674734115600586, | |
0.006562893867492676, | |
0.006534093856811523, | |
0.006551853179931641, | |
0.006510733127593994, | |
0.0065601739883422855, | |
0.00652497386932373, | |
0.006531054019927978, | |
0.06688877868652343, | |
0.0022473649978637694, | |
0.002255204916000366, | |
0.002252324104309082, | |
0.00226096510887146, | |
0.00224512505531311, | |
0.0022544050216674804, | |
0.002255523920059204, | |
0.00226480507850647, | |
0.0022460849285125734, | |
0.0022475249767303467, | |
0.002251204013824463, | |
0.0022704050540924073, | |
0.005759372234344483, | |
0.007313936233520508, | |
0.007387694835662842, | |
0.0073910560607910155, | |
0.0073972949981689455, | |
0.007407694816589355, | |
0.007371056079864502, | |
0.007407535076141358, | |
0.007323376178741455, | |
0.006524174213409424, | |
0.006525292873382569, | |
0.006527853965759277, | |
0.006513934135437011, | |
0.006527534008026123, | |
0.0065310530662536625, | |
0.006572493076324463, | |
0.0065310530662536625, | |
0.006523054122924804, | |
0.006527534008026123, | |
0.006494732856750488 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.22568287342492 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |