IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
33eb986 verified
raw
history blame
11.9 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 854.15936,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.70958935546875,
"mean": 7.70958935546875,
"stdev": 0.0,
"p50": 7.70958935546875,
"p90": 7.70958935546875,
"p95": 7.70958935546875,
"p99": 7.70958935546875,
"values": [
7.70958935546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.280046602777867e-06,
"ram": 2.3297342328559048e-06,
"gpu": 4.601948125999931e-06,
"total": 1.1211728961633703e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1093.189632,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 140,
"total": 1.0014885749816897,
"mean": 0.007153489821297782,
"stdev": 0.0003015485768791574,
"p50": 0.007088639974594116,
"p90": 0.0073714686393737796,
"p95": 0.007723212933540343,
"p99": 0.008332093505859374,
"values": [
0.007766016006469726,
0.0077209601402282715,
0.007714816093444824,
0.007362559795379638,
0.007324672222137451,
0.007771135807037354,
0.0070225920677185055,
0.006788095951080322,
0.006783999919891357,
0.006804512023925781,
0.007023615837097168,
0.006834176063537598,
0.006800384044647217,
0.006795263767242431,
0.0067870721817016606,
0.006780928134918213,
0.006803455829620361,
0.006788095951080322,
0.0067338237762451176,
0.006759424209594727,
0.006722559928894043,
0.006695968151092529,
0.007333888053894043,
0.0070380158424377445,
0.00704204797744751,
0.007013376235961914,
0.007053279876708984,
0.007027711868286133,
0.007057407855987549,
0.0070553598403930665,
0.0069253120422363285,
0.006961152076721191,
0.0069918718338012695,
0.007010303974151612,
0.007010303974151612,
0.008606656074523926,
0.008318976402282715,
0.007197696208953858,
0.007103487968444824,
0.007134208202362061,
0.007143424034118652,
0.007095295906066895,
0.007067647933959961,
0.0071188478469848635,
0.0071157760620117185,
0.007106560230255127,
0.00695091199874878,
0.006973375797271728,
0.006980607986450196,
0.0070225920677185055,
0.007014400005340577,
0.007035903930664063,
0.007051328182220459,
0.007071743965148926,
0.007030752182006836,
0.007124991893768311,
0.007067647933959961,
0.0071157760620117185,
0.007051263809204102,
0.007076863765716553,
0.007090176105499267,
0.007451648235321045,
0.007121920108795166,
0.007131103992462158,
0.007027711868286133,
0.007057407855987549,
0.007067584037780762,
0.007068672180175781,
0.007024640083312988,
0.007080959796905518,
0.007068672180175781,
0.007067647933959961,
0.007070720195770264,
0.007051263809204102,
0.007081984043121338,
0.007029759883880615,
0.0071710400581359865,
0.007061503887176514,
0.00713318395614624,
0.00713318395614624,
0.007214079856872559,
0.007112703800201416,
0.007071775913238525,
0.007117824077606201,
0.007181312084197998,
0.007136256217956543,
0.007108607769012451,
0.007062528133392334,
0.007124991893768311,
0.007107583999633789,
0.007114751815795899,
0.007006207942962647,
0.007035903930664063,
0.007029759883880615,
0.007095295906066895,
0.007087103843688965,
0.007617536067962646,
0.00822169589996338,
0.008340479850769043,
0.00826364803314209,
0.007658495903015137,
0.0076871681213378906,
0.007237631797790528,
0.007318528175354004,
0.007267327785491944,
0.007216127872467041,
0.007180287837982178,
0.007135263919830322,
0.00714137601852417,
0.007170048236846924,
0.0071792640686035155,
0.007174143791198731,
0.007142399787902832,
0.007190591812133789,
0.007196703910827637,
0.007204864025115967,
0.007221248149871826,
0.007071743965148926,
0.007238656044006348,
0.007181312084197998,
0.007189504146575928,
0.007130112171173096,
0.007610367774963379,
0.007188479900360107,
0.007243872165679932,
0.007063551902770996,
0.007038976192474365,
0.007068672180175781,
0.007157760143280029,
0.007166975975036621,
0.007078911781311035,
0.007070720195770264,
0.007013440132141113,
0.0070687360763549804,
0.0070471358299255375,
0.007066624164581299,
0.007145472049713135,
0.0072837119102478025,
0.007170048236846924,
0.007150591850280762
]
},
"throughput": {
"unit": "samples/s",
"value": 139.79190926123113
},
"energy": {
"unit": "kWh",
"cpu": 8.491432160218336e-08,
"ram": 4.642007290038437e-08,
"gpu": 1.6574021195714186e-07,
"total": 2.970746064597096e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3366157.787490409
}
}
}
}