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
5d178a8
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_type": "vit", | |
"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": {}, | |
"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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "65fa416fd503cfe9a2be7637ee30c70a4a1f96f1", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 899.444736, | |
"max_global_vram": 689.364992, | |
"max_process_vram": 43865.612288, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.88497119140625, | |
"mean": 6.88497119140625, | |
"stdev": 0.0, | |
"p50": 6.88497119140625, | |
"p90": 6.88497119140625, | |
"p95": 6.88497119140625, | |
"p99": 6.88497119140625, | |
"values": [ | |
6.88497119140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.453312, | |
"max_global_vram": 777.691136, | |
"max_process_vram": 162203.11552, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 164, | |
"total": 0.995524206161499, | |
"mean": 0.006070269549765238, | |
"stdev": 0.0006449055489030211, | |
"p50": 0.0058841009140014645, | |
"p90": 0.006623863363266, | |
"p95": 0.007850139999389648, | |
"p99": 0.008218691778182987, | |
"values": [ | |
0.005952341079711914, | |
0.005876020908355713, | |
0.005946901798248291, | |
0.005924341201782227, | |
0.005972980976104736, | |
0.005917942047119141, | |
0.0058811411857604984, | |
0.005761940956115722, | |
0.0057528200149536135, | |
0.0057275409698486325, | |
0.0056940999031066895, | |
0.005669300079345703, | |
0.0056269001960754395, | |
0.005646580219268798, | |
0.005612180233001709, | |
0.0056206598281860354, | |
0.005597300052642822, | |
0.005600339889526367, | |
0.005587860107421875, | |
0.005573299884796143, | |
0.0055729799270629885, | |
0.005572019100189209, | |
0.0055968198776245115, | |
0.005570419788360596, | |
0.005566420078277588, | |
0.005543379783630371, | |
0.005568819999694824, | |
0.005578579902648925, | |
0.008739871025085449, | |
0.005724660873413086, | |
0.005691380023956299, | |
0.005691860198974609, | |
0.005688499927520752, | |
0.005788179874420166, | |
0.005695061206817627, | |
0.005765621185302734, | |
0.005979061126708984, | |
0.006067701816558838, | |
0.006016982078552246, | |
0.006151222229003907, | |
0.006079541206359863, | |
0.006053142070770264, | |
0.006041781902313232, | |
0.0060245018005371095, | |
0.006056500911712647, | |
0.0067856240272521975, | |
0.00776450777053833, | |
0.007917148113250732, | |
0.007942108154296875, | |
0.007839868068695069, | |
0.007897307872772217, | |
0.007860348224639893, | |
0.007872188091278076, | |
0.007851387977600098, | |
0.00779666805267334, | |
0.00784306812286377, | |
0.007810587882995605, | |
0.007799228191375732, | |
0.007880348205566406, | |
0.007629787921905518, | |
0.006246421813964844, | |
0.006014902114868164, | |
0.005963541030883789, | |
0.006034901142120361, | |
0.0060141019821167, | |
0.0059977822303771975, | |
0.008689631462097168, | |
0.006184182167053223, | |
0.006023541927337646, | |
0.00603154182434082, | |
0.006016981124877929, | |
0.006046261787414551, | |
0.0060430622100830075, | |
0.005998102188110352, | |
0.00598914098739624, | |
0.006060502052307129, | |
0.006207221984863281, | |
0.00603938102722168, | |
0.006035542011260987, | |
0.0060385818481445315, | |
0.006038101196289063, | |
0.00600338077545166, | |
0.006049781799316406, | |
0.006032661914825439, | |
0.006008660793304444, | |
0.006030422210693359, | |
0.00602882194519043, | |
0.006030422210693359, | |
0.006034901142120361, | |
0.006001942157745362, | |
0.006011702060699463, | |
0.006036661148071289, | |
0.006046260833740234, | |
0.006012182235717773, | |
0.0060289821624755855, | |
0.00604210090637207, | |
0.005893301010131836, | |
0.005842260837554932, | |
0.005871380805969238, | |
0.005768661022186279, | |
0.005764180183410644, | |
0.005773620128631592, | |
0.005752340793609619, | |
0.005754580974578857, | |
0.0058603410720825195, | |
0.005761301040649414, | |
0.005789461135864257, | |
0.00578722095489502, | |
0.005799221038818359, | |
0.005768980979919434, | |
0.005766260147094727, | |
0.005794421195983886, | |
0.005754741191864013, | |
0.005756021022796631, | |
0.005743859767913818, | |
0.005775219917297363, | |
0.005766261100769043, | |
0.005829300880432129, | |
0.005874101161956787, | |
0.005743061065673828, | |
0.005808021068572998, | |
0.005759060859680176, | |
0.005946260929107666, | |
0.0060056219100952145, | |
0.005993620872497558, | |
0.0059928221702575685, | |
0.006016342163085937, | |
0.005999220848083496, | |
0.005920661926269531, | |
0.0058835411071777345, | |
0.005927861213684082, | |
0.005884020805358887, | |
0.005973781108856201, | |
0.005915221214294434, | |
0.0058272209167480465, | |
0.005768180847167969, | |
0.005747701168060303, | |
0.00576482105255127, | |
0.0057692999839782716, | |
0.005783860206604004, | |
0.0057771410942077635, | |
0.005785140991210937, | |
0.005755220890045166, | |
0.005770579814910888, | |
0.0057859401702880855, | |
0.005793301105499268, | |
0.005766261100769043, | |
0.00577138090133667, | |
0.0057587409019470214, | |
0.0057870597839355465, | |
0.0057814598083496095, | |
0.005859701156616211, | |
0.005859701156616211, | |
0.005746739864349365, | |
0.005770421028137207, | |
0.005796340942382813, | |
0.005795701026916504, | |
0.005765941143035889, | |
0.005808341026306152, | |
0.0058982610702514645, | |
0.005906421184539795, | |
0.005889619827270508, | |
0.005884181022644043, | |
0.005963380813598633 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.7373303280534 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |