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
856a03b
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", | |
"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": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.958208, | |
"max_global_vram": 2033.205248, | |
"max_process_vram": 206770.356224, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9995394802093507, | |
"mean": 0.006893375725581728, | |
"stdev": 0.00010612563045300694, | |
"p50": 0.006896010875701904, | |
"p90": 0.007027884006500244, | |
"p95": 0.007092428970336914, | |
"p99": 0.007153919582366943, | |
"values": [ | |
0.006713771820068359, | |
0.006701451778411865, | |
0.006742250919342041, | |
0.006745292186737061, | |
0.0067747321128845215, | |
0.006769771099090576, | |
0.0068278517723083494, | |
0.006758572101593018, | |
0.006722731113433838, | |
0.006786571979522705, | |
0.006711212158203125, | |
0.006770250797271729, | |
0.006906732082366944, | |
0.0067019319534301755, | |
0.006704811096191406, | |
0.006695211887359619, | |
0.006735052108764648, | |
0.0067363309860229495, | |
0.006659852027893066, | |
0.006755051136016846, | |
0.006707211971282959, | |
0.0067392120361328125, | |
0.006723690986633301, | |
0.006726731777191162, | |
0.006715850830078125, | |
0.0067547311782836916, | |
0.0067344121932983395, | |
0.006741930961608886, | |
0.006696812152862549, | |
0.006696812152862549, | |
0.006876330852508545, | |
0.006890572071075439, | |
0.006872171878814697, | |
0.006928172111511231, | |
0.006866251945495606, | |
0.006912652015686035, | |
0.006874092102050781, | |
0.006872332096099854, | |
0.006878732204437256, | |
0.006934572219848633, | |
0.006844332218170166, | |
0.00686049222946167, | |
0.006910571098327637, | |
0.006886570930480957, | |
0.0069190521240234375, | |
0.006861772060394287, | |
0.0069001722335815426, | |
0.006830252170562744, | |
0.006822092056274414, | |
0.006841290950775147, | |
0.006838251113891602, | |
0.006942892074584961, | |
0.006905611991882324, | |
0.006941452026367188, | |
0.006960492134094238, | |
0.006953291893005371, | |
0.00703953218460083, | |
0.006942891120910645, | |
0.006971051216125488, | |
0.0068953709602355955, | |
0.006856972217559814, | |
0.006891692161560058, | |
0.006935212135314941, | |
0.006899531841278076, | |
0.006897451877593994, | |
0.0069929718971252445, | |
0.007074572086334228, | |
0.006986732006072998, | |
0.0069172921180725095, | |
0.006959531784057617, | |
0.006954092025756836, | |
0.007032493114471436, | |
0.007033291816711426, | |
0.007075851917266846, | |
0.007096652030944824, | |
0.007153293132781982, | |
0.007112812042236328, | |
0.007117132186889649, | |
0.007088972091674805, | |
0.007093293190002441, | |
0.007000971794128418, | |
0.006985772132873535, | |
0.006987371921539307, | |
0.007004811763763428, | |
0.006925292015075683, | |
0.006873452186584473, | |
0.006904652118682861, | |
0.00689489221572876, | |
0.006924972057342529, | |
0.006913291931152344, | |
0.006896010875701904, | |
0.006892170906066895, | |
0.006918091773986817, | |
0.006916972160339355, | |
0.006970891952514649, | |
0.006898412227630615, | |
0.0071665730476379395, | |
0.007154411792755127, | |
0.0070988922119140626, | |
0.006989292144775391, | |
0.007020971775054932, | |
0.007006092071533203, | |
0.006955852031707763, | |
0.007032492160797119, | |
0.006961771965026856, | |
0.006975852012634278, | |
0.0069478521347045895, | |
0.006958251953125, | |
0.006899211883544922, | |
0.006955371856689453, | |
0.006941932201385498, | |
0.006946092128753662, | |
0.006932171821594238, | |
0.006897771835327148, | |
0.006867372035980225, | |
0.006847531795501709, | |
0.0068667311668395995, | |
0.0068768119812011716, | |
0.0068579320907592774, | |
0.00688129186630249, | |
0.006891372203826904, | |
0.006871692180633545, | |
0.006871851921081543, | |
0.006852491855621338, | |
0.006872331142425537, | |
0.006911211967468261, | |
0.0068956918716430666, | |
0.006957931995391846, | |
0.006951692104339599, | |
0.00690481185913086, | |
0.006981612205505371, | |
0.006914251804351806, | |
0.006857131958007813, | |
0.0068657717704772945, | |
0.006897771835327148, | |
0.006904012203216553, | |
0.006852810859680176, | |
0.006880492210388184, | |
0.006937130928039551, | |
0.006893130779266357, | |
0.006854891777038574, | |
0.006890091896057129, | |
0.006861931800842285, | |
0.0068486518859863284, | |
0.006872171878814697 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.06680613519157 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |