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
20cdfdf
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": 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": 1072.164864, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47237.69344, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6983251953125, | |
"mean": 8.6983251953125, | |
"stdev": 0.0, | |
"p50": 8.6983251953125, | |
"p90": 8.6983251953125, | |
"p95": 8.6983251953125, | |
"p99": 8.6983251953125, | |
"values": [ | |
8.6983251953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.135424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 189280.91136, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9948345966339117, | |
"mean": 0.006459964913207215, | |
"stdev": 0.0002967607773982681, | |
"p50": 0.006423850536346436, | |
"p90": 0.006894811201095581, | |
"p95": 0.0069818031787872315, | |
"p99": 0.007220527119636535, | |
"values": [ | |
0.007067532062530518, | |
0.007014251232147216, | |
0.007196012020111084, | |
0.0071257719993591305, | |
0.007044332027435303, | |
0.007248171806335449, | |
0.007346571922302246, | |
0.007100172042846679, | |
0.006853610992431641, | |
0.00670465087890625, | |
0.006672491073608398, | |
0.0068337721824646, | |
0.006806571006774903, | |
0.006678891181945801, | |
0.006590411186218261, | |
0.006721130847930908, | |
0.0068195309638977054, | |
0.0064808111190795895, | |
0.00641441011428833, | |
0.0062502498626708985, | |
0.006475531101226807, | |
0.0062504100799560544, | |
0.006444331169128418, | |
0.0066099300384521486, | |
0.006240009784698486, | |
0.006249929904937744, | |
0.006348491191864014, | |
0.0065158500671386715, | |
0.006356330871582031, | |
0.006466411113739014, | |
0.0065700898170471195, | |
0.006652969837188721, | |
0.006679530143737793, | |
0.006597449779510498, | |
0.0066227312088012694, | |
0.006664330959320068, | |
0.006550731182098389, | |
0.006642731189727783, | |
0.006690731048583984, | |
0.006635850906372071, | |
0.0063265700340271, | |
0.00649937105178833, | |
0.00634673023223877, | |
0.006363211154937744, | |
0.006447370052337646, | |
0.006574410915374756, | |
0.00652177095413208, | |
0.006579370975494385, | |
0.006602731227874756, | |
0.0064937701225280765, | |
0.006460330009460449, | |
0.0067155308723449705, | |
0.006332651138305664, | |
0.006403530120849609, | |
0.0063436908721923825, | |
0.006290890216827392, | |
0.006361771106719971, | |
0.006333769798278809, | |
0.0062684907913208, | |
0.006354090213775635, | |
0.006147689819335937, | |
0.006146090030670166, | |
0.0061491308212280275, | |
0.0061880102157592775, | |
0.006564651012420654, | |
0.00616992998123169, | |
0.006338250160217285, | |
0.006503850936889649, | |
0.006375370979309082, | |
0.006661450862884522, | |
0.0065102500915527346, | |
0.006426731109619141, | |
0.006551371097564697, | |
0.006393129825592041, | |
0.006472170829772949, | |
0.00655665111541748, | |
0.006645451068878174, | |
0.006182089805603027, | |
0.006199850082397461, | |
0.006424490928649902, | |
0.00619281005859375, | |
0.006176650047302246, | |
0.0061920108795166014, | |
0.006188169956207275, | |
0.006132810115814209, | |
0.006162889957427978, | |
0.006174089908599853, | |
0.006169771194458008, | |
0.006160490036010742, | |
0.006152329921722412, | |
0.00613056993484497, | |
0.006168650150299072, | |
0.006148970127105713, | |
0.006163051128387451, | |
0.006149290084838867, | |
0.00615024995803833, | |
0.006168650150299072, | |
0.006137450218200683, | |
0.006190570831298828, | |
0.006131849765777588, | |
0.0061806502342224125, | |
0.006148330211639404, | |
0.006119369983673096, | |
0.006153610229492188, | |
0.006039690017700195, | |
0.006135210037231446, | |
0.00616112995147705, | |
0.006154890060424805, | |
0.006141129970550537, | |
0.006138249874114991, | |
0.006334731101989746, | |
0.006479051113128662, | |
0.006442570209503174, | |
0.006536810874938965, | |
0.006569770812988282, | |
0.006423210144042969, | |
0.006603690147399902, | |
0.006524170875549316, | |
0.00628545093536377, | |
0.006404809951782227, | |
0.006157289981842041, | |
0.0061507301330566404, | |
0.006157289981842041, | |
0.0061083297729492185, | |
0.006133289813995362, | |
0.006141769886016846, | |
0.0061433701515197755, | |
0.0061243300437927245, | |
0.006160971164703369, | |
0.006151050090789795, | |
0.006152170181274414, | |
0.006114250183105469, | |
0.006129930019378662, | |
0.0061744098663330076, | |
0.006239370822906494, | |
0.006964331150054932, | |
0.006915532112121582, | |
0.006882250785827637, | |
0.006914570808410645, | |
0.006886412143707275, | |
0.006865931034088135, | |
0.006939531803131104, | |
0.0068984107971191404, | |
0.00690001106262207, | |
0.0066678509712219235, | |
0.006544490814208984, | |
0.006696170806884766, | |
0.006549931049346923, | |
0.00685089111328125, | |
0.006869291782379151, | |
0.00691585111618042, | |
0.006856172084808349, | |
0.006881131172180176, | |
0.006919050216674804 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.79960238724027 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |