IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
3e60f49 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": "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": 1072.214016,
"max_global_vram": 68702.69952,
"max_process_vram": 49281.482752,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4317734375,
"mean": 8.4317734375,
"stdev": 0.0,
"p50": 8.4317734375,
"p90": 8.4317734375,
"p95": 8.4317734375,
"p99": 8.4317734375,
"values": [
8.4317734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.106752,
"max_global_vram": 68702.69952,
"max_process_vram": 170917.470208,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.995177975177765,
"mean": 0.0061812296594892235,
"stdev": 0.0003274309283492702,
"p50": 0.006111345767974854,
"p90": 0.006696784019470215,
"p95": 0.006716303825378418,
"p99": 0.007387470054626471,
"values": [
0.006705103874206543,
0.0061228652000427245,
0.0061446261405944825,
0.006148465156555176,
0.006188146114349365,
0.006308945178985595,
0.0062967848777771,
0.006148145198822021,
0.006196146011352539,
0.0061806259155273435,
0.006155664920806885,
0.006194066047668457,
0.006179025173187256,
0.006123345851898193,
0.006129106044769287,
0.006117745876312256,
0.006247665882110596,
0.006133904933929443,
0.006111345767974854,
0.006112945079803467,
0.006127985954284668,
0.006210545063018799,
0.006152144908905029,
0.0061359858512878415,
0.0061563048362731935,
0.0062039861679077145,
0.006139025211334228,
0.006195344924926758,
0.006253265857696534,
0.006198864936828613,
0.006203985214233399,
0.006515184879302979,
0.006398705005645752,
0.006364624977111816,
0.008041741371154786,
0.006507824897766113,
0.006386704921722412,
0.0063062248229980465,
0.006228944778442383,
0.00622718620300293,
0.0061780657768249515,
0.006178384780883789,
0.0059580659866333005,
0.005923505783081055,
0.005947346210479736,
0.005949905872344971,
0.005980465888977051,
0.005924626827239991,
0.005966385841369629,
0.006001905918121338,
0.005958705902099609,
0.005992785930633545,
0.006204305171966552,
0.005941746234893799,
0.005984466075897216,
0.005976625919342041,
0.005984625816345215,
0.005988945007324218,
0.005982865810394287,
0.005982545852661133,
0.006029426097869873,
0.005952305793762207,
0.005975505828857422,
0.005993745803833008,
0.005962545871734619,
0.005954706192016602,
0.0059598259925842285,
0.005944786071777344,
0.006004466056823731,
0.005953266143798828,
0.006004786014556885,
0.005979986190795899,
0.00598158597946167,
0.005967986106872558,
0.005995505809783935,
0.006017106056213379,
0.006234224796295166,
0.006005425930023193,
0.006019025802612305,
0.006016305923461914,
0.0059867057800292965,
0.006199504852294922,
0.005999666213989258,
0.005958546161651612,
0.005923666000366211,
0.005923666000366211,
0.0059515061378479,
0.005947986125946045,
0.005972946166992187,
0.0059524660110473636,
0.005944945812225342,
0.005968785762786865,
0.005958866119384765,
0.00597630500793457,
0.005955825805664063,
0.005928785800933838,
0.006106066226959229,
0.006109745025634766,
0.00593134593963623,
0.006377584934234619,
0.0063203048706054685,
0.006118064880371094,
0.0062118258476257324,
0.005922706127166748,
0.005919186115264893,
0.0059524660110473636,
0.005931985855102539,
0.00597502613067627,
0.0059166259765625,
0.005888626098632812,
0.0059011058807373045,
0.005929585933685303,
0.005931025981903077,
0.005927666187286377,
0.005920146942138672,
0.005894546985626221,
0.005932625770568848,
0.005898866176605224,
0.006042545795440674,
0.00596142578125,
0.005947505950927735,
0.005944945812225342,
0.005920145988464355,
0.0059223871231079105,
0.005938226222991943,
0.0059598259925842285,
0.005925265789031983,
0.005949106216430664,
0.006030385971069336,
0.00673854398727417,
0.006723343849182129,
0.006716303825378418,
0.006728943824768067,
0.006136465072631836,
0.00638622522354126,
0.006314545154571533,
0.006238705158233643,
0.006502385139465332,
0.00612206506729126,
0.006696784019470215,
0.006704463958740235,
0.006699984073638916,
0.006705104827880859,
0.006700465202331543,
0.00633118486404419,
0.00626270580291748,
0.006331984996795654,
0.00629070520401001,
0.008003500938415528,
0.00697678279876709,
0.006728303909301758,
0.006700623989105225,
0.006696784019470215,
0.00675870418548584,
0.0066790242195129395,
0.0066966238021850585,
0.006583984851837158,
0.006388784885406494,
0.00667086410522461,
0.006597583770751953,
0.006398385047912598
]
},
"throughput": {
"unit": "samples/s",
"value": 161.7801076950494
},
"energy": null,
"efficiency": null
}
}
}