IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
5d01b1e 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": 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": 1098.887168,
"max_global_vram": 68702.69952,
"max_process_vram": 5813.993472,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.13330995178222657
],
"count": 1,
"total": 0.13330995178222657,
"mean": 0.13330995178222657,
"p50": 0.13330995178222657,
"p90": 0.13330995178222657,
"p95": 0.13330995178222657,
"p99": 0.13330995178222657,
"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": 180917.854208,
"max_reserved": 400.556032,
"max_allocated": 373.34528
},
"latency": {
"unit": "s",
"values": [
0.0065108189582824706,
0.006235782146453857,
0.006253382205963135,
0.006242821216583252,
0.0062303409576416014,
0.006182181835174561,
0.006366020202636719,
0.006185701847076416,
0.006217061996459961,
0.006217061996459961,
0.006210341930389405,
0.006185701847076416,
0.006197542190551758,
0.006235940933227539,
0.006221541881561279,
0.006248422145843506,
0.006214981079101563,
0.006203462123870849,
0.006207781791687012,
0.0062044219970703125,
0.006270980834960938,
0.006277060985565185,
0.006202981948852539,
0.006204582214355468,
0.006187461853027344,
0.006262500762939453,
0.006250660896301269,
0.006264740943908691,
0.006256101131439209,
0.006245861053466797,
0.006239622116088867,
0.006234662055969238,
0.006234342098236084,
0.00623914098739624,
0.006256580829620361,
0.00621770191192627,
0.006300900936126709,
0.006233382225036621,
0.006224260807037353,
0.006215941905975342,
0.0062442607879638675,
0.006246981143951416,
0.006217862129211426,
0.006223782062530518,
0.00627626085281372,
0.006243940830230713,
0.006224421977996826,
0.006237061977386474,
0.006269381046295166,
0.006249061107635498,
0.006224262237548828,
0.0062490620613098145,
0.006233702182769776,
0.006232901096343994,
0.006236102104187012,
0.006249382019042969,
0.006249382019042969,
0.006244581222534179,
0.006252420902252197,
0.0062516207695007325,
0.006264901161193848,
0.006284901142120361,
0.006297380924224854,
0.006258340835571289,
0.006669696807861328,
0.007018814086914063,
0.0069821739196777345,
0.006998654842376709,
0.006750017166137695,
0.006439619064331055,
0.006880415916442871,
0.006985374927520752,
0.006974494934082031,
0.006980894088745117,
0.006506019115447998,
0.0065279388427734375,
0.006528099060058593,
0.006419139862060547,
0.006691617965698242,
0.006400740146636963,
0.0066266579627990724,
0.006549858093261719,
0.006388100147247314,
0.006545857906341553,
0.006638177871704102,
0.006390340805053711,
0.006728416919708252,
0.0066504979133605955,
0.006413700103759766,
0.006586818218231201,
0.006240901947021485,
0.0062282619476318355,
0.006286500930786133,
0.0062607421875,
0.006251301765441895,
0.0062607421875,
0.006257541179656982,
0.006270501136779785,
0.006261381149291992,
0.006272740840911865,
0.006250181198120117,
0.006267140865325928,
0.0062535409927368165,
0.006265060901641846,
0.00623482084274292,
0.0062895407676696775,
0.006260422229766846,
0.006240101814270019,
0.00626298189163208,
0.006255620956420898,
0.0061994619369506836,
0.006259302139282227,
0.0062612218856811525,
0.006257542133331299,
0.0062417020797729495,
0.0062554612159729005,
0.006271780967712403,
0.006255140781402588,
0.006250501155853272,
0.0062890610694885255,
0.006266500949859619,
0.0062537012100219724,
0.006251941204071045,
0.006269540786743164,
0.006225381851196289,
0.006274342060089111,
0.006277381896972656,
0.006285861015319825,
0.006259941101074219,
0.0062351422309875485,
0.006232421875,
0.006222500801086426,
0.00624874210357666,
0.006254662036895752,
0.006283620834350586,
0.00624490213394165,
0.006263462066650391,
0.006262182235717773,
0.006263301849365234,
0.006249221801757812,
0.006235620975494385,
0.0062821807861328125,
0.00626154088973999,
0.006244101047515869,
0.006247460842132568,
0.00624442195892334,
0.00626458215713501,
0.006234501838684082,
0.006260100841522217,
0.006238821029663086,
0.006233860969543457,
0.006283461093902588,
0.006242502212524414,
0.0062618618011474605,
0.006256260871887207,
0.006255941867828369,
0.006262341976165772,
0.006212421894073486
],
"count": 158,
"total": 0.998182811260223,
"mean": 0.006317612729495084,
"p50": 0.006255300998687744,
"p90": 0.006547057962417602,
"p95": 0.006731656956672669,
"p99": 0.006991085290908814,
"stdev": 0.0001794456852321107,
"stdev_": 2.840403375698091
},
"throughput": {
"unit": "samples/s",
"value": 316.57527702870823
},
"energy": null,
"efficiency": null
}
}
}