IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
1aaf2cc verified
raw
history blame
10.8 kB
{
"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",
"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.2.1",
"optimum_benchmark_commit": "5e9beea10942a9d4b3bee05550004817630e3d7e",
"transformers_version": "4.41.0",
"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.302848,
"max_global_vram": 1758.101504,
"max_process_vram": 173928.542208,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.9964987592697142,
"mean": 0.006920130272706351,
"stdev": 0.00016137137352610127,
"p50": 0.006875351190567017,
"p90": 0.007123829889297485,
"p95": 0.007221478176116943,
"p99": 0.007334854712486267,
"values": [
0.008080628395080567,
0.006991829872131348,
0.006908310890197754,
0.006788790225982666,
0.006832789897918701,
0.0068420710563659665,
0.00686398983001709,
0.006865910053253174,
0.006858710765838623,
0.006826550006866455,
0.006800310134887695,
0.007095990180969239,
0.00684303092956543,
0.006845270156860352,
0.006801909923553466,
0.006935670852661133,
0.00692894983291626,
0.006958549976348877,
0.0068039908409118655,
0.006923191070556641,
0.007151830196380615,
0.007339189052581787,
0.006984310150146484,
0.006883350849151612,
0.0068911900520324705,
0.006980790138244629,
0.006963510036468506,
0.006875990867614746,
0.006921111106872558,
0.006889110088348389,
0.006868949890136719,
0.006851350784301758,
0.006899189949035644,
0.006878389835357666,
0.006856310844421387,
0.006847350120544433,
0.006845429897308349,
0.006875511169433594,
0.006873910903930664,
0.006893909931182861,
0.006830550193786621,
0.006951990127563476,
0.006981270790100098,
0.0069038310050964355,
0.006867189884185791,
0.006825910091400146,
0.006875191211700439,
0.006857110023498535,
0.006900629997253418,
0.007000309944152832,
0.006976150989532471,
0.0069836702346801754,
0.007011509895324707,
0.007090710163116455,
0.007329109191894531,
0.007306230068206787,
0.007223830223083496,
0.007204949855804443,
0.00712766981124878,
0.0070972700119018555,
0.007050389766693115,
0.0070121498107910156,
0.007030869960784912,
0.0069388699531555175,
0.006925749778747559,
0.0069105510711669925,
0.006840149879455567,
0.006865910053253174,
0.007004630088806152,
0.007068950176239014,
0.006918550968170166,
0.007004630088806152,
0.007137269973754883,
0.007174550056457519,
0.007140470027923584,
0.007227029800415039,
0.007328470230102539,
0.007208149909973144,
0.007226388931274414,
0.006899671077728271,
0.0068886299133300785,
0.006923190116882324,
0.006954390048980713,
0.006938711166381836,
0.006898709774017334,
0.006953269958496094,
0.006899990081787109,
0.006857110977172852,
0.0068439898490905765,
0.006845429897308349,
0.006821590900421143,
0.006883190155029297,
0.006850069999694825,
0.0068303909301757814,
0.006859509944915771,
0.0068435101509094235,
0.006850390911102295,
0.00682574987411499,
0.006936309814453125,
0.006845430850982666,
0.006807509899139404,
0.006823669910430908,
0.006772470951080322,
0.006838870048522949,
0.006747670173645019,
0.006810070991516114,
0.006788149833679199,
0.006820950984954834,
0.006817750930786133,
0.006741109848022461,
0.006803511142730713,
0.006808149814605713,
0.006779991149902344,
0.0067559900283813475,
0.006817590236663818,
0.0067753510475158695,
0.006741590023040771,
0.006788791179656983,
0.006795350074768066,
0.006774391174316406,
0.006798389911651611,
0.006759990215301514,
0.006771831035614013,
0.006756149768829346,
0.006769751071929932,
0.006775350093841553,
0.007114870071411133,
0.00694959020614624,
0.006902390956878662,
0.006891349792480469,
0.006915191173553467,
0.006838230133056641,
0.006860949993133545,
0.00687759017944336,
0.006837750911712646,
0.006853429794311523,
0.00685630989074707,
0.006889589786529541,
0.006843990802764892,
0.006855830192565918,
0.006859990119934082,
0.006800311088562012,
0.0068555111885070805,
0.00688031005859375
]
},
"throughput": {
"unit": "samples/s",
"value": 144.5059501183229
},
"energy": null,
"efficiency": null
}
}
}