IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
da23df2 verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"device": "cuda",
"device_ids": "4",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 903.405568,
"max_global_vram": 689.381376,
"max_process_vram": 41222.344704,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3104541015625,
"mean": 7.3104541015625,
"stdev": 0.0,
"p50": 7.3104541015625,
"p90": 7.3104541015625,
"p95": 7.3104541015625,
"p99": 7.3104541015625,
"values": [
7.3104541015625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1073.659904,
"max_global_vram": 777.699328,
"max_process_vram": 172281.56928,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 159,
"total": 0.994969058990479,
"mean": 0.006257667037675965,
"stdev": 0.0005419897597416379,
"p50": 0.0061708598136901854,
"p90": 0.006623594188690186,
"p95": 0.006663898134231567,
"p99": 0.007813788843154878,
"values": [
0.006353259086608887,
0.006551178932189941,
0.006485898017883301,
0.006463658809661865,
0.0065602979660034175,
0.006461739063262939,
0.00666605806350708,
0.00620029878616333,
0.0062057399749755856,
0.00601662015914917,
0.005985899925231934,
0.006035339832305908,
0.005988621234893799,
0.006067500114440918,
0.006101900100708007,
0.006007181167602539,
0.005965260028839112,
0.005960619926452636,
0.0059670209884643555,
0.005980461120605469,
0.005961420059204102,
0.005987820148468018,
0.0059737410545349125,
0.0060430197715759274,
0.006009580135345459,
0.006026700019836426,
0.009129409790039062,
0.006787497043609619,
0.006498538970947266,
0.006525417804718017,
0.006518538951873779,
0.0065558180809021,
0.006589579105377197,
0.006590379238128662,
0.006575657844543457,
0.006604457855224609,
0.006615818023681641,
0.00657245922088623,
0.0066122980117797854,
0.006571018218994141,
0.006545897960662842,
0.006616298198699951,
0.006583339214324952,
0.006588297843933106,
0.006618378162384034,
0.010929404258728027,
0.0068226981163024905,
0.006636618137359619,
0.0066103777885437014,
0.006602858066558838,
0.006640297889709473,
0.006658217906951904,
0.006623178005218506,
0.006663658142089844,
0.006604299068450927,
0.006581899166107178,
0.006597417831420899,
0.006595017910003662,
0.0066054191589355465,
0.006151020050048828,
0.005840781211853027,
0.005895340919494629,
0.005864941120147705,
0.005857420921325684,
0.005839981079101562,
0.005832780838012695,
0.005840301036834717,
0.0058513407707214355,
0.005874060153961182,
0.00583742094039917,
0.005831661224365234,
0.0058337411880493165,
0.00581454086303711,
0.005812140941619873,
0.00583518123626709,
0.00582974100112915,
0.006068299770355225,
0.005832300186157226,
0.005850060939788819,
0.005884140968322754,
0.005903180122375488,
0.005873741149902344,
0.005891980171203614,
0.005866220951080322,
0.005934060096740723,
0.006190380096435547,
0.005925899982452393,
0.005938061237335205,
0.0061110200881958005,
0.0058211002349853515,
0.005837261199951172,
0.006288138866424561,
0.005857100963592529,
0.0058342208862304686,
0.005885099887847901,
0.005848940849304199,
0.006246540069580078,
0.006123020172119141,
0.006180140018463134,
0.006279499053955078,
0.006270060062408447,
0.006218220233917236,
0.006425259113311768,
0.006207018852233887,
0.006237419128417969,
0.006231339931488037,
0.00616205883026123,
0.006355659008026123,
0.006247819900512696,
0.006144139766693115,
0.0063667001724243165,
0.006458378791809082,
0.006380458831787109,
0.006249259948730468,
0.006609899044036865,
0.006642697811126709,
0.0066233382225036625,
0.006614058017730713,
0.006615178108215332,
0.00661693811416626,
0.006861097812652588,
0.006667017936706543,
0.006624618053436279,
0.00658637809753418,
0.006620458126068115,
0.006679178237915039,
0.006584939002990723,
0.006649259090423584,
0.006638699054718018,
0.006583978176116943,
0.006351978778839112,
0.0060204601287841795,
0.006229899883270264,
0.006094699859619141,
0.006176780223846436,
0.006170539855957031,
0.006133419036865234,
0.0061708598136901854,
0.006072460174560547,
0.006200779914855957,
0.006073740959167481,
0.005873260974884033,
0.00581342077255249,
0.005863181114196777,
0.00583165979385376,
0.00582590103149414,
0.005825261116027832,
0.005827661037445068,
0.005802861213684082,
0.005827180862426758,
0.005851661205291748,
0.005842700958251953,
0.00586814022064209,
0.005827341079711914,
0.005827661037445068,
0.005849101066589355,
0.005842860221862793,
0.0058502211570739746,
0.00584174108505249
]
},
"throughput": {
"unit": "samples/s",
"value": 159.80396431756938
},
"energy": null,
"efficiency": null
}
}
}