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
383f5e4
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", | |
"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.0", | |
"optimum_benchmark_commit": "14fc8ac8cd252f949be10158bdcefa6a3b7c596a", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.769792, | |
"max_global_vram": 1758.818304, | |
"max_process_vram": 181164.101632, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9986894135475157, | |
"mean": 0.0066579294236501045, | |
"stdev": 0.00033027735600691104, | |
"p50": 0.006683449029922486, | |
"p90": 0.007004376029968262, | |
"p95": 0.00702014491558075, | |
"p99": 0.007152516231536865, | |
"values": [ | |
0.008052169799804687, | |
0.006909928798675537, | |
0.00699216890335083, | |
0.006505608081817627, | |
0.006601287841796875, | |
0.006920488834381103, | |
0.00685568904876709, | |
0.006961288928985595, | |
0.006964647769927978, | |
0.006976489067077637, | |
0.007019528865814209, | |
0.006976008892059326, | |
0.007228329181671143, | |
0.006954729080200195, | |
0.006655528068542481, | |
0.006937768936157227, | |
0.00695776891708374, | |
0.006803368091583252, | |
0.006232808113098145, | |
0.006552648067474365, | |
0.00701840877532959, | |
0.006996809005737304, | |
0.006874729156494141, | |
0.006470568180084228, | |
0.006902409076690674, | |
0.007006247997283935, | |
0.007073608875274659, | |
0.006691849231719971, | |
0.006820487976074219, | |
0.00699600887298584, | |
0.0068352088928222655, | |
0.00639296817779541, | |
0.006357287883758545, | |
0.006897288799285889, | |
0.006996007919311523, | |
0.007016328811645508, | |
0.006790248870849609, | |
0.00691920804977417, | |
0.007004168033599854, | |
0.006994089126586914, | |
0.006907208919525147, | |
0.006524648189544678, | |
0.006997609138488769, | |
0.006982728958129882, | |
0.006608007907867431, | |
0.006675048828125, | |
0.006812168121337891, | |
0.00701840877532959, | |
0.007020648956298828, | |
0.007047369003295899, | |
0.006896328926086426, | |
0.006814087867736816, | |
0.006803849220275879, | |
0.0066336078643798825, | |
0.006902888774871826, | |
0.006790887832641601, | |
0.006560648918151855, | |
0.006330408096313476, | |
0.006506408214569092, | |
0.0070076889991760255, | |
0.006975848197937012, | |
0.006990408897399903, | |
0.007030569076538086, | |
0.0069747290611267086, | |
0.006979848861694336, | |
0.006966728210449219, | |
0.0069792079925537105, | |
0.006988648891448975, | |
0.006961129188537598, | |
0.0069441690444946285, | |
0.006967207908630371, | |
0.006963849067687988, | |
0.006972009181976318, | |
0.006984808921813965, | |
0.007027688980102539, | |
0.006939688205718994, | |
0.006653449058532715, | |
0.006608007907867431, | |
0.006938569068908692, | |
0.006802408218383789, | |
0.006757129192352295, | |
0.006746407985687256, | |
0.006593448162078857, | |
0.006259208202362061, | |
0.006496967792510987, | |
0.006241767883300781, | |
0.006235527992248535, | |
0.006229446887969971, | |
0.006235688209533691, | |
0.0064214482307434085, | |
0.006233767986297607, | |
0.006243368148803711, | |
0.006248007774353028, | |
0.0062708878517150875, | |
0.006238887786865235, | |
0.0062462477684021, | |
0.00640336799621582, | |
0.006244167804718017, | |
0.006224166870117187, | |
0.006239047050476074, | |
0.0062152080535888676, | |
0.0062347278594970705, | |
0.006225287914276123, | |
0.006200327873229981, | |
0.006367368221282959, | |
0.006470727920532227, | |
0.006247367858886719, | |
0.0063289680480957036, | |
0.007047849178314209, | |
0.007009768962860107, | |
0.006999207973480225, | |
0.006545769214630127, | |
0.006620168209075928, | |
0.006453288078308105, | |
0.006617127895355224, | |
0.00657536792755127, | |
0.0064483280181884765, | |
0.006618408203125, | |
0.006235047817230225, | |
0.0063241682052612306, | |
0.006968169212341308, | |
0.006972009181976318, | |
0.006944647789001465, | |
0.006722249031066894, | |
0.006559847831726074, | |
0.00645360803604126, | |
0.006701289176940918, | |
0.006775847911834717, | |
0.00646448802947998, | |
0.006722088813781738, | |
0.006472648143768311, | |
0.006221288204193115, | |
0.0062745680809021, | |
0.006262248039245606, | |
0.006269288063049316, | |
0.006259527206420899, | |
0.006272006988525391, | |
0.006240488052368164, | |
0.006473127841949463, | |
0.00618608808517456, | |
0.006226408004760742, | |
0.0062275280952453615, | |
0.006187047958374024, | |
0.006216487884521484, | |
0.006185606956481933, | |
0.006355048179626465, | |
0.006219528198242188, | |
0.006209127902984619, | |
0.006219848155975342, | |
0.0062320070266723634 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.1968459515099 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |