IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
011d66c verified
raw
history blame
12.4 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_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": {},
"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": 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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.131264,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4661796875,
"mean": 7.4661796875,
"stdev": 0.0,
"p50": 7.4661796875,
"p90": 7.4661796875,
"p95": 7.4661796875,
"p99": 7.4661796875,
"values": [
7.4661796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3272556530104744e-06,
"ram": 2.3546738872077335e-06,
"gpu": 5.1877819280000265e-06,
"total": 1.1869711468218234e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.953344,
"max_global_vram": 1040.71168,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 152,
"total": 1.0023331212997437,
"mean": 0.006594296850656209,
"stdev": 0.00026209148733104113,
"p50": 0.006567935943603515,
"p90": 0.006698905611038208,
"p95": 0.007265331101417541,
"p99": 0.007514111304283144,
"values": [
0.007390207767486572,
0.007304192066192627,
0.007285759925842285,
0.007318528175354004,
0.007251967906951904,
0.007643072128295898,
0.006591487884521485,
0.006370304107666015,
0.0066304001808166506,
0.0066109437942504885,
0.006597568035125732,
0.006567935943603515,
0.006545407772064209,
0.006554624080657959,
0.006589439868927002,
0.006545407772064209,
0.006599679946899414,
0.006589407920837402,
0.006560768127441406,
0.006494207859039307,
0.006564864158630371,
0.006486015796661377,
0.006533152103424073,
0.00653107213973999,
0.006418432235717773,
0.006309887886047363,
0.00630675220489502,
0.006314943790435791,
0.006326272010803223,
0.006255616188049316,
0.006384640216827392,
0.006511616230010986,
0.006509568214416504,
0.006709248065948486,
0.0067010560035705566,
0.006666240215301514,
0.0066344962120056155,
0.006677504062652588,
0.006635519981384277,
0.006597631931304931,
0.006564864158630371,
0.006549503803253174,
0.006790143966674805,
0.0066304001808166506,
0.006550528049468994,
0.006569983959197998,
0.00652185583114624,
0.006545407772064209,
0.006561791896820069,
0.006529024124145508,
0.006532159805297852,
0.0065146880149841305,
0.006563839912414551,
0.006615039825439453,
0.006576128005981445,
0.0066119680404663084,
0.006598656177520752,
0.006863935947418213,
0.00728166389465332,
0.007341055870056152,
0.008458239555358887,
0.00675219202041626,
0.006597631931304931,
0.0065443840026855465,
0.0065771517753601075,
0.006575168132781983,
0.006598656177520752,
0.00656387186050415,
0.006505472183227539,
0.0065484800338745115,
0.0065372161865234375,
0.006273024082183838,
0.006250495910644531,
0.0062341117858886715,
0.006236159801483154,
0.0064849920272827145,
0.006626304149627686,
0.006567935943603515,
0.006725632190704346,
0.006574079990386963,
0.006550528049468994,
0.006560768127441406,
0.006534143924713135,
0.006532095909118653,
0.0065075201988220215,
0.006386688232421875,
0.006347775936126709,
0.006291456222534179,
0.006294528007507324,
0.006300672054290772,
0.0065699200630187984,
0.0065413122177124024,
0.006350815773010254,
0.0063569917678833006,
0.006313983917236328,
0.0063272957801818845,
0.006391808032989502,
0.006328320026397705,
0.006783999919891357,
0.006623231887817383,
0.006582272052764892,
0.006621183872222901,
0.00667955207824707,
0.006576096057891846,
0.00660588788986206,
0.006632448196411133,
0.006579135894775391,
0.0066119680404663084,
0.006625279903411865,
0.006592512130737305,
0.006603775978088379,
0.006602752208709717,
0.006573056221008301,
0.006563839912414551,
0.006575104236602783,
0.006550528049468994,
0.0065710082054138185,
0.006560832023620605,
0.006605823993682861,
0.006599679946899414,
0.00658739185333252,
0.00659660816192627,
0.006591551780700684,
0.00659660816192627,
0.006609920024871826,
0.006624256134033203,
0.006591487884521485,
0.006619135856628418,
0.006602816104888916,
0.0065669121742248536,
0.00657919979095459,
0.006591487884521485,
0.006589439868927002,
0.006567935943603515,
0.0066078720092773435,
0.006509568214416504,
0.006511616230010986,
0.006505472183227539,
0.006511616230010986,
0.006551551818847656,
0.006575104236602783,
0.006584320068359375,
0.006563776016235352,
0.006497280120849609,
0.006518784046173095,
0.006512639999389648,
0.006481919765472412,
0.006549503803253174,
0.006497280120849609,
0.006512639999389648,
0.00652288007736206,
0.006538271903991699
]
},
"throughput": {
"unit": "samples/s",
"value": 151.6461910416557
},
"energy": {
"unit": "kWh",
"cpu": 7.829022490315967e-08,
"ram": 4.2781349712891866e-08,
"gpu": 1.7065803126315834e-07,
"total": 2.9172960587920985e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3427831.7313260566
}
}
}
}