IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
145c650 verified
raw
history blame
12.2 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.499904,
"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.50643505859375,
"mean": 7.50643505859375,
"stdev": 0.0,
"p50": 7.50643505859375,
"p90": 7.50643505859375,
"p95": 7.50643505859375,
"p99": 7.50643505859375,
"values": [
7.50643505859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.353885187043085e-06,
"ram": 2.3703336807993956e-06,
"gpu": 4.782781603999888e-06,
"total": 1.150700047184237e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.523264,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9953636794090266,
"mean": 0.006771181492578415,
"stdev": 0.00024926873115659694,
"p50": 0.0067358717918396,
"p90": 0.006958489704132081,
"p95": 0.007099494504928589,
"p99": 0.007886274490356443,
"values": [
0.006988800048828125,
0.0069918718338012695,
0.006986752033233643,
0.006895616054534912,
0.006939648151397705,
0.006916096210479736,
0.006923264026641846,
0.006862847805023193,
0.006867968082427979,
0.0068720002174377445,
0.0068986878395080565,
0.00689356803894043,
0.007038976192474365,
0.0071157760620117185,
0.007353343963623047,
0.0070830078125,
0.007106560230255127,
0.0068351998329162595,
0.006853631973266602,
0.006783999919891357,
0.006842368125915528,
0.006747136116027832,
0.006718463897705078,
0.006803455829620361,
0.00687820816040039,
0.007041056156158448,
0.006793216228485107,
0.006806528091430664,
0.006837247848510742,
0.006781951904296875,
0.0067358717918396,
0.006831103801727295,
0.006809599876403808,
0.006810624122619629,
0.006743040084838867,
0.006642687797546387,
0.006652927875518798,
0.0067276802062988285,
0.006750207901000976,
0.006624256134033203,
0.006752255916595459,
0.006758399963378906,
0.006800384044647217,
0.006816768169403077,
0.0069110078811645504,
0.006864895820617676,
0.006814720153808594,
0.006875135898590088,
0.006732800006866455,
0.0067041277885437015,
0.006792191982269287,
0.006838272094726563,
0.006780928134918213,
0.00679423999786377,
0.006788095951080322,
0.006739967823028564,
0.006673408031463623,
0.006769631862640381,
0.006783999919891357,
0.006895616054534912,
0.006813695907592773,
0.0066744318008422855,
0.0067051520347595215,
0.006688767910003662,
0.006732800006866455,
0.0067717118263244626,
0.0067348480224609375,
0.00669379186630249,
0.006863872051239014,
0.006895616054534912,
0.006873087882995605,
0.0068280320167541505,
0.00689356803894043,
0.006858751773834228,
0.0067420158386230465,
0.006833151817321777,
0.006819839954376221,
0.006651904106140137,
0.0068321280479431154,
0.006713344097137451,
0.006616064071655273,
0.006532095909118653,
0.006492159843444824,
0.006690815925598144,
0.006643712043762207,
0.0064245758056640625,
0.006326272010803223,
0.0063836159706115725,
0.006400000095367431,
0.006535168170928955,
0.006924287796020508,
0.006880256175994873,
0.00692633581161499,
0.007030848026275635,
0.0074291200637817386,
0.008047648429870605,
0.007950335979461669,
0.007811071872711181,
0.007710720062255859,
0.006499328136444092,
0.00667955207824707,
0.0067573761940002445,
0.006651904106140137,
0.006659071922302246,
0.006688704013824463,
0.006610015869140625,
0.0066375679969787596,
0.00659660816192627,
0.006569983959197998,
0.00659660816192627,
0.00664569616317749,
0.006561759948730469,
0.006645760059356689,
0.0066641921997070315,
0.006593535900115967,
0.00659660816192627,
0.006645760059356689,
0.0065586562156677245,
0.00652288007736206,
0.0065413122177124024,
0.006523903846740723,
0.006626239776611328,
0.0066344962120056155,
0.006606847763061524,
0.0066406397819519045,
0.006633471965789795,
0.006600800037384033,
0.0065433278083801266,
0.006540287971496582,
0.006597631931304931,
0.006616064071655273,
0.0066007041931152345,
0.006624256134033203,
0.0066416640281677245,
0.006608895778656006,
0.006589439868927002,
0.006659071922302246,
0.006625279903411865,
0.00662937593460083,
0.006660096168518067,
0.006627327919006347,
0.00657203197479248,
0.006608895778656006,
0.006584320068359375,
0.006592512130737305,
0.006615039825439453,
0.006590464115142822
]
},
"throughput": {
"unit": "samples/s",
"value": 147.6847136790019
},
"energy": {
"unit": "kWh",
"cpu": 7.838258921354462e-08,
"ram": 4.285554927689778e-08,
"gpu": 1.6632647596026612e-07,
"total": 2.8756461445070853e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3477479.3202917185
}
}
}
}