IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1f1bf11 verified
raw
history blame
11.4 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": "33013b51e0268a2fd7f07c903783b994ac1e0021",
"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": 979.480576,
"max_global_vram": 411.230208,
"max_process_vram": 49039.507456,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.477283203125,
"mean": 7.477283203125,
"stdev": 0.0,
"p50": 7.477283203125,
"p90": 7.477283203125,
"p95": 7.477283203125,
"p99": 7.477283203125,
"values": [
7.477283203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1832.239104,
"max_global_vram": 522.592256,
"max_process_vram": 282423.631872,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 140,
"total": 1.0007093133926392,
"mean": 0.00714792366709028,
"stdev": 0.0003939529080653253,
"p50": 0.0069199190139770505,
"p90": 0.007735551166534424,
"p95": 0.00774867889881134,
"p99": 0.0077828199863433836,
"values": [
0.007633278846740723,
0.0073636798858642575,
0.00732991886138916,
0.0071707191467285155,
0.007165759086608887,
0.006914719104766846,
0.00693087911605835,
0.006881439208984375,
0.006886398792266846,
0.006904959201812744,
0.007043679237365722,
0.006856638908386231,
0.006846240043640137,
0.006850238800048828,
0.00693359899520874,
0.0068532791137695314,
0.0068537588119506835,
0.00685823917388916,
0.006852639198303223,
0.007110558986663819,
0.007457118988037109,
0.007472158908843994,
0.007461119174957276,
0.0074177589416503905,
0.0072612791061401364,
0.00719152021408081,
0.0074716792106628415,
0.007787999153137207,
0.00770159912109375,
0.007681118965148926,
0.0077305588722229,
0.00774255895614624,
0.0078035187721252446,
0.007759518146514892,
0.007741279125213623,
0.0077185587882995605,
0.007687358856201172,
0.0076782388687133786,
0.00770383882522583,
0.007735359191894531,
0.007677598953247071,
0.00770975923538208,
0.007718399047851563,
0.007735198974609375,
0.007727678775787354,
0.007708158969879151,
0.00777471923828125,
0.007729918956756592,
0.0077271990776062015,
0.0077187190055847165,
0.007700159072875977,
0.007758879184722901,
0.007707199096679687,
0.007710558891296387,
0.007127840042114258,
0.006818240165710449,
0.00678783893585205,
0.006804159164428711,
0.006783998966217041,
0.006790079116821289,
0.006819358825683594,
0.00677039909362793,
0.006788639068603516,
0.006806240081787109,
0.006789278984069824,
0.006787999153137207,
0.006826239109039307,
0.00685007905960083,
0.006820959091186523,
0.00681791877746582,
0.0068147192001342775,
0.006788158893585205,
0.006809440135955811,
0.006808959007263184,
0.006804479122161865,
0.006781438827514649,
0.006808959007263184,
0.006798079013824463,
0.0067932791709899906,
0.006925118923187256,
0.007070718765258789,
0.006788320064544677,
0.006771039009094238,
0.006775359153747559,
0.007123359203338623,
0.007259519100189209,
0.007455519199371338,
0.00717919921875,
0.007230079174041748,
0.006797918796539307,
0.006786718845367432,
0.0068055992126464845,
0.006776639938354492,
0.006807199001312256,
0.0068353590965271,
0.007665918827056885,
0.007746239185333252,
0.00773983907699585,
0.007752479076385498,
0.007748478889465332,
0.007727678775787354,
0.007763679027557373,
0.007743518829345703,
0.007737278938293457,
0.007714398860931396,
0.007119839191436768,
0.007162398815155029,
0.007203359127044678,
0.0072323188781738285,
0.0070831990242004395,
0.007381759166717529,
0.007021119117736816,
0.00713887882232666,
0.006969598770141602,
0.00683184003829956,
0.006797119140625,
0.006826078891754151,
0.006815039157867432,
0.006808158874511719,
0.006782719135284424,
0.006801599025726318,
0.00681183910369873,
0.006788478851318359,
0.006790239810943604,
0.006791199207305908,
0.006767518997192383,
0.006786239147186279,
0.006804638862609863,
0.006797119140625,
0.006760319232940674,
0.0067841591835021975,
0.0067968001365661624,
0.0068246378898620605,
0.006791839122772217,
0.006799999237060547,
0.006811998844146729,
0.006780478954315185,
0.0067915191650390625,
0.006801918983459472,
0.006780478954315185
]
},
"throughput": {
"unit": "samples/s",
"value": 139.90076651267208
},
"energy": null,
"efficiency": null
}
}
}