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
3e5b6fb
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.521472, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47348.518912, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.11082275390625, | |
"mean": 8.11082275390625, | |
"stdev": 0.0, | |
"p50": 8.11082275390625, | |
"p90": 8.11082275390625, | |
"p95": 8.11082275390625, | |
"p99": 8.11082275390625, | |
"values": [ | |
8.11082275390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1208.60672, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 179808.751616, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9935462739467622, | |
"mean": 0.006368886371453603, | |
"stdev": 0.000827131903038106, | |
"p50": 0.006043890953063965, | |
"p90": 0.0072488453388214105, | |
"p95": 0.0076624429225921635, | |
"p99": 0.007940226054191585, | |
"values": [ | |
0.006811646938323974, | |
0.006783166885375977, | |
0.006989566802978515, | |
0.007057887077331543, | |
0.007101245880126953, | |
0.007144765853881836, | |
0.007352924823760986, | |
0.007628922939300537, | |
0.007679963111877441, | |
0.007592923164367675, | |
0.007600603103637696, | |
0.007674683094024659, | |
0.007658362865447998, | |
0.007598043918609619, | |
0.00814060115814209, | |
0.007776282787322998, | |
0.007761242866516113, | |
0.007456284046173095, | |
0.007419165134429932, | |
0.007106046199798584, | |
0.00682716703414917, | |
0.006767807960510254, | |
0.01339913558959961, | |
0.003995021104812622, | |
0.004729736804962159, | |
0.006654208183288574, | |
0.006671648025512695, | |
0.007680922985076904, | |
0.007122206211090088, | |
0.006851646900177002, | |
0.006794366836547851, | |
0.006773567199707032, | |
0.006697247982025147, | |
0.006635807991027832, | |
0.006596288204193115, | |
0.006600128173828125, | |
0.006592127799987793, | |
0.006583168983459473, | |
0.006583649158477783, | |
0.006555647850036621, | |
0.00652764892578125, | |
0.00663420820236206, | |
0.00659116792678833, | |
0.006555809020996094, | |
0.006602209091186523, | |
0.00663516902923584, | |
0.006573248863220215, | |
0.006582528114318848, | |
0.006611167907714844, | |
0.0065978879928588864, | |
0.006582048892974854, | |
0.0076991629600524905, | |
0.006857566833496094, | |
0.006395328998565674, | |
0.006106211185455322, | |
0.006073730945587158, | |
0.006241730213165283, | |
0.006006851196289063, | |
0.006155331134796143, | |
0.006102849960327148, | |
0.006096770763397217, | |
0.006051970958709717, | |
0.006129090785980225, | |
0.00588237190246582, | |
0.005892931938171387, | |
0.00584797191619873, | |
0.00587629222869873, | |
0.0058415718078613284, | |
0.00588397216796875, | |
0.005865891933441162, | |
0.005891012191772461, | |
0.005878052234649658, | |
0.005897730827331543, | |
0.006005731105804444, | |
0.005866372108459473, | |
0.005894691944122315, | |
0.0058681321144104, | |
0.006115490913391113, | |
0.005946051120758056, | |
0.0059238109588623045, | |
0.005930851936340332, | |
0.00592893123626709, | |
0.0059431719779968264, | |
0.005927971839904785, | |
0.005909891128540039, | |
0.005878372192382813, | |
0.005917891025543213, | |
0.005891972064971924, | |
0.005910370826721191, | |
0.005913092136383057, | |
0.005906210899353027, | |
0.005930212020874024, | |
0.00589837121963501, | |
0.005882212162017822, | |
0.005938051223754882, | |
0.005899012088775635, | |
0.0059090909957885745, | |
0.005893251895904541, | |
0.005887170791625976, | |
0.005891171932220459, | |
0.005873732089996338, | |
0.005934852123260498, | |
0.005908610820770263, | |
0.006153410911560059, | |
0.005838372230529785, | |
0.005905732154846192, | |
0.005900132179260254, | |
0.005895331859588623, | |
0.005867012023925781, | |
0.005898850917816162, | |
0.0058978919982910155, | |
0.005888131141662598, | |
0.005879012107849121, | |
0.005870851993560791, | |
0.005908930778503418, | |
0.005895011901855469, | |
0.005914210796356201, | |
0.00590253210067749, | |
0.0059044508934021, | |
0.00590909194946289, | |
0.005905412197113037, | |
0.0058857321739196776, | |
0.005880290985107422, | |
0.0058905320167541506, | |
0.0058951711654663085, | |
0.005898531913757324, | |
0.005870532035827636, | |
0.0058905320167541506, | |
0.005906851768493653, | |
0.005903332233428955, | |
0.006035810947418213, | |
0.005891811847686767, | |
0.005930692195892334, | |
0.005900131225585937, | |
0.005887172222137451, | |
0.005915650844573975, | |
0.005901412010192871, | |
0.0058932509422302244, | |
0.005897411823272705, | |
0.0058746919631958005, | |
0.006453409194946289, | |
0.0066098890304565425, | |
0.006604128837585449, | |
0.00663244915008545, | |
0.006307169914245605, | |
0.006277569770812988, | |
0.006384609222412109, | |
0.006591486930847168, | |
0.0066143679618835445, | |
0.006619967937469482, | |
0.006641727924346924, | |
0.006621407985687256, | |
0.006631167888641357, | |
0.00663644790649414, | |
0.00664572811126709, | |
0.006652768135070801 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.01332096018618 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |