IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
530a93d 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": 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": 1082014.482432,
"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.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1096.54016,
"max_global_vram": 68702.69952,
"max_process_vram": 4668.936192,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.10730561828613282
],
"count": 1,
"total": 0.10730561828613282,
"mean": 0.10730561828613282,
"p50": 0.10730561828613282,
"p90": 0.10730561828613282,
"p95": 0.10730561828613282,
"p99": 0.10730561828613282,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1268.79744,
"max_global_vram": 68702.69952,
"max_process_vram": 176351.350784,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"values": [
0.006630569934844971,
0.006240170955657959,
0.006236489772796631,
0.006193930149078369,
0.006222249984741211,
0.006198410987854004,
0.006244649887084961,
0.006183690071105957,
0.00623921012878418,
0.0062001700401306155,
0.006276811122894287,
0.006290729999542236,
0.006263529777526856,
0.006241130828857422,
0.006213449954986573,
0.006277130126953125,
0.006268809795379639,
0.006252010822296142,
0.006273129940032959,
0.006217289924621582,
0.006252810955047607,
0.00626161003112793,
0.00626161003112793,
0.006246570110321045,
0.006232010841369629,
0.006276969909667969,
0.0062044901847839356,
0.0062857699394226075,
0.006282569885253907,
0.006287370204925537,
0.006256330013275147,
0.006247210025787354,
0.006223849773406983,
0.006258409976959228,
0.0062524909973144535,
0.006278090000152588,
0.006259689807891846,
0.006288811206817627,
0.0062448101043701175,
0.006227690219879151,
0.006243209838867187,
0.0062721710205078125,
0.006251369953155518,
0.006267370223999024,
0.006256171226501465,
0.006249129772186279,
0.006278729915618896,
0.00624625015258789,
0.006254250049591064,
0.006305290222167969,
0.006263209819793701,
0.006224171161651611,
0.0062380900382995605,
0.00626209020614624,
0.006243209838867187,
0.006319530010223388,
0.00626545000076294,
0.006251850128173828,
0.00629265022277832,
0.006257289886474609,
0.006310090065002442,
0.0063200101852417,
0.006277450084686279,
0.006290250778198242,
0.006268809795379639,
0.006235209941864014,
0.00631344985961914,
0.006274569988250733,
0.0063091301918029785,
0.006235209941864014,
0.006280170917510986,
0.006264009952545166,
0.0062502498626708985,
0.006246730804443359,
0.0062712101936340334,
0.007009931087493896,
0.0069731311798095705,
0.007067852020263672,
0.006881771087646485,
0.006476970195770264,
0.007088171005249023,
0.007011851787567139,
0.007019371032714844,
0.006846731185913086,
0.006527530193328857,
0.006614410877227783,
0.0069051308631896974,
0.006925930976867676,
0.006689130783081055,
0.00669649076461792,
0.006500811100006104,
0.006701291084289551,
0.006623530864715576,
0.0064918498992919925,
0.006687850952148438,
0.007134411811828613,
0.00688145112991333,
0.00659713077545166,
0.00672321081161499,
0.0066886510848999025,
0.0065350508689880375,
0.006743531227111816,
0.006616651058197021,
0.006412010192871093,
0.006274409770965576,
0.006260009765625,
0.0062905712127685545,
0.006293449878692627,
0.00627632999420166,
0.006307051181793213,
0.006234250068664551,
0.0062363300323486325,
0.006251049995422363,
0.006303209781646729,
0.006267210006713867,
0.006302570819854737,
0.006249929904937744,
0.0062216100692749025,
0.006225450038909912,
0.006261610984802246,
0.006251689910888672,
0.006228330135345459,
0.006245610237121582,
0.006257290840148926,
0.006261929988861084,
0.0062900900840759276,
0.006256491184234619,
0.006260809898376465,
0.006237450122833252,
0.006229450225830078,
0.006219851016998291,
0.0062123298645019535,
0.006209609985351562,
0.006260009765625,
0.006205611228942871,
0.0062500901222229,
0.006251530170440674,
0.0062344098091125484,
0.006234731197357178,
0.006235529899597168,
0.006235050201416016,
0.006269130229949951,
0.006230250835418701,
0.006232649803161621,
0.006227530002593994,
0.006225450038909912,
0.006223051071166992,
0.0062371292114257815,
0.006231210231781006,
0.0062289700508117675,
0.006225450992584229,
0.0062643299102783205,
0.006257289886474609,
0.006245930194854737,
0.00624193000793457,
0.006232170104980469,
0.006267210006713867
],
"count": 157,
"total": 0.9969152245521544,
"mean": 0.0063497785003321944,
"p50": 0.006260809898376465,
"p90": 0.0066920747756958,
"p95": 0.0069092908859252926,
"p99": 0.007076792373657227,
"stdev": 0.00021823691331310314,
"stdev_": 3.4369216706013583
},
"throughput": {
"unit": "samples/s",
"value": 157.4858083549976
},
"energy": null,
"efficiency": null
}
}
}