IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
74e69c8 verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": 948.994048,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 193,
"total": 0.9978513584136964,
"mean": 0.005170214292298945,
"stdev": 0.000227676052102257,
"p50": 0.005161983966827393,
"p90": 0.00526945276260376,
"p95": 0.005433401679992671,
"p99": 0.0060751756477355895,
"values": [
0.006044703960418701,
0.005654528141021729,
0.005610432147979736,
0.005565440177917481,
0.005587967872619629,
0.005616608142852783,
0.0058122239112854005,
0.007184383869171143,
0.006425600051879882,
0.005220352172851562,
0.005105663776397705,
0.0050165758132934574,
0.005032959938049316,
0.0050124797821044925,
0.0050104641914367675,
0.0050206718444824215,
0.004981728076934815,
0.005029888153076172,
0.004999167919158935,
0.005038080215454102,
0.005026815891265869,
0.005006400108337403,
0.005022751808166504,
0.0050462718009948735,
0.004986879825592041,
0.00501145601272583,
0.0050032639503479,
0.00505241584777832,
0.005023744106292725,
0.005056511878967285,
0.0050728960037231445,
0.005115903854370117,
0.00505241584777832,
0.005006400108337403,
0.0050728960037231445,
0.005025792121887207,
0.005018623828887939,
0.004997151851654053,
0.005048319816589355,
0.005031936168670655,
0.0050022401809692385,
0.00499507188796997,
0.0050462718009948735,
0.005004288196563721,
0.005029920101165771,
0.005000192165374756,
0.005132287979125977,
0.0050800638198852536,
0.005067776203155518,
0.005114880084991455,
0.005037055969238281,
0.005122047901153564,
0.00522540807723999,
0.005225599765777588,
0.0051158080101013186,
0.005105663776397705,
0.005146624088287354,
0.005194752216339111,
0.005194752216339111,
0.005208064079284668,
0.005184512138366699,
0.0051968002319335935,
0.005174367904663086,
0.005189504146575928,
0.0051404800415039064,
0.005131423950195313,
0.005169151782989502,
0.005125120162963868,
0.0051066880226135255,
0.005100543975830078,
0.005152736186981201,
0.005129216194152832,
0.005126143932342529,
0.005168191909790039,
0.0051066880226135255,
0.0051250882148742676,
0.005146624088287354,
0.005167103767395019,
0.005200863838195801,
0.005219327926635742,
0.005238783836364746,
0.005190656185150146,
0.005179391860961914,
0.0052295680046081545,
0.005161983966827393,
0.005197824001312256,
0.0052008957862854,
0.005179391860961914,
0.005187583923339844,
0.005175295829772949,
0.005208064079284668,
0.005181439876556396,
0.0051792960166931155,
0.00522649621963501,
0.005173247814178467,
0.0051701760292053225,
0.00522547197341919,
0.00516812801361084,
0.005190656185150146,
0.005184512138366699,
0.005203968048095703,
0.005183551788330078,
0.005171135902404785,
0.005214208126068115,
0.005178368091583252,
0.005179391860961914,
0.005219327926635742,
0.0051435518264770505,
0.005187583923339844,
0.005192704200744629,
0.005157887935638428,
0.005172224044799805,
0.005172224044799805,
0.00520908784866333,
0.005174272060394287,
0.00516812801361084,
0.005213183879852295,
0.005132287979125977,
0.005101568222045898,
0.005108736038208008,
0.005244927883148193,
0.0052705278396606445,
0.005227519989013672,
0.005213183879852295,
0.005192704200744629,
0.005194752216339111,
0.005172224044799805,
0.005120992183685303,
0.005139391899108886,
0.00516099214553833,
0.005128384113311768,
0.0051363840103149415,
0.005345376014709473,
0.005270463943481445,
0.0052408318519592285,
0.00520908784866333,
0.005242879867553711,
0.005249023914337158,
0.005245952129364013,
0.005687295913696289,
0.005291007995605469,
0.005236767768859864,
0.005296127796173096,
0.0052705278396606445,
0.005261312007904053,
0.00530944013595581,
0.005237760066986084,
0.005265408039093018,
0.005306335926055908,
0.005291007995605469,
0.005210112094879151,
0.005243904113769531,
0.00521833610534668,
0.005161983966827393,
0.005215231895446777,
0.005246975898742676,
0.005256192207336426,
0.005257215976715088,
0.005188608169555664,
0.005298175811767578,
0.005228544235229492,
0.005220352172851562,
0.005234687805175781,
0.0051333122253417966,
0.004989952087402344,
0.00498582410812378,
0.004992000102996826,
0.004998176097869873,
0.005055488109588623,
0.005018623828887939,
0.005001215934753418,
0.004978687763214112,
0.005028863906860351,
0.004973567962646484,
0.0050094079971313476,
0.0049797120094299315,
0.0050032639503479,
0.004980703830718994,
0.004974592208862305,
0.004993023872375488,
0.004980735778808594,
0.004984831809997559,
0.004973567962646484,
0.0050421757698059086,
0.00501964807510376,
0.0050206718444824215,
0.004971519947052002,
0.005058495998382568,
0.005037055969238281,
0.005078015804290771,
0.005061632156372071,
0.005024767875671386,
0.0049725441932678225
]
},
"throughput": {
"unit": "samples/s",
"value": 193.41558076026055
},
"energy": {
"unit": "kWh",
"cpu": 6.319646311849004e-08,
"ram": 3.454142910742759e-08,
"gpu": 1.3351222264893444e-07,
"total": 2.3125011487485208e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4324322.176190831
}
}
}
}