IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
0d0b1d8 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": "6",
"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": 2,
"sequence_length": 16,
"num_choices": 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1100.832768,
"max_global_vram": 68702.69952,
"max_process_vram": 4455.387136,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.1366859588623047
],
"count": 1,
"total": 0.1366859588623047,
"mean": 0.1366859588623047,
"p50": 0.1366859588623047,
"p90": 0.1366859588623047,
"p95": 0.1366859588623047,
"p99": 0.1366859588623047,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1269.215232,
"max_global_vram": 68702.69952,
"max_process_vram": 175850.745856,
"max_reserved": 400.556032,
"max_allocated": 373.34528
},
"latency": {
"unit": "s",
"values": [
0.006718738079071045,
0.006288176059722901,
0.006300177097320557,
0.006324656963348389,
0.00628769588470459,
0.006245935916900635,
0.006248976230621338,
0.006248176097869873,
0.006252817153930664,
0.006281136035919189,
0.006287056922912598,
0.006294735908508301,
0.006258256912231445,
0.006272975921630859,
0.006276977062225342,
0.0062864160537719725,
0.006260016918182373,
0.006266255855560302,
0.006253616809844971,
0.0062912158966064455,
0.006314096927642822,
0.006283215999603272,
0.00627873706817627,
0.006275856018066407,
0.006271377086639405,
0.006290575981140137,
0.006293937206268311,
0.006289135932922363,
0.006315855979919433,
0.006290256977081299,
0.006293295860290527,
0.006302896976470947,
0.0062864160537719725,
0.006245777130126953,
0.006305136203765869,
0.0062721772193908695,
0.006270576000213623,
0.006290896892547608,
0.006277455806732178,
0.00631361722946167,
0.0062776169776916505,
0.006335055828094483,
0.006284496784210205,
0.006273935794830323,
0.006302096843719482,
0.0062894558906555174,
0.006304656982421875,
0.006284976005554199,
0.0062576160430908205,
0.006278736114501953,
0.006305616855621338,
0.006333937168121338,
0.006252016067504883,
0.006328176975250244,
0.006307536125183105,
0.006276977062225342,
0.0062766561508178715,
0.00629345703125,
0.006307695865631104,
0.006240336894989013,
0.006295695781707764,
0.006297457218170166,
0.006283376216888428,
0.0063291358947753906,
0.006287537097930908,
0.006273776054382324,
0.006978417873382568,
0.007027698040008545,
0.007056657791137695,
0.007087697982788086,
0.007062259197235107,
0.007068017959594727,
0.007043219089508056,
0.007106577873229981,
0.007015377998352051,
0.006432016849517822,
0.006718417167663574,
0.006670096874237061,
0.006664177894592285,
0.006742577075958252,
0.006782097816467285,
0.0065785770416259765,
0.0066976180076599124,
0.006696497917175293,
0.006502256870269775,
0.006672176837921142,
0.006666577816009521,
0.006464177131652832,
0.0062251358032226565,
0.006268016815185547,
0.006248816013336182,
0.006261937141418457,
0.006203216075897217,
0.006265135765075683,
0.006234577178955078,
0.006315855979919433,
0.006313776969909668,
0.006282256126403808,
0.006304815769195556,
0.006284817218780518,
0.006302095890045166,
0.0063276968002319335,
0.00628001594543457,
0.006313457012176514,
0.006268816947937012,
0.006324816226959229,
0.006307537078857422,
0.006316176891326904,
0.006300975799560547,
0.0062940969467163085,
0.006316336154937744,
0.0063185768127441404,
0.006287536144256592,
0.006318575859069824,
0.006313457012176514,
0.006334415912628174,
0.006328657150268555,
0.006321617126464844,
0.00631057596206665,
0.0063033771514892575,
0.006311376094818116,
0.006300656795501709,
0.0063419370651245114,
0.0063291358947753906,
0.006293776988983154,
0.006328495979309082,
0.006316017150878906,
0.006310896873474121,
0.00630017614364624,
0.006290256977081299,
0.006283696174621582,
0.006313296794891357,
0.0065619368553161625,
0.0062971367835998535,
0.006301775932312011,
0.006304656982421875,
0.0062840161323547365,
0.006302416801452637,
0.006296016216278076,
0.006328015804290771,
0.0063083372116088865,
0.006267856121063233,
0.006300497055053711,
0.0062699360847473145,
0.006277936935424805,
0.0062912158966064455,
0.006283216953277588,
0.006325615882873535,
0.006268816947937012,
0.006284175872802734,
0.006272175788879395,
0.0063078560829162595,
0.006276495933532715,
0.006279376029968262,
0.006276336193084717,
0.006255216121673584,
0.00630625581741333
],
"count": 157,
"total": 0.9996606922149658,
"mean": 0.006367265555509337,
"p50": 0.0062971367835998535,
"p90": 0.006670928859710694,
"p95": 0.006985809898376464,
"p99": 0.007076677169799804,
"stdev": 0.00020062724439832153,
"stdev_": 3.150916867676846
},
"throughput": {
"unit": "samples/s",
"value": 314.10657880751984
},
"energy": null,
"efficiency": null
}
}
}