IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
dd55d88 verified
raw
history blame
11.3 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_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": "bc977b19adf337e8eb02985f3cceb35e1a783a1c",
"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": 897.024,
"max_global_vram": 689.364992,
"max_process_vram": 50652.135424,
"max_reserved": 400.556032,
"max_allocated": 346.873856
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9358037109375,
"mean": 7.9358037109375,
"stdev": 0.0,
"p50": 7.9358037109375,
"p90": 7.9358037109375,
"p95": 7.9358037109375,
"p99": 7.9358037109375,
"values": [
7.9358037109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1067.061248,
"max_global_vram": 777.064448,
"max_process_vram": 190697.586688,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9943916215896607,
"mean": 0.007365863863627117,
"stdev": 0.00021208345980823707,
"p50": 0.007338875770568847,
"p90": 0.00762777156829834,
"p95": 0.007737659835815429,
"p99": 0.008004897499084472,
"values": [
0.007417436122894287,
0.007407676219940185,
0.007534875869750977,
0.0074660758972167965,
0.0076614351272583005,
0.00763727617263794,
0.007501115798950195,
0.0075583958625793455,
0.007599835872650147,
0.007563836097717285,
0.007475515842437744,
0.007363996028900146,
0.007476156234741211,
0.007429595947265625,
0.007625754833221436,
0.007494716167449951,
0.007427996158599854,
0.007311036109924316,
0.007290396213531494,
0.007254395961761475,
0.007299995899200439,
0.0074966359138488765,
0.007424315929412842,
0.007602396011352539,
0.007705595970153809,
0.0075486359596252444,
0.007418876171112061,
0.007376155853271484,
0.007342875957489014,
0.007340635776519775,
0.0073988761901855465,
0.007474875926971435,
0.007469915866851807,
0.007541594982147216,
0.0073774361610412596,
0.007371356010437011,
0.007303195953369141,
0.0073087959289550785,
0.007293117046356201,
0.007294076919555664,
0.007197277069091797,
0.007226716041564942,
0.007191835880279541,
0.007219995975494385,
0.007241275787353516,
0.0071932759284973145,
0.007148796081542968,
0.0070969557762146,
0.007126875877380371,
0.00713135576248169,
0.007264955997467041,
0.0074923157691955565,
0.007714235782623291,
0.007675675868988037,
0.007629116058349609,
0.00742607593536377,
0.007301916122436523,
0.007385116100311279,
0.0074961562156677245,
0.0074916758537292485,
0.007440314769744873,
0.0073663959503173825,
0.007348956108093262,
0.007291676998138427,
0.007221436977386474,
0.007216156005859375,
0.0072966361045837405,
0.007522716045379639,
0.0075414347648620605,
0.007458395957946777,
0.007409436225891113,
0.00734303617477417,
0.007307836055755615,
0.007268795967102051,
0.007261116027832032,
0.007295035839080811,
0.0074966359138488765,
0.008050556182861329,
0.007842555999755859,
0.00787439489364624,
0.00779231595993042,
0.007596156120300293,
0.007513916015625,
0.0074727959632873535,
0.007321435928344727,
0.007363515853881836,
0.007619356155395508,
0.008024154663085937,
0.00796751594543457,
0.00795551586151123,
0.0077067151069641114,
0.007471675872802734,
0.007338875770568847,
0.007285275936126709,
0.007296316146850586,
0.007362555980682373,
0.00727375602722168,
0.007203516960144043,
0.00740415620803833,
0.00724735689163208,
0.00727375602722168,
0.0073230361938476565,
0.007203035831451416,
0.007191356182098389,
0.007155516147613525,
0.007239995956420898,
0.00722303581237793,
0.007185595989227295,
0.00738399600982666,
0.007334556102752686,
0.007157916069030761,
0.007227995872497559,
0.0073711957931518555,
0.007326556205749512,
0.007269755840301513,
0.007137276172637939,
0.007083995819091797,
0.007093757152557373,
0.0071076760292053225,
0.007081595897674561,
0.007080155849456787,
0.007075836181640625,
0.0070459160804748535,
0.007071675777435303,
0.0070939168930053715,
0.007047356128692627,
0.007008796215057373,
0.007056315898895263,
0.007110876083374023,
0.0071243162155151364,
0.007066555976867676,
0.007175517082214355,
0.00718287706375122,
0.0071651158332824705,
0.007105916023254394
]
},
"throughput": {
"unit": "samples/s",
"value": 135.76140131207603
},
"energy": null,
"efficiency": null
}
}
}