IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3e3e20b verified
raw
history blame
12 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.327872,
"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.52217919921875,
"mean": 7.52217919921875,
"stdev": 0.0,
"p50": 7.52217919921875,
"p90": 7.52217919921875,
"p95": 7.52217919921875,
"p99": 7.52217919921875,
"values": [
7.52217919921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.454135066933103e-06,
"ram": 2.424970949012959e-06,
"gpu": 6.585283045992818e-06,
"total": 1.346438906193888e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.998976,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9957893757820128,
"mean": 0.006963562068405684,
"stdev": 0.00021708135898046045,
"p50": 0.007032832145690918,
"p90": 0.007203635025024414,
"p95": 0.007228035116195679,
"p99": 0.0073902674198150645,
"values": [
0.007337984085083008,
0.007318528175354004,
0.0072202239036560055,
0.007268383979797364,
0.007291903972625732,
0.007197696208953858,
0.007169023990631103,
0.007159743785858154,
0.007060480117797851,
0.007057407855987549,
0.007120895862579346,
0.007079936027526855,
0.006990848064422607,
0.007032832145690918,
0.007095359802246094,
0.00713318395614624,
0.007145472049713135,
0.007076000213623047,
0.007146463871002197,
0.007137343883514404,
0.0070594558715820314,
0.0071157760620117185,
0.007218175888061523,
0.007151616096496582,
0.0071157760620117185,
0.007157760143280029,
0.007096320152282715,
0.00713318395614624,
0.007204864025115967,
0.007078911781311035,
0.007147520065307617,
0.007117824077606201,
0.007056320190429687,
0.007050240039825439,
0.007087103843688965,
0.007106560230255127,
0.007078911781311035,
0.007165952205657959,
0.00714137601852417,
0.007202816009521484,
0.007238656044006348,
0.007170048236846924,
0.007200767993927002,
0.0071485438346862796,
0.0070830078125,
0.007108607769012451,
0.007203839778900147,
0.007218239784240722,
0.007130112171173096,
0.0071198720932006835,
0.007074848175048828,
0.006994944095611572,
0.007065760135650635,
0.007088096141815186,
0.007146495819091797,
0.007121920108795166,
0.006975520133972168,
0.007112703800201416,
0.00709119987487793,
0.0071495680809020995,
0.007061503887176514,
0.007105535984039306,
0.007186431884765625,
0.007181312084197998,
0.00722431993484497,
0.007228447914123535,
0.007214176177978516,
0.007428127765655518,
0.007129087924957276,
0.007188543796539306,
0.0069928960800170895,
0.007122943878173828,
0.007057407855987549,
0.00691919994354248,
0.006905856132507324,
0.006732800006866455,
0.007017471790313721,
0.007000063896179199,
0.0067338237762451176,
0.00677785587310791,
0.006661119937896728,
0.006724607944488525,
0.007028736114501953,
0.007027775764465332,
0.007024543762207031,
0.007006207942962647,
0.007192575931549072,
0.0071976318359375,
0.006909952163696289,
0.006806655883789063,
0.0067573761940002445,
0.006822912216186523,
0.006756351947784424,
0.006752255916595459,
0.006743040084838867,
0.006725632190704346,
0.006723584175109864,
0.006685696125030518,
0.006658048152923584,
0.006687776088714599,
0.006967296123504638,
0.006713344097137451,
0.00679423999786377,
0.007556096076965332,
0.006781951904296875,
0.006731743812561035,
0.006684671878814697,
0.006740992069244385,
0.006748159885406494,
0.006691840171813965,
0.006765567779541016,
0.006765567779541016,
0.006743040084838867,
0.006703104019165039,
0.0067758078575134275,
0.006699007987976074,
0.006812672138214112,
0.0067041277885437015,
0.006710271835327148,
0.006677504062652588,
0.006713344097137451,
0.00670304012298584,
0.0067092800140380856,
0.006709216117858886,
0.006695968151092529,
0.0066806402206420895,
0.006666240215301514,
0.006672351837158203,
0.006730688095092773,
0.006865856170654297,
0.006656000137329102,
0.006654975891113281,
0.006691840171813965,
0.006687744140625,
0.0067041277885437015,
0.006680575847625733,
0.00667852783203125,
0.006618112087249756,
0.006635519981384277,
0.006718463897705078,
0.006683648109436035,
0.006691840171813965,
0.0067051520347595215
]
},
"throughput": {
"unit": "samples/s",
"value": 143.60466528145002
},
"energy": {
"unit": "kWh",
"cpu": 7.980588120724354e-08,
"ram": 4.3577491557071085e-08,
"gpu": 1.8054637859060696e-07,
"total": 3.039297513549216e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3290233.9950004593
}
}
}
}