IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
b4590dd 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.410624,
"max_global_vram": 68702.69952,
"max_process_vram": 47133.302784,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.272859375,
"mean": 8.272859375,
"stdev": 0.0,
"p50": 8.272859375,
"p90": 8.272859375,
"p95": 8.272859375,
"p99": 8.272859375,
"values": [
8.272859375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.213248,
"max_global_vram": 68702.69952,
"max_process_vram": 170701.451264,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.9991794185638422,
"mean": 0.006206083345117036,
"stdev": 0.0009992751073301471,
"p50": 0.0060883059501647945,
"p90": 0.006435504913330078,
"p95": 0.006739345073699951,
"p99": 0.0068559199333190915,
"values": [
0.017853078842163087,
0.004032310009002686,
0.004014070987701416,
0.004025269985198974,
0.00402687120437622,
0.006338544845581055,
0.006238864898681641,
0.0062711858749389645,
0.006348305225372315,
0.006266864776611328,
0.006216625213623047,
0.006540625095367431,
0.0063153448104858395,
0.0062015848159790036,
0.006299184799194336,
0.006328785896301269,
0.006413424968719482,
0.006360945224761963,
0.0061819062232971195,
0.006262225151062012,
0.006076146125793457,
0.006076145172119141,
0.006081106185913086,
0.006086225986480713,
0.006127184867858887,
0.0061427059173583985,
0.006141584873199463,
0.006094225883483887,
0.006119824886322021,
0.006121426105499267,
0.00608526611328125,
0.006122226238250732,
0.0061067061424255374,
0.006081745147705078,
0.0060783858299255375,
0.006093585968017578,
0.006086864948272705,
0.00607758617401123,
0.0060692658424377445,
0.0060694260597229,
0.0060020661354064945,
0.0060921449661254885,
0.0060596661567687985,
0.006079986095428467,
0.0060609450340271,
0.006071506023406982,
0.006044785976409912,
0.006095826148986816,
0.00608366584777832,
0.006075345993041993,
0.006017106056213379,
0.006079665184020996,
0.006074066162109375,
0.00609294605255127,
0.006162705898284912,
0.006082066059112549,
0.006111185073852539,
0.00609566593170166,
0.006091666221618652,
0.006045586109161377,
0.006057425975799561,
0.006069106101989746,
0.006034544944763184,
0.006073425769805909,
0.0060643057823181155,
0.0060689449310302734,
0.006078226089477539,
0.006075826168060303,
0.006057425022125244,
0.006110065937042236,
0.006074066162109375,
0.006072464942932129,
0.006055506229400634,
0.0060596661567687985,
0.006072144985198974,
0.006076945781707764,
0.006261264801025391,
0.0061017460823059085,
0.006094066143035889,
0.006086225986480713,
0.00606894588470459,
0.006075985908508301,
0.006076786041259765,
0.006096146106719971,
0.006382064819335937,
0.006072464942932129,
0.006102225780487061,
0.0060883059501647945,
0.006093904972076416,
0.006063826084136963,
0.006083186149597168,
0.0060799851417541505,
0.006055346012115478,
0.006063186168670655,
0.006085265159606934,
0.006075026035308838,
0.006093746185302735,
0.006068305969238281,
0.0060735859870910645,
0.006069906234741211,
0.006081904888153076,
0.0060718259811401365,
0.006071986198425293,
0.006071024894714355,
0.006056146144866943,
0.006077105045318603,
0.00607326602935791,
0.006089745998382568,
0.006146385192871094,
0.006074545860290527,
0.006083025932312012,
0.006065906047821045,
0.006048305988311768,
0.0060625457763671875,
0.00606142520904541,
0.0060692658424377445,
0.006102225780487061,
0.006095664978027344,
0.006092785835266113,
0.00608990478515625,
0.006067986011505127,
0.006066545963287353,
0.006074545860290527,
0.006059025764465332,
0.006074225902557373,
0.0060883059501647945,
0.006190065860748291,
0.006856304168701172,
0.006817264080047607,
0.006831664085388184,
0.006739345073699951,
0.006415503978729248,
0.006479185104370117,
0.006194066047668457,
0.0063273458480834965,
0.006421264171600342,
0.006373744964599609,
0.006360945224761963,
0.006235345840454102,
0.00638190507888794,
0.006334704875946045,
0.006511023998260498,
0.006841904163360596,
0.006836143970489502,
0.006855663776397705,
0.006780943870544434,
0.006435504913330078,
0.00622574520111084,
0.006425425052642823,
0.006044785976409912,
0.006056786060333252,
0.006053905963897705,
0.006695184230804443,
0.006453585147857666,
0.0063215851783752445,
0.006436464786529541,
0.006342545032501221,
0.0063220648765563965,
0.0064147047996521,
0.006195825099945068,
0.0064515042304992675
]
},
"throughput": {
"unit": "samples/s",
"value": 161.13222211023043
},
"energy": null,
"efficiency": null
}
}
}