IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
f8bf269 verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1383.399424,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.59739208984375,
"mean": 7.59739208984375,
"stdev": 0.0,
"p50": 7.59739208984375,
"p90": 7.59739208984375,
"p95": 7.59739208984375,
"p99": 7.59739208984375,
"values": [
7.59739208984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1554.231296,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 354.740224
},
"latency": {
"unit": "s",
"count": 175,
"total": 0.9967691574096679,
"mean": 0.005695823756626675,
"stdev": 0.0009446869051411518,
"p50": 0.005591824054718018,
"p90": 0.005837680912017823,
"p95": 0.006165391349792481,
"p99": 0.007158444290161114,
"values": [
0.005803823947906494,
0.005739665031433106,
0.005770544052124024,
0.005734224796295166,
0.005761424064636231,
0.0057620639801025395,
0.005738864898681641,
0.005758384227752686,
0.005741905212402343,
0.005740943908691406,
0.005733264923095703,
0.005733263969421387,
0.0057081451416015625,
0.005732624053955078,
0.005708304882049561,
0.0057057437896728515,
0.005726864814758301,
0.005681584835052491,
0.00572414493560791,
0.00569790506362915,
0.005710865020751953,
0.005687345027923584,
0.0057358241081237795,
0.005702064990997314,
0.005678544044494629,
0.005676624774932862,
0.005672784805297851,
0.005679344177246094,
0.005689585208892822,
0.005697264194488526,
0.00565646505355835,
0.005698225021362305,
0.005677743911743164,
0.005682384967803955,
0.005724464893341065,
0.0056964650154113766,
0.005696625232696533,
0.005673903942108155,
0.005698225021362305,
0.005666544914245605,
0.005662704944610596,
0.005778544902801513,
0.005656785011291504,
0.005686065196990967,
0.008678695678710938,
0.0058078250885009765,
0.005478065013885498,
0.005432465076446533,
0.00544334602355957,
0.005422545909881592,
0.005476624965667725,
0.005458224773406983,
0.005458065986633301,
0.005432785034179688,
0.005464785099029541,
0.0054435057640075685,
0.005459665775299072,
0.005455665111541748,
0.005442224979400635,
0.005444305896759033,
0.005459825038909912,
0.005454225063323975,
0.005447505950927734,
0.005475666046142578,
0.005458384990692139,
0.005454225063323975,
0.005457106113433838,
0.0054455862045288085,
0.0054561448097229,
0.005447824954986572,
0.005478866100311279,
0.005459825038909912,
0.005458065032958984,
0.005448625087738037,
0.005441425800323486,
0.00545118522644043,
0.005457584857940674,
0.00564334487915039,
0.0055350251197814945,
0.0054927849769592285,
0.005512465000152588,
0.005552784919738769,
0.005515185832977295,
0.005510225772857666,
0.005482385158538819,
0.005477105140686035,
0.005500464916229248,
0.005492945194244384,
0.005490225791931152,
0.005591824054718018,
0.005494225978851319,
0.005484944820404053,
0.0054732651710510255,
0.005475504875183106,
0.005523664951324463,
0.005498546123504639,
0.005527185916900635,
0.005500464916229248,
0.005480945110321045,
0.005514864921569824,
0.005490865230560303,
0.0054927849769592285,
0.005499666213989258,
0.0055020651817321775,
0.0054732651710510255,
0.005484624862670899,
0.0054646248817443845,
0.0054742259979248045,
0.00548830509185791,
0.0054951848983764645,
0.005479024887084961,
0.0054761447906494145,
0.005498546123504639,
0.005477264881134033,
0.005499185085296631,
0.005504465103149414,
0.005493265151977539,
0.005493424892425537,
0.0054772658348083494,
0.0054835047721862795,
0.00550254487991333,
0.005491505146026612,
0.005482224941253662,
0.0055190248489379885,
0.005511345863342285,
0.005493265151977539,
0.005482864856719971,
0.005497264862060547,
0.005797743797302246,
0.00572574520111084,
0.005751023769378662,
0.005745904922485352,
0.005717584133148193,
0.005755984783172607,
0.005759344100952148,
0.00577438497543335,
0.005772143840789795,
0.017148273468017578,
0.004599668025970459,
0.0046073470115661624,
0.004593267917633057,
0.004596308231353759,
0.004599987030029297,
0.004618227958679199,
0.005051186084747314,
0.00580494499206543,
0.0058199849128723145,
0.00579310417175293,
0.005819983959197998,
0.0058431849479675295,
0.0057945442199707035,
0.005755824089050293,
0.005829424858093262,
0.005723184108734131,
0.005749744892120361,
0.005745744228363037,
0.005805103778839111,
0.006156943798065186,
0.0066243019104003905,
0.006563342094421386,
0.006579981803894043,
0.006203023910522461,
0.00617758321762085,
0.005943024158477783,
0.0061641430854797365,
0.005959983825683594,
0.006217903137207032,
0.0059687838554382325,
0.006168303966522216,
0.006057263851165772,
0.00611294412612915,
0.006033102989196778,
0.005815664768218994,
0.005770703792572021,
0.005815184116363526
]
},
"throughput": {
"unit": "samples/s",
"value": 175.56723008442333
},
"energy": null,
"efficiency": null
}
}
}