IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bdd4ec2 verified
raw
history blame
11.6 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.2.1",
"optimum_benchmark_commit": "fb780fc73efc41258966d25b08045708166d6309",
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1821.528064,
"max_global_vram": 2740.215808,
"max_process_vram": 91327.135744,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 166,
"total": 0.9994071655273437,
"mean": 0.006020525093538215,
"stdev": 0.0003363627730401698,
"p50": 0.006146386623382568,
"p90": 0.006201985597610473,
"p95": 0.006210865974426269,
"p99": 0.006532505369186397,
"values": [
0.006062705993652343,
0.005810387134552002,
0.005743506908416748,
0.005733266830444336,
0.005719507217407226,
0.005772787094116211,
0.005815027236938476,
0.006174866199493408,
0.005825747013092041,
0.0056879868507385255,
0.0057707071304321286,
0.005682867050170898,
0.005664627075195313,
0.005854065895080566,
0.00577998685836792,
0.005667346954345703,
0.005648147106170654,
0.005743826866149902,
0.0057657470703125,
0.005926065921783448,
0.005765266895294189,
0.005779346942901611,
0.005604146957397461,
0.005713266849517822,
0.005675986766815185,
0.0059063868522644045,
0.005698226928710938,
0.005743186950683593,
0.00571886682510376,
0.005681907176971436,
0.005744787216186523,
0.00576414680480957,
0.005835186958312988,
0.005771667003631592,
0.005710546970367432,
0.005748146057128907,
0.005666067123413086,
0.005736146926879883,
0.005863186836242676,
0.005789426803588868,
0.005876146793365479,
0.00913533878326416,
0.0060308661460876465,
0.0059087867736816405,
0.00585502576828003,
0.006002546787261963,
0.005518227100372314,
0.005548306941986084,
0.005521748065948486,
0.005545746803283691,
0.005765906810760498,
0.005487186908721924,
0.006074387073516846,
0.0059014267921447755,
0.005968145847320557,
0.006046866893768311,
0.005851185798645019,
0.005817586898803711,
0.005715826988220215,
0.005923505783081055,
0.0058966269493103025,
0.005983826160430908,
0.006111345767974854,
0.005749587059020996,
0.006163825988769531,
0.006095826148986816,
0.005979347229003906,
0.00603870677947998,
0.005841425895690918,
0.006166386127471924,
0.0061892662048339845,
0.0062014260292053225,
0.006178386211395263,
0.006204145908355713,
0.006217905998229981,
0.006160945892333985,
0.0061849460601806645,
0.006158545970916748,
0.006197425842285156,
0.006191986083984375,
0.0061591858863830565,
0.006171346187591553,
0.00617310619354248,
0.006154545783996582,
0.0061587061882019045,
0.0061763057708740235,
0.006149106025695801,
0.0061732659339904785,
0.0061907057762146,
0.006181265830993652,
0.006158226013183594,
0.0061524658203125,
0.006157266139984131,
0.0061665458679199215,
0.006163506031036377,
0.006153905868530273,
0.006164785861968994,
0.0061732659339904785,
0.0061641459465026855,
0.006180945873260498,
0.006160466194152832,
0.006190226078033447,
0.006129265785217285,
0.006161585807800293,
0.006172465801239014,
0.006169425964355469,
0.006087026119232178,
0.005815345764160157,
0.005846066951751709,
0.006012306213378906,
0.005931026935577392,
0.005802707195281982,
0.005863347053527832,
0.005441587924957275,
0.005448946952819824,
0.0054609479904174805,
0.005995985984802246,
0.0062180662155151365,
0.006192945957183838,
0.006203666210174561,
0.006197424888610839,
0.005944626808166504,
0.005857747077941894,
0.00591694688796997,
0.006176785945892334,
0.006250545978546142,
0.006202384948730468,
0.006203025817871094,
0.006211505889892578,
0.0062070260047912594,
0.0061524658203125,
0.00621470594406128,
0.006226705074310303,
0.0061995058059692385,
0.006201906204223633,
0.006186706066131592,
0.0061806259155273435,
0.006166386127471924,
0.006178706169128418,
0.006137587070465088,
0.006143667221069336,
0.006152945995330811,
0.006152785778045654,
0.006185266017913818,
0.006188305854797363,
0.0062089462280273434,
0.007056144237518311,
0.006196946144104004,
0.006202064990997315,
0.006164626121520996,
0.006202866077423095,
0.006172145843505859,
0.006180945873260498,
0.006158865928649902,
0.006192145824432373,
0.006239185810089112,
0.006189745903015137,
0.00619934606552124,
0.006156626224517822,
0.0061715059280395505,
0.006156626224517822,
0.00617310619354248,
0.006197586059570313,
0.0061660661697387695,
0.006192784786224365,
0.006194865226745606
]
},
"throughput": {
"unit": "samples/s",
"value": 166.0984688982183
},
"energy": null,
"efficiency": null
}
}
}