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
cb56579
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": 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": 946.696192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45385.076736, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2245732421875, | |
"mean": 8.2245732421875, | |
"stdev": 0.0, | |
"p50": 8.2245732421875, | |
"p90": 8.2245732421875, | |
"p95": 8.2245732421875, | |
"p99": 8.2245732421875, | |
"values": [ | |
8.2245732421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1118.80192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 177837.850624, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9969836549758916, | |
"mean": 0.006350214362903766, | |
"stdev": 0.0005209348934555443, | |
"p50": 0.006191052913665771, | |
"p90": 0.006841551303863525, | |
"p95": 0.006891311073303223, | |
"p99": 0.0069669916343688965, | |
"values": [ | |
0.006522093772888184, | |
0.006599374771118164, | |
0.006588174819946289, | |
0.006470573902130127, | |
0.0065539350509643554, | |
0.006557775020599365, | |
0.006525134086608887, | |
0.006601294994354248, | |
0.006511374950408936, | |
0.006483374118804931, | |
0.006531694889068604, | |
0.0064440140724182126, | |
0.006359054088592529, | |
0.006374574184417724, | |
0.00636561393737793, | |
0.00632465410232544, | |
0.0063633742332458495, | |
0.0062830538749694825, | |
0.0062894530296325685, | |
0.006273454189300537, | |
0.00626625394821167, | |
0.006293774127960205, | |
0.006274573802947998, | |
0.006301293849945069, | |
0.006308973789215088, | |
0.006296013832092285, | |
0.00629633378982544, | |
0.006285614013671875, | |
0.006290733814239502, | |
0.0063044939041137695, | |
0.0062616138458251955, | |
0.006268174171447754, | |
0.012105946540832519, | |
0.006419374942779541, | |
0.006155693054199219, | |
0.006352015018463135, | |
0.006183692932128906, | |
0.006165133953094482, | |
0.00614449405670166, | |
0.006150094032287598, | |
0.0061547341346740725, | |
0.006171533107757568, | |
0.0062612929344177245, | |
0.006123853206634521, | |
0.006129454135894776, | |
0.00610209321975708, | |
0.006148653030395508, | |
0.006165773868560791, | |
0.0061174540519714354, | |
0.00617585277557373, | |
0.006191052913665771, | |
0.0061625738143920895, | |
0.006150894165039063, | |
0.006136814117431641, | |
0.006153933048248291, | |
0.006147054195404053, | |
0.006159053802490234, | |
0.006173614025115967, | |
0.0061353731155395505, | |
0.006151373863220215, | |
0.0061688141822814945, | |
0.006109292984008789, | |
0.006151052951812744, | |
0.0061619338989257815, | |
0.006158894062042237, | |
0.006189613819122314, | |
0.00614305305480957, | |
0.006206893920898437, | |
0.006226093769073487, | |
0.006180493831634521, | |
0.006161774158477783, | |
0.0061732931137084964, | |
0.006163692951202392, | |
0.006220493793487549, | |
0.006175533771514892, | |
0.006207054138183594, | |
0.006425933837890625, | |
0.006156653881072998, | |
0.006179694175720215, | |
0.006198254108428955, | |
0.006162252902984619, | |
0.006193933963775634, | |
0.006156174182891846, | |
0.006180654048919678, | |
0.006175854206085205, | |
0.0061878528594970705, | |
0.006150094032287598, | |
0.006202094078063965, | |
0.006184974193572998, | |
0.006192493915557862, | |
0.006142733097076416, | |
0.006128334045410157, | |
0.006151214122772217, | |
0.0061337738037109376, | |
0.006155852794647217, | |
0.00614881420135498, | |
0.006138093948364258, | |
0.0061523327827453615, | |
0.006201292991638184, | |
0.006202253818511963, | |
0.006191854000091553, | |
0.006191854000091553, | |
0.0061387338638305665, | |
0.0061139330863952636, | |
0.0061256132125854495, | |
0.006179853916168213, | |
0.0061619338989257815, | |
0.006210894107818604, | |
0.006130093097686767, | |
0.006119534015655518, | |
0.00617233419418335, | |
0.006172493934631347, | |
0.006187373161315918, | |
0.006157614231109619, | |
0.006158254146575928, | |
0.006207374095916748, | |
0.006153133869171143, | |
0.00612673282623291, | |
0.006155054092407227, | |
0.006123373985290528, | |
0.006142252922058105, | |
0.006157934188842773, | |
0.006145453929901123, | |
0.006196494102478027, | |
0.006185133934020996, | |
0.006174892902374268, | |
0.006420175075531006, | |
0.0069312148094177245, | |
0.006975056171417237, | |
0.006914895057678222, | |
0.006647055149078369, | |
0.006501134872436524, | |
0.006455853939056396, | |
0.006913455963134765, | |
0.006932175159454346, | |
0.006906414985656738, | |
0.006960655212402344, | |
0.00680641508102417, | |
0.006858575820922852, | |
0.006840014934539795, | |
0.006816975116729736, | |
0.006857775211334229, | |
0.006843855857849121, | |
0.006831854820251465, | |
0.0068566551208496095, | |
0.0068595361709594726, | |
0.006887535095214844, | |
0.006885934829711914, | |
0.006859535217285156, | |
0.006487534046173095, | |
0.00625809383392334, | |
0.006236013889312744, | |
0.006111534118652344, | |
0.006127532958984375, | |
0.006132493019104004, | |
0.006160654067993164, | |
0.00616849422454834 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.47499892944236 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |