IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4fc381c verified
raw
history blame
12 kB
{
"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": "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": {},
"hub_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,
"latency": true,
"memory": 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.0",
"optimum_benchmark_commit": "57f6495c03ea0fa48e157048c97add150dcd765c",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1832.574976,
"max_global_vram": 541.261824,
"max_process_vram": 84068.483072,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 174,
"total": 0.9957824792861939,
"mean": 0.005722887811989619,
"stdev": 0.00034020501027815794,
"p50": 0.005516952514648437,
"p90": 0.00619887113571167,
"p95": 0.006214350843429565,
"p99": 0.006290994982719424,
"values": [
0.006460471153259277,
0.0056343917846679685,
0.005614071846008301,
0.007363669872283936,
0.00560863208770752,
0.005615993022918701,
0.005607192039489746,
0.00558511209487915,
0.005560792922973633,
0.005565591812133789,
0.005544312000274658,
0.005535993099212646,
0.005539192199707031,
0.005520311832427979,
0.0055107131004333496,
0.005505591869354248,
0.0055396728515625,
0.005554711818695069,
0.0055273518562316895,
0.005504632949829101,
0.005507991790771484,
0.005527192115783691,
0.005516952991485595,
0.005496952056884765,
0.005511353015899658,
0.00552351188659668,
0.005490073204040527,
0.00551695203781128,
0.005501912117004394,
0.005493913173675537,
0.005538392066955567,
0.005524153232574463,
0.005515992164611816,
0.005552311897277832,
0.005525113105773926,
0.005702712059020996,
0.005540152072906494,
0.00552927303314209,
0.005549272060394287,
0.005516313076019287,
0.0055444731712341305,
0.005518392086029052,
0.0054942331314086915,
0.00551583194732666,
0.005468472003936768,
0.0055014328956604006,
0.005496471881866455,
0.005476633071899414,
0.005510231971740723,
0.005484632968902588,
0.005472152233123779,
0.005496792793273926,
0.00548255205154419,
0.0054569530487060544,
0.005475671768188477,
0.005467193126678467,
0.00547903299331665,
0.005479351997375488,
0.0054710330963134764,
0.005711351871490479,
0.005519032955169678,
0.005491992950439453,
0.0054510321617126465,
0.005452632904052734,
0.005476632118225098,
0.0054409527778625484,
0.005440951824188233,
0.005452473163604737,
0.005441271781921387,
0.005462553024291992,
0.005439832210540772,
0.006035672187805176,
0.0062123122215271,
0.006163990974426269,
0.006163512229919434,
0.006192151069641113,
0.0061953520774841305,
0.00620495080947876,
0.006185111999511719,
0.006180470943450928,
0.006185111999511719,
0.006187030792236328,
0.006195991992950439,
0.006166871070861816,
0.006215832233428955,
0.006170870780944825,
0.0061953520774841305,
0.0061740708351135255,
0.006171832084655762,
0.006176791191101074,
0.006191512107849121,
0.006206390857696534,
0.006164951801300049,
0.006179511070251465,
0.006198552131652832,
0.0061900711059570315,
0.00621583080291748,
0.006196311950683594,
0.006210711002349854,
0.006188471794128418,
0.006214870929718018,
0.006183512210845947,
0.0062255911827087404,
0.006204631805419922,
0.006214070796966553,
0.006224792003631591,
0.006220952033996582,
0.006181271076202393,
0.006194231986999511,
0.00619887113571167,
0.006193272113800049,
0.0061974310874938964,
0.0062283120155334475,
0.006212631225585938,
0.0061860718727111816,
0.006198551177978516,
0.006195511817932129,
0.0061900711059570315,
0.006202871799468994,
0.00619887113571167,
0.006057591915130616,
0.005781432151794433,
0.005714392185211182,
0.005868792057037353,
0.005736152172088623,
0.005685272216796875,
0.005466553211212158,
0.005478551864624023,
0.0054806327819824216,
0.005500152111053467,
0.005467513084411621,
0.005483673095703125,
0.005515672206878662,
0.005485912799835205,
0.005468791961669922,
0.005478393077850341,
0.0054583921432495115,
0.005462553024291992,
0.005467031955718994,
0.00546431303024292,
0.005463992118835449,
0.005477592945098877,
0.005464632034301758,
0.005475193023681641,
0.005455031871795655,
0.005476953029632569,
0.005479512214660645,
0.005462233066558838,
0.005488152027130127,
0.005469752788543701,
0.005501112937927246,
0.0054846320152282715,
0.005480473041534424,
0.005505591869354248,
0.005470073223114014,
0.005480311870574951,
0.005498393058776856,
0.005484951972961426,
0.005477433204650879,
0.0054937520027160645,
0.005484152793884278,
0.005493271827697754,
0.005475671768188477,
0.0054447932243347165,
0.005487192153930664,
0.005469273090362549,
0.005461912155151367,
0.0055083131790161135,
0.005502232074737549,
0.0055014328956604006,
0.005492152214050293,
0.005461273193359375,
0.005468952178955078,
0.00548719310760498
]
},
"throughput": {
"unit": "samples/s",
"value": 174.7369567344952
},
"energy": null,
"efficiency": null
}
}
}