IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
21592fe verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"latency": true,
"memory": 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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.0",
"optimum_benchmark_commit": "19eeac52e408e408898ac1fac3d9abefced0131b",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1832.321024,
"max_global_vram": 541.274112,
"max_process_vram": 84071.186432,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 173,
"total": 0.9947471389770505,
"mean": 0.005749983462295091,
"stdev": 0.00015743845639972512,
"p50": 0.0056970930099487305,
"p90": 0.005975013923645019,
"p95": 0.006034822082519532,
"p99": 0.006404426460266113,
"values": [
0.006436131000518799,
0.005734694957733154,
0.005698695182800293,
0.005668135166168213,
0.005690054893493652,
0.00571661376953125,
0.005692774772644043,
0.005628294944763183,
0.005689414978027343,
0.005688135147094727,
0.005707174777984619,
0.005679975032806397,
0.005705894947052002,
0.005688135147094727,
0.005690374851226807,
0.005714855194091797,
0.005732295036315918,
0.005765254974365234,
0.005750854015350342,
0.00573053503036499,
0.005731813907623291,
0.005738375186920166,
0.005707495212554932,
0.005738053798675537,
0.005731174945831299,
0.005739335060119629,
0.005776615142822266,
0.0057217350006103515,
0.0057310152053833005,
0.005722535133361816,
0.00575581407546997,
0.005739655017852783,
0.0057169351577758785,
0.00572525405883789,
0.005729895114898681,
0.005890853881835937,
0.005715334892272949,
0.005768294811248779,
0.005737575054168701,
0.005724615097045899,
0.005666375160217285,
0.005751015186309815,
0.005750693798065185,
0.005758695125579834,
0.005740933895111084,
0.00576541519165039,
0.005815174102783203,
0.005786855220794678,
0.005766534805297851,
0.005752773761749268,
0.005751494884490967,
0.005722535133361816,
0.0057550139427185055,
0.005739655017852783,
0.005706375122070313,
0.005692774772644043,
0.0057143750190734866,
0.005688294887542724,
0.005671175003051758,
0.005712453842163086,
0.005699655055999756,
0.005694855213165284,
0.005698375225067139,
0.005696774959564209,
0.005670215129852295,
0.005689414978027343,
0.005677734851837158,
0.005700775146484375,
0.005685575008392334,
0.005704614162445068,
0.005669254779815674,
0.005702694892883301,
0.005702535152435303,
0.0057217350006103515,
0.005684774875640869,
0.005689734935760498,
0.005661095142364502,
0.005636614799499512,
0.005684295177459717,
0.005683334827423095,
0.005782214164733887,
0.005702535152435303,
0.0056818947792053225,
0.0056838150024414065,
0.005681095123291016,
0.0056935749053955076,
0.0056930952072143555,
0.0056895751953125,
0.005681574821472168,
0.005699813842773438,
0.005692454814910888,
0.005682054996490478,
0.005675815105438233,
0.005646055221557617,
0.005699174880981445,
0.005695815086364746,
0.005686534881591797,
0.005676455020904541,
0.00571037483215332,
0.005710535049438477,
0.005689733982086181,
0.0056978950500488285,
0.005648775100708008,
0.005921413898468017,
0.006327332019805908,
0.006213733196258545,
0.005971653938293457,
0.005982213973999023,
0.005977892875671386,
0.006218372821807861,
0.006379011154174804,
0.006393092155456543,
0.006433571815490723,
0.0062537331581115725,
0.005953574180603027,
0.006025574207305908,
0.006022373199462891,
0.006011174201965332,
0.006030854225158692,
0.005990212917327881,
0.006040773868560791,
0.0059751739501953125,
0.006024454116821289,
0.005974373817443848,
0.005629734992980957,
0.005636455059051514,
0.005627814769744873,
0.005635175228118896,
0.005664774894714356,
0.005651175022125244,
0.005735974788665771,
0.005656294822692871,
0.0056337351799011235,
0.005656135082244873,
0.005635974884033203,
0.005608455181121826,
0.005639655113220215,
0.005624935150146484,
0.005659975051879883,
0.005629574775695801,
0.005635175228118896,
0.005683334827423095,
0.00569181489944458,
0.005675654888153076,
0.005686055183410645,
0.005680934906005859,
0.005691655158996582,
0.0056935749053955076,
0.005673574924468994,
0.005673574924468994,
0.005651016235351563,
0.005687815189361572,
0.005706695079803467,
0.005672134876251221,
0.005680775165557862,
0.005661894798278808,
0.0056623749732971195,
0.005699174880981445,
0.005673095226287842,
0.005661894798278808,
0.005657734870910644,
0.005675334930419922,
0.005663495063781738,
0.00564925479888916,
0.005674055099487305,
0.00566509485244751,
0.0056642951965332035,
0.0056970930099487305,
0.005669575214385986,
0.0056895751953125,
0.005704935073852539,
0.005681254863739014,
0.005652615070343018
]
},
"throughput": {
"unit": "samples/s",
"value": 173.91354367493304
},
"energy": null,
"efficiency": null
}
}
}