IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b973887 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 852.840448,
"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.66949560546875,
"mean": 7.66949560546875,
"stdev": 0.0,
"p50": 7.66949560546875,
"p90": 7.66949560546875,
"p95": 7.66949560546875,
"p99": 7.66949560546875,
"values": [
7.66949560546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.319311160417843e-06,
"ram": 2.3228342681281292e-06,
"gpu": 4.778614934000192e-06,
"total": 1.1420760362546164e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.534272,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9995192008018495,
"mean": 0.007295760589794521,
"stdev": 0.00023118799848709768,
"p50": 0.007266304016113281,
"p90": 0.007539711952209473,
"p95": 0.007627776050567626,
"p99": 0.007856783275604247,
"values": [
0.007310336112976074,
0.007266304016113281,
0.0072427520751953125,
0.0072130560874938965,
0.007245823860168457,
0.00723967981338501,
0.007175168037414551,
0.007189504146575928,
0.007095263957977295,
0.007032832145690918,
0.007088128089904785,
0.007109632015228271,
0.007047167778015137,
0.007073791980743408,
0.007394303798675537,
0.007445504188537597,
0.0074106879234313965,
0.007585792064666748,
0.007508959770202637,
0.007517183780670166,
0.007442431926727295,
0.007427072048187256,
0.007458816051483155,
0.007515168190002442,
0.007453695774078369,
0.007522304058074952,
0.0074926080703735356,
0.007485375881195068,
0.007402495861053467,
0.007477248191833496,
0.0074926080703735356,
0.007461887836456299,
0.007461887836456299,
0.0077844481468200685,
0.00749567985534668,
0.00743936014175415,
0.007385087966918945,
0.00743936014175415,
0.007428095817565918,
0.0076687359809875484,
0.007615488052368164,
0.007411712169647216,
0.00754585599899292,
0.007523327827453613,
0.007502848148345947,
0.00743120002746582,
0.007505919933319092,
0.007535615921020508,
0.007556096076965332,
0.007521279811859131,
0.007181312084197998,
0.007097343921661377,
0.007018496036529541,
0.00710041618347168,
0.0070266880989074704,
0.007127039909362793,
0.007187456130981445,
0.007839744091033935,
0.008240127563476562,
0.00786636781692505,
0.007460864067077637,
0.007476223945617676,
0.007481311798095703,
0.00748748779296875,
0.007525375843048096,
0.007731200218200684,
0.00780083179473877,
0.007572480201721191,
0.007589888095855713,
0.0074967041015625,
0.0074291200637817386,
0.007464960098266602,
0.007359488010406494,
0.007461887836456299,
0.007385087966918945,
0.007375872135162354,
0.007346176147460938,
0.00719155216217041,
0.007392255783081054,
0.007396351814270019,
0.007114751815795899,
0.007171072006225586,
0.007037951946258545,
0.007128032207489013,
0.007206912040710449,
0.007432191848754883,
0.007394303798675537,
0.00744652795791626,
0.007617536067962646,
0.007434239864349365,
0.007373824119567871,
0.0074065918922424315,
0.007195648193359375,
0.007327744007110596,
0.007266304016113281,
0.0070553598403930665,
0.007106560230255127,
0.007057407855987549,
0.007067647933959961,
0.0070594558715820314,
0.007102464199066162,
0.0070860800743103025,
0.0070348801612854,
0.007134208202362061,
0.0070522880554199216,
0.007073791980743408,
0.00710041618347168,
0.007067647933959961,
0.007031807899475098,
0.007020544052124023,
0.007170080184936523,
0.007066624164581299,
0.00704204797744751,
0.0070522880554199216,
0.007106624126434326,
0.007066624164581299,
0.007068672180175781,
0.0070594558715820314,
0.0070481600761413575,
0.007044095993041993,
0.007068672180175781,
0.007036928176879883,
0.0070563840866088865,
0.00708403205871582,
0.007071743965148926,
0.00707583999633789,
0.007041024208068848,
0.007116799831390381,
0.00702675199508667,
0.007049248218536377,
0.00704204797744751,
0.007066624164581299,
0.00703276777267456,
0.007030784130096435,
0.007067647933959961,
0.007031807899475098,
0.007105535984039306
]
},
"throughput": {
"unit": "samples/s",
"value": 137.0659011753789
},
"energy": {
"unit": "kWh",
"cpu": 8.173606711377135e-08,
"ram": 4.450559177929521e-08,
"gpu": 1.7077639232876765e-07,
"total": 2.970180512218342e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3366798.7379431324
}
}
}
}