IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
640fd67 verified
raw
history blame
10.5 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",
"model": "google/vit-base-patch16-224",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "b0a0b933f18d5fa56eadb290a26cc2099f2dd4d8",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1050.984448,
"max_global_vram": 34084.114432,
"max_process_vram": 208693.506048,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.997491748332977,
"mean": 0.0071761996282948,
"stdev": 0.00019885782084796996,
"p50": 0.007170987129211426,
"p90": 0.007282057952880859,
"p95": 0.007527848815917968,
"p99": 0.007947964029312134,
"values": [
0.006967150211334229,
0.007033069133758545,
0.0070772280693054196,
0.0071973872184753415,
0.007269227027893067,
0.007337546825408935,
0.007396426200866699,
0.007190826892852783,
0.007233867168426514,
0.007247467041015625,
0.007239626884460449,
0.007256587028503418,
0.0074337048530578615,
0.0072162671089172365,
0.007160108089447021,
0.007166667938232422,
0.007153707027435303,
0.007191466808319092,
0.0071506681442260744,
0.0071103482246398925,
0.007143308162689209,
0.007121707916259766,
0.00713290786743164,
0.007175628185272217,
0.007169387817382813,
0.007194346904754638,
0.007170987129211426,
0.007188746929168701,
0.007202346801757812,
0.007196426868438721,
0.007259946823120117,
0.007217546939849853,
0.0071837868690490725,
0.007164107799530029,
0.007178028106689453,
0.007157547950744629,
0.007132267951965332,
0.007149228096008301,
0.007229866981506347,
0.007162507057189941,
0.007112587928771973,
0.007192748069763184,
0.007189387798309326,
0.007154026985168457,
0.007201706886291504,
0.007151308059692382,
0.0071799478530883785,
0.0071882672309875485,
0.007211466789245605,
0.007179787158966064,
0.0071948270797729495,
0.007225866794586182,
0.007177708148956299,
0.0071909880638122555,
0.00718474817276001,
0.00720410680770874,
0.007190506935119629,
0.007183466911315918,
0.007214187145233154,
0.007229866981506347,
0.007199467182159424,
0.007182346820831299,
0.007186507225036621,
0.007209066867828369,
0.007264747142791748,
0.007269865989685058,
0.0072665071487426755,
0.00719914722442627,
0.007220427036285401,
0.007264107227325439,
0.007225707054138184,
0.007192108154296875,
0.007154027938842774,
0.007193387031555176,
0.007226827144622802,
0.0073345060348510745,
0.007159627914428711,
0.007230827808380127,
0.007147627830505371,
0.007131147861480713,
0.007183948040008545,
0.0072386679649353025,
0.007168107986450195,
0.007168266773223877,
0.007153707981109619,
0.00712362813949585,
0.007070188045501709,
0.00710234785079956,
0.007083467960357666,
0.007104427814483643,
0.007107307910919189,
0.007222667217254639,
0.007122188091278076,
0.007158027172088623,
0.007246026992797852,
0.007987300872802734,
0.008045221328735351,
0.007883782863616944,
0.007872743129730225,
0.007714183807373047,
0.0077556238174438475,
0.007808903217315674,
0.0075071449279785155,
0.007474346160888672,
0.007330825805664062,
0.007167468070983887,
0.006967148780822754,
0.007006828784942627,
0.00698266887664795,
0.007073548793792725,
0.006847309112548828,
0.0070114688873291016,
0.006969869136810303,
0.007066829204559326,
0.007015789031982422,
0.006977388858795166,
0.007000907897949219,
0.006980109214782715,
0.006934988975524903,
0.0069810690879821774,
0.006966509819030762,
0.006965548992156983,
0.006927468776702881,
0.0069314689636230465,
0.006972428798675537,
0.006995149135589599,
0.007011949062347412,
0.007024909019470215,
0.006961548805236816,
0.006947628974914551,
0.006882190227508545,
0.006969549179077148,
0.006940749168395996,
0.007042829036712646,
0.006941229820251465,
0.0069474692344665525,
0.007002189159393311,
0.006974029064178467,
0.006894989013671875
]
},
"throughput": {
"unit": "samples/s",
"value": 139.3495236750568
},
"energy": null,
"efficiency": null
}
}
}