IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2d49520 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.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": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1118.396416,
"max_global_vram": 68702.69952,
"max_process_vram": 45644.132352,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.690994140625,
"mean": 8.690994140625,
"stdev": 0.0,
"p50": 8.690994140625,
"p90": 8.690994140625,
"p95": 8.690994140625,
"p99": 8.690994140625,
"values": [
8.690994140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1202.794496,
"max_global_vram": 68702.69952,
"max_process_vram": 122239.791104,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9957357797622687,
"mean": 0.006963187271064811,
"stdev": 0.00045865519700793615,
"p50": 0.006726542949676514,
"p90": 0.00797297191619873,
"p95": 0.008030284309387207,
"p99": 0.008096085929870605,
"values": [
0.007690221786499024,
0.007288301944732666,
0.006916943073272705,
0.006862062931060791,
0.006846063137054444,
0.006765423774719238,
0.006753424167633057,
0.006752303123474121,
0.0067531027793884275,
0.006755824089050293,
0.006738543033599853,
0.006722702980041504,
0.0067107038497924805,
0.0067047829627990725,
0.006723662853240967,
0.006719503879547119,
0.00675950288772583,
0.0067379031181335446,
0.006784462928771972,
0.006810863971710205,
0.006905582904815674,
0.0068975830078125,
0.0067700638771057125,
0.006732304096221924,
0.006730702877044678,
0.006775503158569336,
0.006746543884277344,
0.007106381893157959,
0.006730702877044678,
0.00670366382598877,
0.006729743003845215,
0.006855342864990234,
0.006720942974090576,
0.006710224151611328,
0.006706383228302002,
0.006688623905181885,
0.006698543071746826,
0.006695023059844971,
0.0067009439468383785,
0.006711022853851318,
0.006706062793731689,
0.007213741779327393,
0.0067052640914916995,
0.006797422885894775,
0.006703503131866455,
0.006701263904571533,
0.0067067031860351565,
0.006701423168182373,
0.006736623764038086,
0.006707983016967773,
0.006689583778381348,
0.006705742835998535,
0.006708302974700928,
0.006698063850402832,
0.0066982231140136714,
0.006721743106842041,
0.006715663909912109,
0.006664302825927735,
0.006713424205780029,
0.00669838285446167,
0.0066926231384277345,
0.006703184127807617,
0.006698543071746826,
0.0069561429023742676,
0.006940302848815918,
0.006724143028259277,
0.006732783794403076,
0.00691566276550293,
0.006732463836669922,
0.006768783092498779,
0.0067238230705261234,
0.006710383892059326,
0.006740462779998779,
0.006708622932434082,
0.006732463836669922,
0.006698702812194824,
0.00671854305267334,
0.006717904090881348,
0.006699182987213135,
0.006683343887329101,
0.006690383911132813,
0.006683662891387939,
0.0067009439468383785,
0.006708622932434082,
0.006702064037322998,
0.006712623119354248,
0.00669614315032959,
0.006680463790893555,
0.00669886302947998,
0.006706863880157471,
0.006750223159790039,
0.00685070276260376,
0.006696942806243896,
0.006706863880157471,
0.006684943199157715,
0.006698063850402832,
0.0067009439468383785,
0.006707023143768311,
0.006697423934936523,
0.006690062999725342,
0.0067028641700744625,
0.006706543922424316,
0.0066999831199645995,
0.006705103874206543,
0.006743343830108642,
0.006730863094329834,
0.006921263217926026,
0.006697903156280518,
0.0066911840438842775,
0.006714542865753174,
0.006708622932434082,
0.006685423851013184,
0.006697422981262207,
0.006726542949676514,
0.006893902778625488,
0.0070748629570007325,
0.00705278205871582,
0.007787341117858886,
0.008092780113220215,
0.008053899765014649,
0.007815501213073731,
0.0074508609771728514,
0.007328782081604004,
0.007603180885314941,
0.00795773983001709,
0.008361740112304688,
0.008097900390625,
0.008007500648498535,
0.00809358024597168,
0.007984620094299316,
0.00797677993774414,
0.008044300079345703,
0.008031180381774902,
0.008000140190124511,
0.008013099670410155,
0.008037420272827148,
0.008014381408691406,
0.008022219657897948,
0.007841899871826171,
0.007433581829071045,
0.007394862174987793,
0.007443821907043457,
0.00772606086730957
]
},
"throughput": {
"unit": "samples/s",
"value": 143.6123948806392
},
"energy": null,
"efficiency": null
}
}
}