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
36a2eb3
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.3.1", | |
"optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4", | |
"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": 1060.818944, | |
"max_global_vram": 777.723904, | |
"max_process_vram": 143870.13632, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9988402547836303, | |
"mean": 0.005981079369961859, | |
"stdev": 0.00025893056544700415, | |
"p50": 0.005931365013122559, | |
"p90": 0.006183525085449219, | |
"p95": 0.006366165494918823, | |
"p99": 0.0067148989295959475, | |
"values": [ | |
0.006364486217498779, | |
0.005893445014953614, | |
0.005886085033416748, | |
0.005887685775756836, | |
0.005890725135803222, | |
0.005896164894104004, | |
0.005915686130523682, | |
0.005907845020294189, | |
0.0058704051971435545, | |
0.005875525951385498, | |
0.005907044887542724, | |
0.00609728479385376, | |
0.005849125862121582, | |
0.005827364921569825, | |
0.0058472051620483394, | |
0.005788805007934571, | |
0.005804165840148926, | |
0.005812325000762939, | |
0.005831524848937988, | |
0.005817444801330567, | |
0.005844965934753418, | |
0.005817765235900879, | |
0.00582704496383667, | |
0.005814404964447022, | |
0.005798564910888672, | |
0.00578752613067627, | |
0.005798564910888672, | |
0.005816325187683106, | |
0.005794404983520508, | |
0.005826886177062988, | |
0.005820324897766113, | |
0.005823044776916504, | |
0.0057969651222229005, | |
0.005788966178894043, | |
0.005788644790649414, | |
0.005798884868621826, | |
0.005792325019836426, | |
0.005795525074005127, | |
0.005811686038970947, | |
0.005798564910888672, | |
0.005812325000762939, | |
0.005793604850769043, | |
0.00579840612411499, | |
0.005830725193023681, | |
0.006633766174316406, | |
0.008365126609802246, | |
0.005932806015014648, | |
0.005963045120239258, | |
0.005920165061950684, | |
0.0059369649887084965, | |
0.005900485038757324, | |
0.005915524959564209, | |
0.0059033651351928715, | |
0.0059198451042175295, | |
0.005905445098876953, | |
0.00588416576385498, | |
0.005866565227508545, | |
0.005896164894104004, | |
0.0058904061317443844, | |
0.005931365013122559, | |
0.005877924919128418, | |
0.0059275259971618656, | |
0.005906085014343262, | |
0.005915365219116211, | |
0.00588576602935791, | |
0.005899205207824707, | |
0.005890085220336914, | |
0.006100485801696778, | |
0.005915044784545898, | |
0.005899845123291015, | |
0.005899685859680176, | |
0.005918405055999756, | |
0.005892805099487305, | |
0.005900325775146484, | |
0.005908965110778808, | |
0.005905445098876953, | |
0.005915205955505371, | |
0.00589152479171753, | |
0.005935844898223877, | |
0.005941926002502441, | |
0.005975204944610596, | |
0.005948965072631836, | |
0.005971846103668213, | |
0.005964485168457032, | |
0.0059443249702453614, | |
0.005959846019744873, | |
0.005976484775543213, | |
0.005957285881042481, | |
0.005985764980316162, | |
0.006023525238037109, | |
0.005938405990600586, | |
0.00593728494644165, | |
0.005940804958343506, | |
0.005944005966186524, | |
0.0059694452285766605, | |
0.005972486019134521, | |
0.005963685035705567, | |
0.006154244899749756, | |
0.005905766010284424, | |
0.0059465651512146, | |
0.005933605194091797, | |
0.00593872594833374, | |
0.005928325176239014, | |
0.005942884922027588, | |
0.005853445053100586, | |
0.005955685138702393, | |
0.006701766014099121, | |
0.005962885856628418, | |
0.0059443249702453614, | |
0.005949765205383301, | |
0.0059136061668395995, | |
0.005943204879760742, | |
0.005963685035705567, | |
0.006123846054077149, | |
0.00654672622680664, | |
0.006732006072998047, | |
0.006706086158752442, | |
0.006683206081390381, | |
0.006592006206512451, | |
0.006194085121154785, | |
0.006274885177612305, | |
0.0062902460098266605, | |
0.006176485061645508, | |
0.006294725894927978, | |
0.006140645980834961, | |
0.006366885185241699, | |
0.00620400619506836, | |
0.006289926052093506, | |
0.006219685077667236, | |
0.006071045875549317, | |
0.0060011248588562015, | |
0.006039684772491455, | |
0.006016005039215088, | |
0.005977765083312988, | |
0.005957605838775634, | |
0.005953925132751465, | |
0.0059204850196838375, | |
0.005944806098937988, | |
0.005945604801177978, | |
0.005940004825592041, | |
0.005943366050720215, | |
0.005925765037536621, | |
0.005956325054168701, | |
0.005908164978027344, | |
0.0059272050857543945, | |
0.005939044952392578, | |
0.005951525211334229, | |
0.005924644947052002, | |
0.005937605857849121, | |
0.005921605110168457, | |
0.005978404998779297, | |
0.00591584587097168, | |
0.005945125102996826, | |
0.005921285152435302, | |
0.005962885856628418, | |
0.005921605110168457, | |
0.005947844982147217, | |
0.0059985661506652835, | |
0.005966404914855957, | |
0.005944644927978516, | |
0.005940805912017822, | |
0.00596128511428833, | |
0.005942405223846436, | |
0.005904164791107178, | |
0.005959845066070556, | |
0.005972646236419678, | |
0.005965925216674804 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.19390232843156 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |