rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
ee96b2a
verified
{ | |
"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", | |
"library": "transformers", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "3b8c49a169ebd79001b2a83fbf2b332612417102", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1061.134336, | |
"max_global_vram": 777.719808, | |
"max_process_vram": 177760.694272, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.000267021179199, | |
"mean": 0.006946298758188884, | |
"stdev": 0.00020142431174222845, | |
"p50": 0.006922675132751465, | |
"p90": 0.007119345092773437, | |
"p95": 0.007208136296272278, | |
"p99": 0.007830981907844542, | |
"values": [ | |
0.007991147041320801, | |
0.006920273780822754, | |
0.006942513942718506, | |
0.006882194995880127, | |
0.006850514888763428, | |
0.0068530750274658206, | |
0.006809875011444092, | |
0.0067655549049377445, | |
0.006749556064605713, | |
0.006832915782928467, | |
0.006715956211090088, | |
0.007043633937835693, | |
0.006779315948486328, | |
0.00682443618774414, | |
0.006751795768737793, | |
0.006729714870452881, | |
0.006795955181121826, | |
0.006785395145416259, | |
0.006765235900878906, | |
0.006702675819396973, | |
0.0066932358741760255, | |
0.006687635898590088, | |
0.006702035903930664, | |
0.006713076114654541, | |
0.006765395164489746, | |
0.00680779504776001, | |
0.00686123514175415, | |
0.006822515964508056, | |
0.006810356140136719, | |
0.0068389949798583986, | |
0.006826835155487061, | |
0.00677339506149292, | |
0.006831954956054687, | |
0.006824594974517822, | |
0.006726834774017334, | |
0.0067821950912475585, | |
0.006712595939636231, | |
0.006826835155487061, | |
0.006785554885864258, | |
0.006956593990325928, | |
0.0069578738212585445, | |
0.006855794906616211, | |
0.006744435787200928, | |
0.006750356197357177, | |
0.006739474773406982, | |
0.006775475978851318, | |
0.006751636028289795, | |
0.006723794937133789, | |
0.006945874214172363, | |
0.006931155204772949, | |
0.006924435138702393, | |
0.006941235065460205, | |
0.006920915126800537, | |
0.006919313907623291, | |
0.006996434211730957, | |
0.006907313823699951, | |
0.007087313175201416, | |
0.007210512161254883, | |
0.007131793022155762, | |
0.007090513229370117, | |
0.007109073162078858, | |
0.007169232845306396, | |
0.007174832820892334, | |
0.007317071914672852, | |
0.007114034175872802, | |
0.007133392810821533, | |
0.007160593032836914, | |
0.007229072093963623, | |
0.007100593090057373, | |
0.007032433986663819, | |
0.007024593830108642, | |
0.006902033805847168, | |
0.006870355129241943, | |
0.006884593963623047, | |
0.006857075214385986, | |
0.006887154102325439, | |
0.006876114845275879, | |
0.007105873107910156, | |
0.00710331392288208, | |
0.0070093941688537595, | |
0.007046194076538086, | |
0.007029873847961426, | |
0.007099792957305908, | |
0.007002674102783203, | |
0.0069169139862060545, | |
0.006935634136199951, | |
0.006996754169464111, | |
0.006967793941497802, | |
0.0069364337921142575, | |
0.006958834171295166, | |
0.006970674991607666, | |
0.006996273994445801, | |
0.007018673896789551, | |
0.007057874202728271, | |
0.006797235012054443, | |
0.006754354953765869, | |
0.006815474987030029, | |
0.006794994831085205, | |
0.0068085951805114744, | |
0.006740275859832764, | |
0.007016434192657471, | |
0.007120593070983887, | |
0.0072335519790649415, | |
0.007042513847351074, | |
0.007024434089660645, | |
0.007048593044281006, | |
0.008109867095947266, | |
0.007047634124755859, | |
0.006962034225463867, | |
0.007013073921203613, | |
0.007052753925323486, | |
0.007071952819824218, | |
0.007053553104400635, | |
0.007078993797302246, | |
0.007038194179534912, | |
0.007306672096252441, | |
0.0076186699867248535, | |
0.00710347318649292, | |
0.006927474021911621, | |
0.006937074184417725, | |
0.006825554847717285, | |
0.0068341951370239256, | |
0.0068346748352050785, | |
0.007005393028259277, | |
0.006893394947052002, | |
0.006778035163879394, | |
0.00677179479598999, | |
0.006742355823516846, | |
0.006841875076293945, | |
0.006892594814300537, | |
0.00693275499343872, | |
0.006998834133148194, | |
0.006943954944610596, | |
0.007002833843231201, | |
0.006901074886322021, | |
0.0068493947982788085, | |
0.006874995231628418, | |
0.006870355129241943, | |
0.006951794147491455, | |
0.007116433143615723, | |
0.00719467306137085, | |
0.007103632926940918, | |
0.007052753925323486, | |
0.006992914199829101 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.96155921469912 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |