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
904df1b
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.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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 | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.318976, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5398.515712, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.11011871337890625 | |
], | |
"count": 1, | |
"total": 0.11011871337890625, | |
"mean": 0.11011871337890625, | |
"p50": 0.11011871337890625, | |
"p90": 0.11011871337890625, | |
"p95": 0.11011871337890625, | |
"p99": 0.11011871337890625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.543488, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 178272.493568, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006589768886566162, | |
0.006691528797149658, | |
0.006388487815856933, | |
0.006665928840637207, | |
0.006471208095550537, | |
0.0063796892166137695, | |
0.006693929195404053, | |
0.006316809177398681, | |
0.006887528896331787, | |
0.006809928894042969, | |
0.006929130077362061, | |
0.006975529193878174, | |
0.006942568778991699, | |
0.0069411301612854, | |
0.006904169082641602, | |
0.006893129825592041, | |
0.006941449165344238, | |
0.006898088932037354, | |
0.006940489768981934, | |
0.0069513688087463376, | |
0.006945769786834716, | |
0.006941129207611084, | |
0.006945610046386719, | |
0.006962889194488525, | |
0.0069484891891479494, | |
0.006952650070190429, | |
0.0069864091873168945, | |
0.006936970233917236, | |
0.006958728790283203, | |
0.006905449867248535, | |
0.006932168960571289, | |
0.006974888801574707, | |
0.0069371299743652345, | |
0.006883049011230468, | |
0.006609128952026367, | |
0.006684648990631104, | |
0.006468489170074463, | |
0.006575368881225586, | |
0.006573928833007813, | |
0.006585128784179687, | |
0.006572488784790039, | |
0.006499049186706543, | |
0.006359047889709472, | |
0.0064740891456604, | |
0.0063844890594482425, | |
0.006440807819366455, | |
0.0064078478813171386, | |
0.00635024881362915, | |
0.0063033680915832516, | |
0.006383209228515625, | |
0.006323049068450928, | |
0.006475687980651856, | |
0.006342089176177979, | |
0.0062843279838562015, | |
0.0063932881355285645, | |
0.0063368091583251955, | |
0.0065222492218017574, | |
0.006339208126068115, | |
0.006296809196472168, | |
0.0065838489532470705, | |
0.006662249088287353, | |
0.006582569122314453, | |
0.00688240909576416, | |
0.006874088764190674, | |
0.006878890037536621, | |
0.00694304895401001, | |
0.006930570125579834, | |
0.006854249000549316, | |
0.006859368801116943, | |
0.006830089092254639, | |
0.006518888950347901, | |
0.006836490154266357, | |
0.0067708888053894046, | |
0.006554728984832764, | |
0.0069324889183044434, | |
0.006990728855133056, | |
0.006963209152221679, | |
0.006980648994445801, | |
0.006945449829101563, | |
0.006968809127807617, | |
0.007055210113525391, | |
0.006932808876037598, | |
0.006900169849395752, | |
0.006848329067230224, | |
0.006898088932037354, | |
0.006907529830932617, | |
0.0069441690444946285, | |
0.006899689197540283, | |
0.0068633689880371095, | |
0.006972808837890625, | |
0.0069260897636413575, | |
0.006860969066619873, | |
0.00695776891708374, | |
0.006849130153656006, | |
0.0069324889183044434, | |
0.006928170204162597, | |
0.006941129207611084, | |
0.006889928817749023, | |
0.006899050235748291, | |
0.006934089183807373, | |
0.006907049179077148, | |
0.00692112922668457, | |
0.0069227290153503415, | |
0.006956009864807129, | |
0.006857129096984863, | |
0.006958409786224366, | |
0.006966088771820068, | |
0.00693536901473999, | |
0.006964649200439453, | |
0.006902729034423828, | |
0.006957449913024902, | |
0.006860969066619873, | |
0.006814408779144287, | |
0.006916490077972412, | |
0.00699264907836914, | |
0.006893449783325195, | |
0.00688240909576416, | |
0.006891048908233642, | |
0.006861609935760498, | |
0.006887369155883789, | |
0.006878889083862304, | |
0.006890729904174804, | |
0.00654752779006958, | |
0.006532808780670166, | |
0.006416489124298095, | |
0.006514888763427734, | |
0.006554089069366455, | |
0.006842409133911133, | |
0.006239528179168701, | |
0.006324488162994385, | |
0.00643104887008667, | |
0.0064000082015991215, | |
0.006309607982635498, | |
0.006603689193725586, | |
0.006603209018707276, | |
0.0066620888710021975, | |
0.006587529182434082, | |
0.006617289066314697, | |
0.006614728927612305, | |
0.006625448226928711, | |
0.0066076889038085935, | |
0.006305287837982178, | |
0.006243528842926026, | |
0.0065630488395690915, | |
0.006261928081512451, | |
0.006085769176483154, | |
0.006076168060302734, | |
0.00609440803527832 | |
], | |
"count": 148, | |
"total": 0.9947762207984926, | |
"mean": 0.006721460951341164, | |
"p50": 0.006860168933868408, | |
"p90": 0.006957961177825928, | |
"p95": 0.006971408939361572, | |
"p99": 0.0069917465734481805, | |
"stdev": 0.00024959791336330714, | |
"stdev_": 3.713447346793017 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.77717913401926 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |