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
a0c7c90
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_type": "vit", | |
"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, | |
"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": "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.3.1", | |
"optimum_benchmark_commit": "33013b51e0268a2fd7f07c903783b994ac1e0021", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 895.63136, | |
"max_global_vram": 689.373184, | |
"max_process_vram": 49059.151872, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.873856 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.996580078125, | |
"mean": 8.996580078125, | |
"stdev": 0.0, | |
"p50": 8.996580078125, | |
"p90": 8.996580078125, | |
"p95": 8.996580078125, | |
"p99": 8.996580078125, | |
"values": [ | |
8.996580078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1066.442752, | |
"max_global_vram": 777.064448, | |
"max_process_vram": 186843.385856, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 0.996779369831085, | |
"mean": 0.006601187879676061, | |
"stdev": 0.00013729153089352535, | |
"p50": 0.006557429790496826, | |
"p90": 0.006766709804534912, | |
"p95": 0.00691142988204956, | |
"p99": 0.007086949586868286, | |
"values": [ | |
0.006783989906311036, | |
0.006791989803314209, | |
0.007011189937591553, | |
0.007105430126190185, | |
0.00713470983505249, | |
0.007068469047546387, | |
0.00703695011138916, | |
0.006940149784088135, | |
0.006958390235900879, | |
0.006905429840087891, | |
0.0068110299110412595, | |
0.0067465500831604, | |
0.006695351123809814, | |
0.006766709804534912, | |
0.0067087898254394535, | |
0.006666551113128662, | |
0.006618391036987305, | |
0.00661007022857666, | |
0.00658319091796875, | |
0.006591189861297608, | |
0.006637910842895508, | |
0.006649270057678223, | |
0.006723350048065186, | |
0.006637270927429199, | |
0.006578549861907959, | |
0.006607511043548584, | |
0.006571670055389404, | |
0.006586710929870606, | |
0.006701751232147217, | |
0.006791830062866211, | |
0.0067700700759887695, | |
0.006761590003967285, | |
0.006822871208190918, | |
0.006739030838012696, | |
0.00670350980758667, | |
0.0066899099349975585, | |
0.006628470897674561, | |
0.006614389896392822, | |
0.006643031120300293, | |
0.006573111057281494, | |
0.006557750225067139, | |
0.006540310859680176, | |
0.006546870231628418, | |
0.0065012707710266114, | |
0.006525910854339599, | |
0.006500471115112305, | |
0.006467990875244141, | |
0.00649390983581543, | |
0.006545590877532959, | |
0.006658870220184326, | |
0.00664431095123291, | |
0.00661614990234375, | |
0.006573111057281494, | |
0.006543509960174561, | |
0.006523351192474366, | |
0.0065284700393676755, | |
0.006524150848388672, | |
0.006524789810180664, | |
0.006549430847167969, | |
0.006553110122680664, | |
0.006555991172790527, | |
0.00654847002029419, | |
0.006503351211547851, | |
0.00653023099899292, | |
0.0064843111038208005, | |
0.00647295093536377, | |
0.006506549835205078, | |
0.006487831115722657, | |
0.0064817509651184085, | |
0.00653695011138916, | |
0.0066918301582336425, | |
0.006618230819702148, | |
0.006612790107727051, | |
0.006580630779266358, | |
0.006582389831542969, | |
0.006649271011352539, | |
0.006683189868927002, | |
0.0069174299240112305, | |
0.006726550102233887, | |
0.006732950210571289, | |
0.006673110961914063, | |
0.006658870220184326, | |
0.006641591072082519, | |
0.006677111148834228, | |
0.006653110027313233, | |
0.006639030933380127, | |
0.006621910095214844, | |
0.00659135103225708, | |
0.0065814309120178225, | |
0.006536470890045166, | |
0.006502230167388916, | |
0.006507191181182861, | |
0.006500309944152832, | |
0.006494710922241211, | |
0.0065012707710266114, | |
0.0064646310806274416, | |
0.0065124711990356444, | |
0.006489270210266114, | |
0.006490550994873047, | |
0.006497271060943603, | |
0.006474870204925537, | |
0.006470551013946533, | |
0.006603189945220947, | |
0.006719191074371338, | |
0.006734870910644532, | |
0.006700630187988281, | |
0.006563509941101074, | |
0.0065502309799194336, | |
0.006557429790496826, | |
0.006557271003723144, | |
0.006541430950164795, | |
0.006601591110229493, | |
0.0065737500190734864, | |
0.006615991115570068, | |
0.006493111133575439, | |
0.006492630958557129, | |
0.00648159122467041, | |
0.006536469936370849, | |
0.006562070846557617, | |
0.006577270030975342, | |
0.006538550853729248, | |
0.0065278301239013676, | |
0.006530711174011231, | |
0.006543350219726562, | |
0.0065623908042907715, | |
0.006543671131134033, | |
0.006509110927581787, | |
0.0065532708168029785, | |
0.006544469833374023, | |
0.006474230766296387, | |
0.006481589794158936, | |
0.006455030918121338, | |
0.006502551078796387, | |
0.006509590148925781, | |
0.00648543119430542, | |
0.006477270126342773, | |
0.0064836711883544925, | |
0.006476150989532471, | |
0.006489749908447266, | |
0.006486870765686035, | |
0.006447831153869629, | |
0.006481910228729248, | |
0.006445431232452393, | |
0.006477910041809082, | |
0.006508951187133789, | |
0.006464951038360596, | |
0.006479189872741699, | |
0.006456790924072265, | |
0.006470390796661377, | |
0.006476788997650146, | |
0.0064628710746765135 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.48788645734967 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |