IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
88e9017 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 870.064128,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 0.3748003845214844,
"mean": 0.3748003845214844,
"stdev": 0.0,
"p50": 0.3748003845214844,
"p90": 0.3748003845214844,
"p95": 0.3748003845214844,
"p99": 0.3748003845214844,
"values": [
0.3748003845214844
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.411902156304374e-06,
"ram": 2.398756109740094e-06,
"gpu": 5.099448524004124e-06,
"total": 1.1910106790048592e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.270528,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0022142720222473,
"mean": 0.006959821333487829,
"stdev": 8.836116742068516e-05,
"p50": 0.006950367927551269,
"p90": 0.007044095897674561,
"p95": 0.007143004846572876,
"p99": 0.007251326484680175,
"values": [
0.0072724480628967286,
0.007036928176879883,
0.0070860800743103025,
0.007094207763671875,
0.007000063896179199,
0.006973440170288086,
0.006952960014343262,
0.007021567821502686,
0.006989823818206787,
0.006957056045532227,
0.0069253120422363285,
0.0069847040176391605,
0.00698367977142334,
0.006968319892883301,
0.006884352207183838,
0.006872064113616944,
0.006881279945373535,
0.006919167995452881,
0.0069498238563537595,
0.006998015880584717,
0.007018496036529541,
0.0069847040176391605,
0.007001088142395019,
0.006938623905181885,
0.0069027838706970214,
0.006910975933074951,
0.0070266880989074704,
0.007153600215911865,
0.007028736114501953,
0.006998015880584717,
0.006973440170288086,
0.006986752033233643,
0.006956031799316406,
0.006994944095611572,
0.006936575889587402,
0.007208960056304932,
0.007035903930664063,
0.006910975933074951,
0.00683622407913208,
0.006884416103363037,
0.006978559970855713,
0.00703385591506958,
0.006915071964263916,
0.006967296123504638,
0.006961152076721191,
0.006952960014343262,
0.006948863983154297,
0.007047167778015137,
0.007051263809204102,
0.006996992111206054,
0.007018496036529541,
0.0069816322326660156,
0.006940671920776367,
0.006882304191589355,
0.006995999813079834,
0.00703385591506958,
0.007016448020935059,
0.006959104061126709,
0.006945792198181152,
0.006998015880584717,
0.006931456089019775,
0.006867968082427979,
0.006920191764831543,
0.00693555212020874,
0.006975488185882568,
0.007337984085083008,
0.00684441614151001,
0.0069283838272094726,
0.006941696166992187,
0.0070266880989074704,
0.006867968082427979,
0.006959104061126709,
0.006937600135803222,
0.00695091199874878,
0.007014400005340577,
0.007049215793609619,
0.007151616096496582,
0.0070594558715820314,
0.0070236802101135256,
0.007012351989746094,
0.0069816322326660156,
0.0069621758460998535,
0.00693555212020874,
0.006850560188293457,
0.006989823818206787,
0.006905856132507324,
0.006822912216186523,
0.006842368125915528,
0.00667852783203125,
0.006957056045532227,
0.006929408073425293,
0.006707200050354004,
0.0069027838706970214,
0.006892543792724609,
0.006956031799316406,
0.006860799789428711,
0.006890495777130127,
0.006845439910888672,
0.0069426560401916505,
0.0070184640884399414,
0.007158751964569092,
0.007214079856872559,
0.007049215793609619,
0.006974463939666748,
0.006975488185882568,
0.006912000179290771,
0.006929408073425293,
0.006931456089019775,
0.0069632000923156735,
0.006903808116912841,
0.006971392154693603,
0.006964223861694336,
0.006930431842803955,
0.006892543792724609,
0.006916096210479736,
0.006912000179290771,
0.006900735855102539,
0.0068986878395080565,
0.006952960014343262,
0.00692633581161499,
0.006917119979858399,
0.006890495777130127,
0.006931456089019775,
0.006923264026641846,
0.006903808116912841,
0.00688428783416748,
0.0069253120422363285,
0.006904831886291504,
0.006924287796020508,
0.006917119979858399,
0.006915071964263916,
0.006915071964263916,
0.006874112129211426,
0.006913023948669434,
0.007223328113555908,
0.006988800048828125,
0.006973440170288086,
0.006970367908477783,
0.006895616054534912,
0.006873087882995605,
0.006894591808319092,
0.006914048194885254,
0.006880256175994873,
0.0069110398292541505
]
},
"throughput": {
"unit": "samples/s",
"value": 143.68184930098806
},
"energy": {
"unit": "kWh",
"cpu": 8.085904133115198e-08,
"ram": 4.4186748461769424e-08,
"gpu": 1.7772123061218988e-07,
"total": 3.027670204051113e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3302869.6410261933
}
}
}
}