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
da223ff
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.1", | |
"optimum_benchmark_commit": "2516ce57a5b64eefeb78dc75a171e0cdff88823e", | |
"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": 1061.23264, | |
"max_global_vram": 1758.830592, | |
"max_process_vram": 203572.187136, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9978926067352296, | |
"mean": 0.006276054130410248, | |
"stdev": 0.00030036036921964005, | |
"p50": 0.006292326927185059, | |
"p90": 0.006563623332977296, | |
"p95": 0.0067381040096282955, | |
"p99": 0.007065236320495598, | |
"values": [ | |
0.0066660881042480465, | |
0.006498406887054444, | |
0.006254887104034424, | |
0.006463047027587891, | |
0.006422407150268554, | |
0.006324646949768066, | |
0.006301287174224853, | |
0.006318885803222657, | |
0.006192166805267334, | |
0.006231206893920899, | |
0.0059208059310913086, | |
0.006005126953125, | |
0.0061793670654296876, | |
0.005944325923919678, | |
0.0059164872169494625, | |
0.0060633659362792965, | |
0.0061366472244262695, | |
0.006103046894073486, | |
0.006125286102294922, | |
0.0061420869827270505, | |
0.006088966846466064, | |
0.0061196861267089845, | |
0.005918406963348389, | |
0.005855045795440674, | |
0.005782567024230957, | |
0.005729765892028809, | |
0.005731686115264893, | |
0.00600944709777832, | |
0.00598896598815918, | |
0.00596304702758789, | |
0.005921445846557617, | |
0.006067846775054932, | |
0.005922085762023925, | |
0.007432168006896973, | |
0.00810816764831543, | |
0.006486886978149414, | |
0.006464807033538819, | |
0.0063905658721923825, | |
0.006183207035064697, | |
0.006357286930084229, | |
0.0063481669425964355, | |
0.006390087127685547, | |
0.006201766967773438, | |
0.00635328722000122, | |
0.0066228871345520015, | |
0.006536006927490234, | |
0.006442886829376221, | |
0.006460166931152343, | |
0.006594727993011475, | |
0.006407846927642822, | |
0.006477606773376465, | |
0.006546886920928955, | |
0.00650896692276001, | |
0.006291526794433594, | |
0.006317286968231201, | |
0.006432167053222656, | |
0.006513126850128174, | |
0.006508166790008545, | |
0.006512327194213867, | |
0.006325767040252685, | |
0.0063929672241210935, | |
0.006455367088317871, | |
0.006498086929321289, | |
0.0064387269020080564, | |
0.0063102469444274905, | |
0.0066796870231628416, | |
0.006549767017364502, | |
0.006541447162628174, | |
0.006362727165222168, | |
0.0063715271949768065, | |
0.006400486946105957, | |
0.006253606796264648, | |
0.006360806941986084, | |
0.006430727005004883, | |
0.00647728681564331, | |
0.006346086978912354, | |
0.006361927032470703, | |
0.006484967231750488, | |
0.006028645992279052, | |
0.005961926937103271, | |
0.005958725929260254, | |
0.005969606876373291, | |
0.006420647144317627, | |
0.006232166767120361, | |
0.006385286808013916, | |
0.0064387269020080564, | |
0.006412806987762451, | |
0.006339207172393799, | |
0.006230725765228272, | |
0.006643208026885986, | |
0.006335526943206787, | |
0.006355846881866455, | |
0.00640736722946167, | |
0.006347365856170654, | |
0.006092967033386231, | |
0.0062625670433044435, | |
0.00607392692565918, | |
0.00625200605392456, | |
0.006109607219696045, | |
0.005935206890106202, | |
0.006106245994567871, | |
0.006310727119445801, | |
0.0059176068305969234, | |
0.005935366153717041, | |
0.005862886905670166, | |
0.006095526218414307, | |
0.005952326774597168, | |
0.006232166767120361, | |
0.006196805953979492, | |
0.006526728153228759, | |
0.006132165908813477, | |
0.006348647117614746, | |
0.006409767150878906, | |
0.006059687137603759, | |
0.006041766166687012, | |
0.006079526901245117, | |
0.006139206886291504, | |
0.005914885997772217, | |
0.0059401669502258305, | |
0.005924965858459473, | |
0.005948486804962158, | |
0.0059630460739135745, | |
0.005985927104949951, | |
0.005964486122131347, | |
0.005947367191314697, | |
0.005984965801239014, | |
0.005960967063903809, | |
0.006178087234497071, | |
0.005960326194763183, | |
0.006049286842346191, | |
0.00655584716796875, | |
0.006750407218933105, | |
0.006738088130950928, | |
0.006767366886138916, | |
0.00673824691772461, | |
0.006717448234558106, | |
0.006740966796875, | |
0.006767687797546387, | |
0.006799527168273926, | |
0.006732487201690674, | |
0.006374886989593506, | |
0.0064142470359802245, | |
0.006408486843109131, | |
0.006315046787261963, | |
0.006424167156219482, | |
0.006259527206420899, | |
0.006188967227935791, | |
0.005992966175079346, | |
0.006292326927185059, | |
0.0059921669960021975, | |
0.005943846225738525, | |
0.006432487010955811, | |
0.006340647220611572, | |
0.006185447216033936, | |
0.006216806888580322, | |
0.005962565898895263, | |
0.006112327098846435, | |
0.006215846061706543, | |
0.006007845878601074 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.33578315626045 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |