IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
97fe6ed verified
raw
history blame
12.1 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.254144,
"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.45821484375,
"mean": 7.45821484375,
"stdev": 0.0,
"p50": 7.45821484375,
"p90": 7.45821484375,
"p95": 7.45821484375,
"p99": 7.45821484375,
"values": [
7.45821484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.45139358441035e-06,
"ram": 2.423824734192882e-06,
"gpu": 4.929448387999344e-06,
"total": 1.1804666706602575e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.166912,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9994987850189209,
"mean": 0.006893095069096006,
"stdev": 0.0003334104948415768,
"p50": 0.0067983360290527345,
"p90": 0.00712724494934082,
"p95": 0.00717455358505249,
"p99": 0.008538152942657473,
"values": [
0.009244671821594238,
0.009161727905273438,
0.00774451208114624,
0.006846464157104492,
0.006912000179290771,
0.00692633581161499,
0.006851583957672119,
0.006715392112731934,
0.006793216228485107,
0.006781951904296875,
0.006749184131622315,
0.006723584175109864,
0.0066406397819519045,
0.006685696125030518,
0.0067358717918396,
0.006814720153808594,
0.006804480075836182,
0.006831103801727295,
0.006804480075836182,
0.0067051520347595215,
0.006658048152923584,
0.0067993922233581545,
0.006822912216186523,
0.006770688056945801,
0.006807551860809326,
0.006790143966674805,
0.006812704086303711,
0.006740992069244385,
0.006842368125915528,
0.0067983360290527345,
0.00672870397567749,
0.006797311782836914,
0.006879231929779053,
0.007078911781311035,
0.007077888011932373,
0.007080959796905518,
0.007071743965148926,
0.007095295906066895,
0.007038976192474365,
0.007175168037414551,
0.0071495680809020995,
0.007172095775604248,
0.007110655784606934,
0.007080959796905518,
0.0070564160346984865,
0.0071157760620117185,
0.007142399787902832,
0.007142399787902832,
0.007048223972320557,
0.007136256217956543,
0.007044095993041993,
0.006999040126800537,
0.00703385591506958,
0.00710041618347168,
0.007164959907531738,
0.007007232189178467,
0.007014400005340577,
0.007009280204772949,
0.007088096141815186,
0.007037951946258545,
0.007044095993041993,
0.007051263809204102,
0.00719974422454834,
0.007175168037414551,
0.007195648193359375,
0.0071792640686035155,
0.00710041618347168,
0.007126016139984131,
0.007128064155578613,
0.007041024208068848,
0.007112703800201416,
0.007010303974151612,
0.006998015880584717,
0.0069283838272094726,
0.006774784088134766,
0.007011328220367432,
0.007007232189178467,
0.006763519763946534,
0.006647808074951172,
0.0064143362045288085,
0.006405119895935059,
0.006432767868041992,
0.006774784088134766,
0.006960127830505371,
0.006989823818206787,
0.007093247890472412,
0.007104512214660645,
0.006956031799316406,
0.0069847040176391605,
0.00688640022277832,
0.006858751773834228,
0.006856704235076904,
0.0067870721817016606,
0.006796288013458252,
0.006804480075836182,
0.006699007987976074,
0.0067983360290527345,
0.00678604793548584,
0.006788095951080322,
0.006746111869812011,
0.006806528091430664,
0.006758399963378906,
0.006684671878814697,
0.006729728221893311,
0.0067010560035705566,
0.006653952121734619,
0.006707200050354004,
0.0067276802062988285,
0.006694911956787109,
0.0067348480224609375,
0.006732800006866455,
0.006686719894409179,
0.006710271835327148,
0.00672051191329956,
0.006714367866516113,
0.006680575847625733,
0.006719488143920899,
0.006706175804138184,
0.006691840171813965,
0.006722527980804444,
0.006738976001739502,
0.0066938881874084475,
0.0067276802062988285,
0.006713344097137451,
0.006680575847625733,
0.0067041277885437015,
0.006714367866516113,
0.006694911956787109,
0.006715424060821533,
0.006709248065948486,
0.006687744140625,
0.0067041277885437015,
0.006708223819732666,
0.006721536159515381,
0.006688767910003662,
0.006730751991271973,
0.006711296081542969,
0.006670335769653321,
0.006722559928894043,
0.006766592025756836,
0.006672383785247803,
0.006734784126281738,
0.006736832141876221,
0.006722559928894043,
0.006731776237487793
]
},
"throughput": {
"unit": "samples/s",
"value": 145.07271261690937
},
"energy": {
"unit": "kWh",
"cpu": 7.490377943470794e-08,
"ram": 4.085675580333027e-08,
"gpu": 1.6015037270440566e-07,
"total": 2.759109079424439e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3624358.3389193295
}
}
}
}