IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
266d4b0 verified
raw
history blame
11.7 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": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"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": 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,
"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",
"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.2.0",
"optimum_benchmark_commit": "2db7e171d23768cdeb341987283e17e0b2db9bd9",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1060.962304,
"max_global_vram": 1758.834688,
"max_process_vram": 170924.916736,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 169,
"total": 0.995322573184967,
"mean": 0.005889482681567852,
"stdev": 0.00021495111122064574,
"p50": 0.005803373813629151,
"p90": 0.00615185489654541,
"p95": 0.00632839879989624,
"p99": 0.006621807842254639,
"values": [
0.007333777904510498,
0.0061513748168945314,
0.006138094902038574,
0.005827854156494141,
0.005810254096984864,
0.005835854053497315,
0.005780653953552246,
0.005819374084472656,
0.005793774127960205,
0.005812014102935791,
0.0057950539588928224,
0.005809934139251709,
0.005982415199279785,
0.005791213989257813,
0.005801774024963379,
0.005792813777923584,
0.00581537389755249,
0.005817934036254883,
0.005810413837432861,
0.00581313419342041,
0.005826893806457519,
0.005829773902893067,
0.00582497501373291,
0.0058043341636657714,
0.0057902541160583494,
0.005813613891601562,
0.005794094085693359,
0.005814253807067871,
0.005790574073791504,
0.005812334060668945,
0.005819054126739502,
0.005787374019622803,
0.00578209400177002,
0.005831054210662842,
0.0058193750381469725,
0.005847214221954345,
0.005816493988037109,
0.005836493968963623,
0.005807854175567627,
0.005799694061279297,
0.005849133968353271,
0.005818734169006348,
0.005821293830871582,
0.005800174236297607,
0.005796494007110596,
0.0057852940559387205,
0.005801293849945068,
0.005808013916015625,
0.005814895153045654,
0.005829773902893067,
0.0057902541160583494,
0.005807534217834472,
0.005798093795776367,
0.0057920141220092775,
0.005768333911895752,
0.005788973808288574,
0.005798734188079834,
0.005807854175567627,
0.005785614013671875,
0.005833134174346923,
0.005817934036254883,
0.0057956938743591304,
0.005795214176177978,
0.005800653934478759,
0.005785774230957031,
0.0058024139404296874,
0.005807054042816162,
0.005784493923187256,
0.0057926540374755855,
0.005779533863067627,
0.00612577486038208,
0.005778893947601318,
0.00582737398147583,
0.0059776148796081546,
0.00579841423034668,
0.005794253826141358,
0.005814894199371338,
0.006028174877166748,
0.00599217414855957,
0.0060347352027893065,
0.005803853988647461,
0.005828973770141602,
0.0057852940559387205,
0.005799054145812988,
0.005788973808288574,
0.0057846541404724125,
0.0057761740684509275,
0.005797773838043213,
0.005800174236297607,
0.005793774127960205,
0.005779213905334472,
0.005792334079742432,
0.005805774211883545,
0.005789293766021729,
0.005984175205230713,
0.005799853801727295,
0.005796013832092285,
0.005787374019622803,
0.005800973892211914,
0.005792173862457275,
0.005786734104156494,
0.005774094104766846,
0.005787374019622803,
0.005776494026184082,
0.00579297399520874,
0.0057976140975952144,
0.005791213989257813,
0.005840334892272949,
0.005786893844604492,
0.005801134109497071,
0.00578209400177002,
0.005803373813629151,
0.0057742538452148435,
0.005793613910675049,
0.0059312148094177244,
0.005783534049987793,
0.005779853820800781,
0.0057736139297485355,
0.005792334079742432,
0.005791694164276123,
0.005804335117340088,
0.006033773899078369,
0.005788174152374268,
0.005834734916687011,
0.005789934158325195,
0.005813613891601562,
0.006176014900207519,
0.006628335952758789,
0.006618735790252686,
0.006594255924224853,
0.006575375080108642,
0.006612336158752442,
0.006169455051422119,
0.006317454814910889,
0.006211534976959228,
0.006231535911560058,
0.006219534873962402,
0.006153775215148926,
0.006335694789886475,
0.006150094985961914,
0.006343535900115967,
0.006477295875549316,
0.00606321382522583,
0.006002415180206299,
0.005829133987426758,
0.005791374206542969,
0.0057736139297485355,
0.0058027348518371585,
0.006181294918060303,
0.005818734169006348,
0.005773933887481689,
0.005793293952941894,
0.005786734104156494,
0.005778413772583008,
0.00579249382019043,
0.005991854190826416,
0.006005294799804687,
0.0057976140975952144,
0.005846734046936035,
0.005794894218444824,
0.0057993741035461425,
0.005788174152374268,
0.0057852940559387205,
0.00604897403717041,
0.006113452911376953,
0.005834895133972168,
0.005802894115447998,
0.005801454067230225,
0.005808174133300781
]
},
"throughput": {
"unit": "samples/s",
"value": 169.79419994385447
},
"energy": null,
"efficiency": null
}
}
}