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
5fd80d4
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": "0d561969d04a7091baf8691bc894eb753a189d4f", | |
"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.974592, | |
"max_global_vram": 777.728, | |
"max_process_vram": 159856.693248, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.992585832118988, | |
"mean": 0.006706661027831, | |
"stdev": 0.00017244484959819334, | |
"p50": 0.006709417343139648, | |
"p90": 0.006869177484512329, | |
"p95": 0.006959921050071716, | |
"p99": 0.007287210578918457, | |
"values": [ | |
0.007428134918212891, | |
0.006637417793273926, | |
0.0066122980117797854, | |
0.006487658977508545, | |
0.006487338066101074, | |
0.006584618091583252, | |
0.006687017917633056, | |
0.006609417915344238, | |
0.006566537857055664, | |
0.006636938095092773, | |
0.006613418102264405, | |
0.0068081369400024416, | |
0.006447659015655517, | |
0.006430858135223388, | |
0.006493419170379639, | |
0.006688937187194825, | |
0.006665257930755615, | |
0.0065202989578247075, | |
0.0065937390327453615, | |
0.0066092581748962405, | |
0.006547657966613769, | |
0.006491497993469238, | |
0.006756937980651855, | |
0.0066073379516601565, | |
0.0066142182350158694, | |
0.006543978214263916, | |
0.006687337875366211, | |
0.006595818996429443, | |
0.006642697811126709, | |
0.006605418205261231, | |
0.00654189920425415, | |
0.006479178905487061, | |
0.0064740581512451175, | |
0.006483338832855225, | |
0.006532457828521729, | |
0.0071282958984375, | |
0.00683693790435791, | |
0.0068748569488525394, | |
0.00683549690246582, | |
0.006787497043609619, | |
0.0066569380760192875, | |
0.006873257160186767, | |
0.006584618091583252, | |
0.0069170970916748046, | |
0.006716457843780518, | |
0.0067151780128479, | |
0.006641737937927246, | |
0.006624457836151123, | |
0.006951497077941894, | |
0.006794857025146484, | |
0.00670813798904419, | |
0.006806857109069824, | |
0.0066905379295349125, | |
0.00662733793258667, | |
0.006545897960662842, | |
0.006982857227325439, | |
0.0066978979110717774, | |
0.0068684577941894535, | |
0.006688457012176513, | |
0.006548779010772705, | |
0.006644298076629638, | |
0.006526858806610108, | |
0.006639977931976318, | |
0.007105256080627441, | |
0.0067617368698120114, | |
0.006641098022460937, | |
0.006651658058166504, | |
0.006600458145141602, | |
0.006708777904510498, | |
0.006573897838592529, | |
0.006574217796325684, | |
0.006878537178039551, | |
0.006796457767486572, | |
0.006720938205718994, | |
0.006737257957458496, | |
0.0066079778671264645, | |
0.006588938236236572, | |
0.006561418056488037, | |
0.006557258129119873, | |
0.00705437707901001, | |
0.006841577053070068, | |
0.006680617809295655, | |
0.006547818183898926, | |
0.006699657917022705, | |
0.0066121392250061035, | |
0.0066385378837585446, | |
0.0066007781028747554, | |
0.006601737976074219, | |
0.006619977951049805, | |
0.006474699020385742, | |
0.006710056781768799, | |
0.006519178867340088, | |
0.00641437816619873, | |
0.006646217823028565, | |
0.006516458988189697, | |
0.006463179111480713, | |
0.006964457035064697, | |
0.006879817008972168, | |
0.006870856761932373, | |
0.0068559770584106445, | |
0.006849896907806396, | |
0.006863496780395508, | |
0.0067236580848693845, | |
0.006751177787780761, | |
0.006742378234863281, | |
0.006802378177642822, | |
0.007719813823699951, | |
0.006748938083648682, | |
0.006763497829437256, | |
0.006799336910247803, | |
0.006781737804412841, | |
0.006777097225189209, | |
0.006798058032989502, | |
0.006796778202056885, | |
0.006761897087097168, | |
0.006718698024749756, | |
0.00676829719543457, | |
0.006780938148498535, | |
0.006755977153778076, | |
0.0067425379753112795, | |
0.006763816833496094, | |
0.006737257957458496, | |
0.006731818199157715, | |
0.006803977966308594, | |
0.006544137954711914, | |
0.006557578086853027, | |
0.0064916591644287105, | |
0.00642349910736084, | |
0.007035497188568115, | |
0.006757576942443847, | |
0.006778217792510986, | |
0.006780776977539062, | |
0.006776937007904053, | |
0.0067676582336425786, | |
0.006791017055511475, | |
0.006772937774658203, | |
0.006741257190704346, | |
0.006782057762145996, | |
0.006761417865753174, | |
0.0067798171043396, | |
0.00680365800857544, | |
0.006742856979370117, | |
0.006767817974090576, | |
0.006753256797790527, | |
0.006755497932434082, | |
0.0067684569358825684, | |
0.006789097785949707, | |
0.00677357816696167 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.1054931582564 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |