IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
8001067 verified
raw
history blame
10.6 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",
"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.0",
"optimum_benchmark_commit": "e65976e2695b67f37a76baa42b75347a3a733547",
"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": 1061.142528,
"max_global_vram": 1758.846976,
"max_process_vram": 197174.337536,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9932053928375243,
"mean": 0.006945492257605066,
"stdev": 0.0003998848439155337,
"p50": 0.006972488880157471,
"p90": 0.007361993789672852,
"p95": 0.007593754959106446,
"p99": 0.007734577045440675,
"values": [
0.008139691352844237,
0.0073931307792663575,
0.006886889934539795,
0.006972488880157471,
0.006566569805145263,
0.006706569194793701,
0.006474888801574707,
0.006444489002227783,
0.006640009880065918,
0.006541769027709961,
0.006435849189758301,
0.0064792089462280275,
0.006694889068603516,
0.006512330055236816,
0.006513449192047119,
0.006592648983001709,
0.0064156889915466305,
0.006629289150238037,
0.006564650058746338,
0.0065502490997314455,
0.006477609157562256,
0.006438249111175537,
0.006474729061126709,
0.006426408767700196,
0.006604650020599365,
0.006588969230651855,
0.006573928833007813,
0.006711689949035644,
0.007249450206756592,
0.007364649772644043,
0.007341129779815674,
0.007322889804840088,
0.007291850090026856,
0.007292009830474853,
0.007279691219329834,
0.007294410228729248,
0.007247049808502198,
0.007260169982910156,
0.007221770763397217,
0.007243850231170654,
0.007199850082397461,
0.007282410144805908,
0.007310730934143066,
0.0073115301132202146,
0.007268010139465332,
0.007285130023956299,
0.007269450187683105,
0.007259369850158692,
0.0072363300323486325,
0.0072123298645019535,
0.007271690845489502,
0.007218890190124512,
0.007365449905395508,
0.007327529907226562,
0.007289450168609619,
0.007281129837036133,
0.007212810039520264,
0.007220009803771973,
0.007246891021728516,
0.0072497701644897465,
0.007316170215606689,
0.007619370937347412,
0.007611210823059082,
0.007639530181884765,
0.00759761095046997,
0.0075468912124633785,
0.007784171104431152,
0.0076366510391235355,
0.00766609001159668,
0.0075590510368347165,
0.007443210124969482,
0.007428490161895752,
0.007350890159606933,
0.007344491004943847,
0.007351369857788086,
0.007334410190582275,
0.007304811000823975,
0.007313129901885987,
0.00702145004272461,
0.007153450012207031,
0.007270410060882569,
0.007220009803771973,
0.007045450210571289,
0.006762889862060547,
0.006977290153503418,
0.0070273690223693844,
0.007246409893035889,
0.007194570064544678,
0.0072307300567626956,
0.007265610218048096,
0.007160329818725586,
0.006732649803161621,
0.006912329196929932,
0.006966568946838379,
0.0069280099868774415,
0.006982250213623047,
0.006838409900665283,
0.0067905688285827635,
0.006618568897247315,
0.006606569766998291,
0.0065337691307067874,
0.00668480920791626,
0.0065152101516723635,
0.006585289001464844,
0.006409449100494385,
0.006452168941497803,
0.006816490173339844,
0.00656144905090332,
0.00646544885635376,
0.006468328952789306,
0.0064652891159057615,
0.0067217698097229005,
0.006449129104614258,
0.00652048921585083,
0.00697504997253418,
0.007220330238342285,
0.007156330108642578,
0.007259689807891846,
0.0071555299758911135,
0.00713056993484497,
0.00680272912979126,
0.00688608980178833,
0.006658568859100342,
0.00675121021270752,
0.006725608825683594,
0.00653040885925293,
0.006782249927520752,
0.006837130069732666,
0.00662256908416748,
0.006586729049682617,
0.006431368827819825,
0.006397609233856201,
0.006368329048156738,
0.006395849227905273,
0.006397129058837891,
0.006423368930816651,
0.006572969913482666,
0.006354248046875,
0.006361288070678711,
0.006375369071960449,
0.006384328842163086,
0.006582409858703613,
0.0064531278610229495
]
},
"throughput": {
"unit": "samples/s",
"value": 143.9782758241557
},
"energy": null,
"efficiency": null
}
}
}