IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
28ae08d verified
raw
history blame
11.2 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_type": "resnet50",
"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,
"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": "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.1",
"optimum_benchmark_commit": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 980.72576,
"max_global_vram": 409.092096,
"max_process_vram": 44716.31872,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.35545068359375,
"mean": 7.35545068359375,
"stdev": 0.0,
"p50": 7.35545068359375,
"p90": 7.35545068359375,
"p95": 7.35545068359375,
"p99": 7.35545068359375,
"values": [
7.35545068359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1839.607808,
"max_global_vram": 520.466432,
"max_process_vram": 254449.287168,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.996536425113678,
"mean": 0.007381751297138355,
"stdev": 0.0003359899977091154,
"p50": 0.007324628829956055,
"p90": 0.00791368398666382,
"p95": 0.007971363925933837,
"p99": 0.008291260490417481,
"values": [
0.008235187530517578,
0.008320146560668946,
0.008429747581481933,
0.007897428035736084,
0.007906387805938721,
0.008003507614135742,
0.00764542818069458,
0.007491189002990723,
0.007810388088226318,
0.007784948825836181,
0.007464629173278808,
0.00755902910232544,
0.007314068794250488,
0.007334709167480469,
0.0072603092193603514,
0.00716254997253418,
0.0072339091300964355,
0.00727790880203247,
0.007235029220581055,
0.007176629066467285,
0.00714526891708374,
0.007348148822784424,
0.007186230182647705,
0.007185749053955078,
0.008088788032531739,
0.007481588840484619,
0.007024148941040039,
0.007032470226287842,
0.006965909957885742,
0.007515988826751709,
0.007262228965759277,
0.0073177490234375,
0.007288309097290039,
0.007225749015808106,
0.007261748790740967,
0.007431509017944336,
0.007403509140014648,
0.007274549007415771,
0.007457909107208252,
0.007696787834167481,
0.007412629127502441,
0.00750062894821167,
0.007539029121398926,
0.007397109031677246,
0.007184148788452149,
0.007354069232940674,
0.0071715087890625,
0.00742094898223877,
0.007257268905639648,
0.007291189193725586,
0.007394228935241699,
0.007147988796234131,
0.007302709102630615,
0.007324628829956055,
0.007197269916534424,
0.007392949104309082,
0.00713470983505249,
0.007031349182128907,
0.006998069763183594,
0.0069598288536071775,
0.006975830078125,
0.007117108821868896,
0.00706318998336792,
0.0069971089363098146,
0.006999189853668213,
0.007199028968811035,
0.007166228771209717,
0.007591828823089599,
0.007502068996429443,
0.0075611090660095215,
0.00736846923828125,
0.007468308925628662,
0.007328948974609375,
0.00743950891494751,
0.007495348930358887,
0.007497908115386963,
0.007089109897613526,
0.00723262882232666,
0.0073169488906860355,
0.007580948829650879,
0.007890388011932373,
0.007889587879180909,
0.008007667541503906,
0.007904948234558106,
0.007925268173217773,
0.0079686279296875,
0.007904627799987792,
0.007954868793487549,
0.00792686891555786,
0.007977747917175293,
0.007639187812805176,
0.007604468822479248,
0.007559028148651123,
0.007468469142913818,
0.00752302885055542,
0.007508469104766846,
0.007436789035797119,
0.007103028774261474,
0.007067348957061768,
0.0072676692008972164,
0.007085909843444824,
0.007814867973327637,
0.007922068119049072,
0.007924627780914307,
0.007918548107147217,
0.007831668853759766,
0.007493107795715332,
0.007524949073791504,
0.00742094898223877,
0.007402069091796875,
0.007386868953704834,
0.007395988941192627,
0.007015348911285401,
0.007041429996490479,
0.007008628845214844,
0.007058869838714599,
0.007012148857116699,
0.007055190086364746,
0.007005270004272461,
0.007042068958282471,
0.007023029804229737,
0.007027188777923584,
0.0070121498107910156,
0.007033429145812988,
0.007002870082855225,
0.007035988807678223,
0.006979030132293701,
0.007042068958282471,
0.007005109786987305,
0.006981109142303467,
0.006984789848327636,
0.006967988967895508,
0.006993589878082275,
0.006994708061218262,
0.007024149894714355
]
},
"throughput": {
"unit": "samples/s",
"value": 135.46920774581835
},
"energy": null,
"efficiency": null
}
}
}