IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fa7b3cd verified
raw
history blame
11.8 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.32448,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.308427734375,
"mean": 8.308427734375,
"stdev": 0.0,
"p50": 8.308427734375,
"p90": 8.308427734375,
"p95": 8.308427734375,
"p99": 8.308427734375,
"values": [
8.308427734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.801289902794654e-06,
"ram": 3.1488858452838677e-06,
"gpu": 8.380840037958137e-06,
"total": 1.7331015786036656e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.00192,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0021422090530394,
"mean": 0.007209656180237694,
"stdev": 0.0002390416626047751,
"p50": 0.007244800090789795,
"p90": 0.00739696626663208,
"p95": 0.007612620830535888,
"p99": 0.007929814815521241,
"values": [
0.007718912124633789,
0.007766016006469726,
0.008145919799804687,
0.007623680114746094,
0.007491583824157715,
0.007455743789672851,
0.007396351814270019,
0.007350240230560303,
0.00729702377319336,
0.00729804801940918,
0.007321663856506348,
0.007345151901245117,
0.007321599960327148,
0.00724889612197876,
0.007150591850280762,
0.007226367950439453,
0.007293951988220215,
0.007284736156463623,
0.007387135982513428,
0.007341055870056152,
0.007287807941436767,
0.007321599960327148,
0.007268352031707764,
0.0072325119972229,
0.007351295948028564,
0.007361536026000977,
0.007280640125274658,
0.007351295948028564,
0.007338047981262207,
0.007327744007110596,
0.007256063938140869,
0.007277567863464355,
0.007260159969329834,
0.007310336112976074,
0.007363584041595459,
0.007176191806793213,
0.0071833600997924804,
0.0071905279159545895,
0.007230463981628418,
0.007274496078491211,
0.007263232231140137,
0.007285823822021484,
0.00729702377319336,
0.007248960018157959,
0.007360544204711914,
0.0074414081573486324,
0.007370751857757568,
0.007361536026000977,
0.007329792022705078,
0.007235583782196045,
0.007168000221252442,
0.007353343963623047,
0.00733081579208374,
0.0073175039291381834,
0.007290880203247071,
0.007278592109680176,
0.007243775844573975,
0.007196735858917236,
0.007227392196655274,
0.007238656044006348,
0.007244800090789795,
0.007304192066192627,
0.007244800090789795,
0.007209983825683594,
0.007222271919250488,
0.00725708818435669,
0.0072416958808898925,
0.007195648193359375,
0.007233535766601563,
0.007282688140869141,
0.007387135982513428,
0.00764415979385376,
0.007648255825042725,
0.007611392021179199,
0.007511040210723877,
0.007370751857757568,
0.007314432144165039,
0.0073400321006774905,
0.007207935810089112,
0.007285759925842285,
0.007288832187652588,
0.007235583782196045,
0.007193600177764893,
0.007134208202362061,
0.007030784130096435,
0.0073994240760803225,
0.007388160228729248,
0.007185408115386963,
0.006889472007751465,
0.007105535984039306,
0.007349247932434082,
0.007243840217590332,
0.007288832187652588,
0.007334911823272705,
0.0074700798988342285,
0.008030207633972167,
0.00726636791229248,
0.007169023990631103,
0.007162879943847656,
0.00719049596786499,
0.007175168037414551,
0.007206912040710449,
0.007179296016693116,
0.007069695949554444,
0.007126016139984131,
0.007102464199066162,
0.007132160186767578,
0.00710041618347168,
0.007085055828094483,
0.007130112171173096,
0.007123968124389648,
0.006956031799316406,
0.006862847805023193,
0.006842368125915528,
0.006840320110321045,
0.006806528091430664,
0.006846464157104492,
0.006818816184997558,
0.006851583957672119,
0.006796288013458252,
0.006842400074005127,
0.006843391895294189,
0.006838272094726563,
0.006874112129211426,
0.006918144226074219,
0.006851583957672119,
0.006817791938781738,
0.006842368125915528,
0.006829055786132812,
0.006834176063537598,
0.006820864200592041,
0.006856704235076904,
0.006880256175994873,
0.006864895820617676,
0.006838272094726563,
0.006813695907592773,
0.006831103801727295,
0.006805568218231201,
0.006823935985565186
]
},
"throughput": {
"unit": "samples/s",
"value": 138.7028694573659
},
"energy": {
"unit": "kWh",
"cpu": 8.276682159588253e-08,
"ram": 4.522933922084304e-08,
"gpu": 1.7456804088879383e-07,
"total": 3.025642017055194e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3305083.6627833555
}
}
}
}