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
55cf812
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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": "d920fe9626db1e7915f6d3574b5b54b0159cd100", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1061.486592, | |
"max_global_vram": 777.728, | |
"max_process_vram": 180318.384128, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9959982566833492, | |
"mean": 0.0074887086968672915, | |
"stdev": 0.00038214058925664245, | |
"p50": 0.007521108150482177, | |
"p90": 0.007832723331451415, | |
"p95": 0.00810126724243164, | |
"p99": 0.008719762115478518, | |
"values": [ | |
0.007381588935852051, | |
0.007474547863006592, | |
0.007476307868957519, | |
0.00759470796585083, | |
0.007747827053070068, | |
0.007740787982940674, | |
0.00761054801940918, | |
0.007594068050384522, | |
0.007654067993164063, | |
0.0076175880432128905, | |
0.007495028018951416, | |
0.007776308059692383, | |
0.007521108150482177, | |
0.007463508129119873, | |
0.007437267780303955, | |
0.008789905548095703, | |
0.0073215880393981934, | |
0.00699246883392334, | |
0.006961268901824951, | |
0.006956949234008789, | |
0.006956469058990478, | |
0.006947828769683838, | |
0.00693726921081543, | |
0.006943509101867675, | |
0.006928789138793945, | |
0.006940148830413819, | |
0.006936308860778809, | |
0.006949268817901612, | |
0.0069617490768432615, | |
0.006963348865509033, | |
0.006927669048309326, | |
0.006957748889923096, | |
0.006909589767456054, | |
0.006987508773803711, | |
0.006941109180450439, | |
0.006927188873291016, | |
0.006957748889923096, | |
0.006947508811950684, | |
0.006934868812561035, | |
0.006918708801269532, | |
0.006922708988189697, | |
0.006957748889923096, | |
0.006927349090576172, | |
0.006949909210205078, | |
0.006946228981018067, | |
0.006904149055480957, | |
0.0069611091613769535, | |
0.007059988975524903, | |
0.007434547901153565, | |
0.007792788028717041, | |
0.008123826980590821, | |
0.007917108058929444, | |
0.007587987899780274, | |
0.008253907203674317, | |
0.008386547088623048, | |
0.008238547325134278, | |
0.008081427574157715, | |
0.00807454776763916, | |
0.007922067165374755, | |
0.007842707157135009, | |
0.00786926794052124, | |
0.007735346794128418, | |
0.007720468044281006, | |
0.0076689481735229496, | |
0.007647027015686035, | |
0.007580947875976562, | |
0.007579827785491943, | |
0.007528947830200195, | |
0.0075159878730773925, | |
0.007532147884368896, | |
0.0074947080612182615, | |
0.007518387794494629, | |
0.007521108150482177, | |
0.00749486780166626, | |
0.0075228681564331054, | |
0.00759038782119751, | |
0.007679987907409668, | |
0.007622228145599365, | |
0.007611827850341797, | |
0.007599987983703613, | |
0.007575508117675781, | |
0.007537107944488525, | |
0.007522068023681641, | |
0.007584787845611572, | |
0.007550548076629639, | |
0.008971824645996093, | |
0.008086227416992187, | |
0.007680307865142822, | |
0.007564308166503907, | |
0.007623188018798828, | |
0.007637267112731934, | |
0.00764766788482666, | |
0.007623507976531983, | |
0.007538067817687988, | |
0.007548627853393555, | |
0.007504308223724365, | |
0.0075111880302429195, | |
0.007486708164215088, | |
0.007602707862854004, | |
0.007513907909393311, | |
0.007494227886199951, | |
0.007545107841491699, | |
0.007510387897491455, | |
0.007483828067779541, | |
0.007453107833862304, | |
0.007517747879028321, | |
0.008570707321166993, | |
0.007471988201141358, | |
0.007455828189849853, | |
0.007508947849273682, | |
0.0076279878616333004, | |
0.007606387138366699, | |
0.007526867866516114, | |
0.007502227783203125, | |
0.007666068077087402, | |
0.007685748100280762, | |
0.0077615871429443355, | |
0.007699987888336182, | |
0.007746068000793457, | |
0.007564948081970215, | |
0.007611506938934326, | |
0.007507668018341064, | |
0.00753358793258667, | |
0.007577427864074707, | |
0.0075111880302429195, | |
0.007537907123565674, | |
0.007504467964172363, | |
0.007421587944030762, | |
0.007426708221435547, | |
0.007476949214935303, | |
0.007499989032745361, | |
0.007435988903045654, | |
0.007441428184509278 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.5343702737862 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |