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
bb9c262
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": "5", | |
"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": 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]", | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1036.054528, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48476.24192, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.201970703125, | |
"mean": 8.201970703125, | |
"stdev": 0.0, | |
"p50": 8.201970703125, | |
"p90": 8.201970703125, | |
"p95": 8.201970703125, | |
"p99": 8.201970703125, | |
"values": [ | |
8.201970703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1210.413056, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 176366.473216, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9977875909805295, | |
"mean": 0.006121396263684231, | |
"stdev": 0.0007011964973094727, | |
"p50": 0.006047338962554932, | |
"p90": 0.006540713691711426, | |
"p95": 0.006651672840118408, | |
"p99": 0.006881198425292968, | |
"values": [ | |
0.006827816009521485, | |
0.006447658061981201, | |
0.00641821813583374, | |
0.006248618125915527, | |
0.006230059146881103, | |
0.006411817073822022, | |
0.0062218990325927735, | |
0.006258217811584472, | |
0.006184617996215821, | |
0.0061956591606140135, | |
0.006146697998046875, | |
0.006190538883209229, | |
0.006072299003601074, | |
0.013814831733703613, | |
0.004006065845489502, | |
0.003995666027069092, | |
0.004282384872436523, | |
0.005918540000915527, | |
0.005948459148406983, | |
0.005930859088897705, | |
0.0059116601943969725, | |
0.005938858985900879, | |
0.005916140079498291, | |
0.005966219902038574, | |
0.00593821907043457, | |
0.006092779159545899, | |
0.006202218055725098, | |
0.006096778869628906, | |
0.006062219142913819, | |
0.006045098781585693, | |
0.006018379211425781, | |
0.005984939098358154, | |
0.006043018817901612, | |
0.006016778945922852, | |
0.006053898811340332, | |
0.006068298816680908, | |
0.005974379062652588, | |
0.005984939098358154, | |
0.0059714999198913574, | |
0.005949738979339599, | |
0.005953100204467774, | |
0.00601901912689209, | |
0.006002539157867431, | |
0.005955978870391846, | |
0.005955979824066162, | |
0.005907979965209961, | |
0.005955499172210693, | |
0.005975979804992676, | |
0.005947659969329834, | |
0.00696829605102539, | |
0.006545097827911377, | |
0.006108939170837402, | |
0.006065578937530518, | |
0.006074859142303467, | |
0.006047338962554932, | |
0.006260778903961182, | |
0.00610093879699707, | |
0.006117739200592041, | |
0.0060847787857055665, | |
0.00609709882736206, | |
0.006078059196472168, | |
0.006038700103759766, | |
0.006047820091247559, | |
0.006225419044494629, | |
0.005955179214477539, | |
0.0061407790184021, | |
0.006223978042602539, | |
0.00611069917678833, | |
0.006154058933258056, | |
0.006152139186859131, | |
0.006118699073791504, | |
0.006150057792663574, | |
0.006103979110717773, | |
0.005936940193176269, | |
0.006183019161224365, | |
0.0060554990768432616, | |
0.005893420219421386, | |
0.006079819202423096, | |
0.006194058895111084, | |
0.006128139019012451, | |
0.006110858917236328, | |
0.006010058879852295, | |
0.006113419055938721, | |
0.006127499103546143, | |
0.006075658798217773, | |
0.006095337867736817, | |
0.006061419010162354, | |
0.005921259880065918, | |
0.005918698787689209, | |
0.005912300109863281, | |
0.005896779060363769, | |
0.006072459220886231, | |
0.006116939067840576, | |
0.006347978115081787, | |
0.006345258235931396, | |
0.006254539012908935, | |
0.006194858074188232, | |
0.005987499237060547, | |
0.005898059844970703, | |
0.005891819000244141, | |
0.0059426999092102055, | |
0.005926538944244384, | |
0.00593421983718872, | |
0.005938859939575195, | |
0.005905900001525879, | |
0.005911818981170654, | |
0.005947179794311523, | |
0.005924298763275147, | |
0.005934379100799561, | |
0.005891660213470459, | |
0.005905418872833252, | |
0.005925899982452393, | |
0.00592189884185791, | |
0.005924779891967774, | |
0.00592765998840332, | |
0.005944939136505127, | |
0.005939020156860352, | |
0.0059500598907470705, | |
0.005954218864440918, | |
0.005913099765777588, | |
0.005965418815612793, | |
0.005941099166870118, | |
0.005943019866943359, | |
0.00601230001449585, | |
0.005933739185333252, | |
0.005928618907928467, | |
0.005922379970550537, | |
0.005915019035339355, | |
0.005926060199737549, | |
0.00590749979019165, | |
0.0059159789085388185, | |
0.005881899833679199, | |
0.005939498901367187, | |
0.005935500144958496, | |
0.006180778026580811, | |
0.006650376796722412, | |
0.006645896911621094, | |
0.006685097217559815, | |
0.006714695930480957, | |
0.006663657188415527, | |
0.006652616977691651, | |
0.006523177146911621, | |
0.006156619071960449, | |
0.006315978050231934, | |
0.006262378215789795, | |
0.006022698879241943, | |
0.0066425371170043945, | |
0.006650217056274414, | |
0.006618697166442871, | |
0.0066423768997192385, | |
0.006651816844940185, | |
0.006614057064056397, | |
0.006680776119232177, | |
0.006314538955688477, | |
0.0062457389831542965, | |
0.006213418006896973, | |
0.006132779121398926, | |
0.006269897937774658, | |
0.005922379016876221, | |
0.005937099933624268, | |
0.0058946990966796875, | |
0.005894219875335694, | |
0.005900457859039306 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.36142228409483 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |