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
1c40a99
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.077312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4925.677568, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.1078004379272461 | |
], | |
"count": 1, | |
"total": 0.1078004379272461, | |
"mean": 0.1078004379272461, | |
"p50": 0.1078004379272461, | |
"p90": 0.1078004379272461, | |
"p95": 0.1078004379272461, | |
"p99": 0.1078004379272461, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.219904, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 196230.57408, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006400006771087647, | |
0.006191847801208496, | |
0.0060224061012268066, | |
0.006088966846466064, | |
0.006039687156677246, | |
0.0060326471328735354, | |
0.0060044870376586915, | |
0.0060276870727539065, | |
0.006008166790008545, | |
0.0059873671531677245, | |
0.005971046924591064, | |
0.00603568696975708, | |
0.0060088071823120115, | |
0.006017126083374023, | |
0.0059928069114685055, | |
0.006019687175750733, | |
0.006003847122192383, | |
0.006003686904907227, | |
0.006003527164459228, | |
0.0060433669090271, | |
0.006016966819763184, | |
0.006074566841125489, | |
0.005988966941833496, | |
0.006037607192993164, | |
0.005995205879211426, | |
0.006039367198944092, | |
0.006008007049560547, | |
0.006073126792907715, | |
0.006018887042999268, | |
0.006065446853637696, | |
0.006060966968536377, | |
0.005994246959686279, | |
0.006044167041778565, | |
0.006084167003631592, | |
0.006026247024536133, | |
0.006259527206420899, | |
0.006085287094116211, | |
0.006089127063751221, | |
0.006051686763763428, | |
0.006074886798858642, | |
0.006133926868438721, | |
0.0060716872215271, | |
0.006081127166748047, | |
0.0060608072280883786, | |
0.0060753669738769535, | |
0.006058406829833984, | |
0.006067206859588623, | |
0.006058247089385987, | |
0.006045766830444336, | |
0.006078567028045654, | |
0.0060307269096374514, | |
0.006284646987915039, | |
0.006209126949310303, | |
0.006068167209625244, | |
0.006425446987152099, | |
0.006417606830596924, | |
0.006236647129058838, | |
0.006339366912841797, | |
0.0063718481063842775, | |
0.006267046928405762, | |
0.006229446887969971, | |
0.006058406829833984, | |
0.006083686828613281, | |
0.00608864688873291, | |
0.0062289671897888185, | |
0.006078406810760498, | |
0.006093126773834228, | |
0.006081286907196045, | |
0.00609632682800293, | |
0.006081286907196045, | |
0.006074246883392334, | |
0.006066407203674316, | |
0.006048487186431885, | |
0.006532647132873535, | |
0.006286568164825439, | |
0.006225767135620117, | |
0.006406726837158203, | |
0.0066849679946899415, | |
0.00685040807723999, | |
0.006874728202819824, | |
0.006995848178863525, | |
0.00681120777130127, | |
0.006821766853332519, | |
0.006296008110046387, | |
0.007127048015594483, | |
0.006868167877197266, | |
0.006837128162384033, | |
0.006875846862792969, | |
0.0068537678718566895, | |
0.006886087894439698, | |
0.0070764880180358885, | |
0.006874248027801514, | |
0.006854568004608154, | |
0.006845767974853516, | |
0.006882728099822998, | |
0.006792808055877685, | |
0.006944168090820313, | |
0.006869287967681885, | |
0.00693776798248291, | |
0.006762726783752442, | |
0.006875368118286132, | |
0.006854887962341309, | |
0.006821127891540527, | |
0.0065756869316101075, | |
0.006238407135009766, | |
0.006137126922607422, | |
0.006422407150268554, | |
0.0063128070831298825, | |
0.0064454469680786134, | |
0.006554566860198975, | |
0.006410247802734375, | |
0.006415206909179688, | |
0.006312326908111572, | |
0.006435527801513672, | |
0.006458887100219727, | |
0.006387527942657471, | |
0.006488486766815186, | |
0.006186566829681397, | |
0.006101767063140869, | |
0.006073447227478027, | |
0.006032327175140381, | |
0.006060166835784912, | |
0.006020806789398194, | |
0.006038887023925781, | |
0.006020007133483887, | |
0.0062062468528747555, | |
0.006048966884613037, | |
0.00604112720489502, | |
0.006049286842346191, | |
0.006047526836395264, | |
0.0062345671653747554, | |
0.006044326782226562, | |
0.006016326904296875, | |
0.00607664680480957, | |
0.006070247173309326, | |
0.00607664680480957, | |
0.006059687137603759, | |
0.006052806854248047, | |
0.006031045913696289, | |
0.006063046932220459, | |
0.00605152702331543, | |
0.006126087188720703, | |
0.006136967182159424, | |
0.006012007236480713, | |
0.00603296709060669, | |
0.0059884867668151855, | |
0.0060563268661499026, | |
0.006044326782226562, | |
0.006073447227478027, | |
0.006054886817932129, | |
0.006064005851745605, | |
0.006082246780395508, | |
0.006053446769714355, | |
0.0061152071952819825, | |
0.0060716872215271, | |
0.0060760068893432615, | |
0.006049447059631348, | |
0.006055527210235596, | |
0.006044647216796875, | |
0.0060656070709228516 | |
], | |
"count": 160, | |
"total": 0.9988104219436645, | |
"mean": 0.006242565137147904, | |
"p50": 0.00607664680480957, | |
"p90": 0.00685074405670166, | |
"p95": 0.006875392055511474, | |
"p99": 0.007028910512924194, | |
"stdev": 0.0003036057539804508, | |
"stdev_": 4.863477549858003 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.1905591740255 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |