IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
093b5cf verified
raw
history blame
10.7 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": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c",
"transformers_version": "4.41.1",
"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": 1059.713024,
"max_global_vram": 1758.097408,
"max_process_vram": 166891.45856,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9947590727806094,
"mean": 0.00695635715231195,
"stdev": 8.53418713140347e-05,
"p50": 0.00692929220199585,
"p90": 0.007066763973236084,
"p95": 0.0071385719776153565,
"p99": 0.007215010395050049,
"values": [
0.006909290790557862,
0.007017131805419922,
0.0070251312255859375,
0.00721473217010498,
0.007277132034301758,
0.007215211868286133,
0.007138731956481933,
0.007188332080841064,
0.007168171882629394,
0.007079211235046387,
0.007061131954193115,
0.007109931945800781,
0.006852810859680176,
0.006867530822753906,
0.006853611946105957,
0.00690385103225708,
0.0069216108322143555,
0.006884332180023193,
0.006865291118621826,
0.006848811149597168,
0.00682449197769165,
0.006863211154937744,
0.006948010921478271,
0.006954731941223144,
0.0069852910041809085,
0.006894251823425293,
0.006893130779266357,
0.006863050937652588,
0.006904652118682861,
0.006897450923919678,
0.0069123320579528805,
0.006872651100158692,
0.006947531223297119,
0.006851692199707032,
0.006892490863800049,
0.0070076918601989745,
0.006982090950012207,
0.00692929220199585,
0.006907210826873779,
0.006948491096496582,
0.0068593711853027345,
0.006888330936431885,
0.006941132068634033,
0.006924490928649902,
0.007012492179870606,
0.006917770862579346,
0.006914571762084961,
0.006894890785217285,
0.0069057707786560054,
0.006894251823425293,
0.006860970973968506,
0.006958891868591308,
0.006970410823822022,
0.00701889181137085,
0.006984011173248291,
0.006961132049560547,
0.007008330821990967,
0.007160811901092529,
0.007051692008972168,
0.007069291114807129,
0.007068171977996827,
0.007037131786346435,
0.007073451042175293,
0.007032651901245118,
0.007030251026153564,
0.0070328121185302735,
0.006911850929260254,
0.007042891979217529,
0.007018571853637696,
0.006896491050720215,
0.0070456118583679195,
0.006977450847625732,
0.006889770984649659,
0.006868331909179687,
0.006843211174011231,
0.007026412010192871,
0.006949450969696045,
0.006887371063232422,
0.0068902521133422856,
0.006916491031646729,
0.00688945198059082,
0.0069168109893798825,
0.007137132167816162,
0.007163211822509765,
0.00713153076171875,
0.0069740920066833495,
0.007016971111297608,
0.006969771862030029,
0.006954570770263672,
0.006880012035369873,
0.006881771087646485,
0.006889770984649659,
0.0069574518203735355,
0.006923370838165284,
0.006886251926422119,
0.006928811073303223,
0.006946091175079346,
0.0069563307762146,
0.006969931125640869,
0.0069483318328857424,
0.006984490871429444,
0.006914571762084961,
0.006976810932159424,
0.007034572124481201,
0.0069313721656799315,
0.007035211086273193,
0.006969771862030029,
0.0070139307975769045,
0.0070260920524597165,
0.0070208110809326174,
0.006894250869750976,
0.006953451156616211,
0.0069433717727661135,
0.00692241096496582,
0.006882731914520264,
0.00693281078338623,
0.006920650959014892,
0.006949131965637207,
0.0069070510864257815,
0.0069574518203735355,
0.006958090782165528,
0.006932332038879395,
0.006944331169128418,
0.006919371128082275,
0.006917931079864502,
0.0069096112251281734,
0.00692929220199585,
0.006927051067352295,
0.006955371856689453,
0.006894570827484131,
0.006887691020965576,
0.006908331871032715,
0.006910571098327637,
0.0069153718948364255,
0.006909770011901855,
0.0068593711853027345,
0.006881452083587646,
0.006851370811462402,
0.006916010856628418,
0.0069134521484375,
0.006899691104888916,
0.006880490779876709,
0.006927052021026611
]
},
"throughput": {
"unit": "samples/s",
"value": 143.75340111277197
},
"energy": null,
"efficiency": null
}
}
}