IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
54f9e3f verified
raw
history blame
12.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": null,
"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": 952.23808,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 187,
"total": 0.9972921619415281,
"mean": 0.005333113165462718,
"stdev": 0.00028582466224235693,
"p50": 0.005284895896911621,
"p90": 0.005665791893005371,
"p95": 0.0057142271518707275,
"p99": 0.005937909574508666,
"values": [
0.00601804780960083,
0.0057712640762329105,
0.00568012809753418,
0.00566374397277832,
0.005640192031860352,
0.005640192031860352,
0.00561356782913208,
0.005575679779052735,
0.005650464057922363,
0.005574656009674072,
0.005578752040863037,
0.005594111919403076,
0.005596159934997558,
0.005575679779052735,
0.005442560195922852,
0.005414912223815918,
0.005494783878326416,
0.0055203838348388675,
0.005641215801239013,
0.005728256225585937,
0.0056483840942382815,
0.005603328227996827,
0.005516287803649903,
0.005533696174621582,
0.005570559978485107,
0.00566374397277832,
0.005752831935882568,
0.005590976238250733,
0.005642176151275635,
0.0055920639038085935,
0.005723135948181152,
0.005594111919403076,
0.005596159934997558,
0.005777408123016357,
0.005568511962890625,
0.005472256183624268,
0.005464064121246338,
0.005631999969482422,
0.0054876160621643065,
0.005477375984191894,
0.005582848072052002,
0.005559296131134033,
0.005631999969482422,
0.005670911788940429,
0.005669888019561768,
0.005693439960479736,
0.005595136165618897,
0.005598207950592041,
0.005533696174621582,
0.005595136165618897,
0.005682176113128662,
0.005545983791351319,
0.005654528141021729,
0.00561356782913208,
0.005645311832427978,
0.005646336078643799,
0.00555622386932373,
0.005627903938293457,
0.005658624172210694,
0.005549056053161621,
0.005517312049865723,
0.005537792205810547,
0.0056145920753479005,
0.005534719944000244,
0.005560319900512695,
0.005568511962890625,
0.0055511040687561035,
0.0057292799949646,
0.005659647941589355,
0.005673984050750733,
0.005672959804534912,
0.005617663860321045,
0.005677055835723877,
0.005752831935882568,
0.005578752040863037,
0.005604351997375488,
0.005535744190216065,
0.005468095779418945,
0.005390336036682129,
0.00535756778717041,
0.005371903896331787,
0.00553984022140503,
0.00552243185043335,
0.005305344104766845,
0.0060282878875732426,
0.0052008957862854,
0.0052204160690307614,
0.005281856060028076,
0.005351424217224121,
0.0053340158462524415,
0.0053647360801696775,
0.005367839813232422,
0.005338111877441406,
0.005436416149139404,
0.005668863773345947,
0.005924863815307617,
0.005208064079284668,
0.005248000144958496,
0.005213183879852295,
0.005206016063690186,
0.005158912181854248,
0.005194752216339111,
0.005235712051391602,
0.005185535907745361,
0.005179391860961914,
0.0052295680046081545,
0.005203968048095703,
0.005208064079284668,
0.005265408039093018,
0.005228544235229492,
0.005284895896911621,
0.005216256141662597,
0.005203968048095703,
0.005186528205871582,
0.005188608169555664,
0.0052336640357971195,
0.005178368091583252,
0.005181439876556396,
0.0051998720169067385,
0.0052111358642578124,
0.005187583923339844,
0.00520908784866333,
0.005195775985717774,
0.00517632007598877,
0.005180416107177735,
0.005204991817474365,
0.005184544086456299,
0.005179391860961914,
0.005241856098175048,
0.0051998720169067385,
0.005195775985717774,
0.00521727991104126,
0.005204991817474365,
0.005184512138366699,
0.005252096176147461,
0.005218368053436279,
0.005201920032501221,
0.005219327926635742,
0.005212160110473632,
0.005227519989013672,
0.004964352130889893,
0.004924479961395264,
0.004967423915863037,
0.004946944236755371,
0.004940800189971924,
0.004984831809997559,
0.00496230411529541,
0.004974592208862305,
0.004958208084106445,
0.0050135040283203125,
0.004978687763214112,
0.004956160068511963,
0.0049725441932678225,
0.004996096134185791,
0.004984831809997559,
0.004952064037322998,
0.004969471931457519,
0.0050032639503479,
0.004959231853485108,
0.004968448162078858,
0.004939775943756103,
0.0050022082328796385,
0.004964352130889893,
0.004958208084106445,
0.004960256099700928,
0.0049387521743774416,
0.004918272018432617,
0.004921343803405762,
0.004917247772216797,
0.004931583881378174,
0.0049162240028381345,
0.004884479999542236,
0.0049192957878112795,
0.004935616016387939,
0.004963327884674072,
0.0049725441932678225,
0.004946944236755371,
0.004943871974945068,
0.004965375900268554,
0.004958208084106445,
0.004941823959350586,
0.0049214081764221195,
0.004918272018432617,
0.00491315221786499,
0.004896768093109131,
0.004902912139892578,
0.004926464080810547
]
},
"throughput": {
"unit": "samples/s",
"value": 187.50774059624456
},
"energy": {
"unit": "kWh",
"cpu": 6.383418360348955e-08,
"ram": 3.4895107598169294e-08,
"gpu": 1.3487465987096774e-07,
"total": 2.3360395107262658e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4280749.513903144
}
}
}
}