IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e3e2ab4 verified
raw
history blame
11.9 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.225-213.878.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"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": 868.773888,
"max_global_vram": 718.798848,
"max_process_vram": 0.0,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"values": [
8.566787109375
],
"count": 1,
"total": 8.566787109375,
"mean": 8.566787109375,
"p50": 8.566787109375,
"p90": 8.566787109375,
"p95": 8.566787109375,
"p99": 8.566787109375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.303974468749693e-06,
"ram": 2.339953886559406e-06,
"gpu": 4.711670436000027e-06,
"total": 1.1355598791309124e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1108.996096,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007523327827453613,
0.007096320152282715,
0.007171072006225586,
0.007166975975036621,
0.007239808082580566,
0.007161856174468994,
0.0070594558715820314,
0.007126016139984131,
0.007223296165466309,
0.007187456130981445,
0.007227392196655274,
0.00725708818435669,
0.00723967981338501,
0.0072325119972229,
0.007236447811126709,
0.007173279762268067,
0.007144383907318115,
0.007123968124389648,
0.007284736156463623,
0.007274496078491211,
0.007200767993927002,
0.007104544162750244,
0.007168000221252442,
0.007250016212463379,
0.007074816226959229,
0.00707583999633789,
0.007142399787902832,
0.007117824077606201,
0.007203839778900147,
0.007236608028411865,
0.007102272033691406,
0.007046144008636474,
0.007243775844573975,
0.007153664112091064,
0.007143424034118652,
0.007203839778900147,
0.007101439952850342,
0.007188479900360107,
0.007220352172851562,
0.00728166389465332,
0.0072549118995666505,
0.0072130560874938965,
0.007187456130981445,
0.007273600101470947,
0.007196671962738037,
0.0071588802337646485,
0.007361536026000977,
0.007032735824584961,
0.007156735897064209,
0.007214079856872559,
0.007087103843688965,
0.007057407855987549,
0.007053152084350586,
0.006958015918731689,
0.007188479900360107,
0.007072768211364746,
0.006802432060241699,
0.0067870721817016606,
0.006927360057830811,
0.00734822416305542,
0.007336959838867187,
0.007488512039184571,
0.007520256042480469,
0.007567327976226806,
0.007705599784851074,
0.008841216087341308,
0.008566783905029298,
0.00852684783935547,
0.008557567596435547,
0.008258560180664062,
0.008269824028015137,
0.008263711929321288,
0.008294400215148925,
0.00728985595703125,
0.006885503768920899,
0.006801407814025879,
0.006848512172698974,
0.006920191764831543,
0.0070256638526916505,
0.0070780482292175295,
0.007121791839599609,
0.007144447803497315,
0.007138304233551026,
0.00714137601852417,
0.007186431884765625,
0.0071487040519714355,
0.007175168037414551,
0.007109632015228271,
0.007066624164581299,
0.007130271911621093,
0.007087967872619629,
0.007081984043121338,
0.007067647933959961,
0.007027711868286133,
0.0070891518592834475,
0.007087103843688965,
0.007116799831390381,
0.007030784130096435,
0.007113728046417236,
0.0070830078125,
0.0071198720932006835,
0.007093408107757568,
0.007015423774719238,
0.0070553598403930665,
0.007068607807159424,
0.007139232158660889,
0.007054336071014404,
0.007102464199066162,
0.007060480117797851,
0.007175168037414551,
0.007177184104919434,
0.007122879981994629,
0.007070720195770264,
0.007078911781311035,
0.007081024169921875,
0.007028736114501953,
0.0070563840866088865,
0.007122943878173828,
0.007062528133392334,
0.007061535835266113,
0.0070256638526916505,
0.007087103843688965,
0.007107583999633789,
0.007080959796905518,
0.007023615837097168,
0.00710041618347168,
0.007088128089904785,
0.0070522880554199216,
0.007102528095245361,
0.007030784130096435,
0.0071188478469848635,
0.0070860800743103025,
0.007054336071014404,
0.007014495849609375,
0.007076863765716553,
0.007097343921661377,
0.007131135940551757,
0.007087103843688965,
0.007127039909362793
],
"count": 139,
"total": 1.0021758708953854,
"mean": 0.007209898351765364,
"p50": 0.007122879981994629,
"p90": 0.007350886535644531,
"p95": 0.008259075355529784,
"p99": 0.008563281707763673,
"stdev": 0.0003346170742411453,
"stdev_": 4.641078943355884
},
"throughput": {
"unit": "samples/s",
"value": 138.6982106003127
},
"energy": {
"unit": "kWh",
"cpu": 8.208468571360168e-08,
"ram": 4.485883088247633e-08,
"gpu": 1.6888519257931148e-07,
"total": 2.958287091753895e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3380334.528002571
}
}
}
}