IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
2753325 verified
raw
history blame
12.5 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": {},
"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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.842624,
"max_global_vram": 689.381376,
"max_process_vram": 44432.576512,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.85226904296875,
"mean": 6.85226904296875,
"stdev": 0.0,
"p50": 6.85226904296875,
"p90": 6.85226904296875,
"p95": 6.85226904296875,
"p99": 6.85226904296875,
"values": [
6.85226904296875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1069.047808,
"max_global_vram": 1642.029056,
"max_process_vram": 168856.772608,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 165,
"total": 0.9975744547843932,
"mean": 0.006045905786572081,
"stdev": 0.0006756467470690565,
"p50": 0.0060133042335510254,
"p90": 0.006213657569885254,
"p95": 0.006229912948608399,
"p99": 0.00723108268737789,
"values": [
0.0061885051727294926,
0.0061230649948120115,
0.006088345050811767,
0.0061542649269104,
0.006211544990539551,
0.006197626113891601,
0.006210104942321777,
0.006037944793701172,
0.006026584148406983,
0.005949143886566162,
0.006101143836975098,
0.00596722412109375,
0.005918424129486084,
0.005915224075317383,
0.0058782639503479,
0.005731544017791748,
0.005712663173675537,
0.005665303230285645,
0.005767704010009766,
0.005785462856292725,
0.005765944004058838,
0.005795863151550293,
0.005741623878479004,
0.0057283430099487305,
0.005753623962402344,
0.005716823101043701,
0.005845943927764893,
0.005810583114624023,
0.005758903026580811,
0.005844823837280274,
0.005847383975982666,
0.005791223049163819,
0.005834103107452393,
0.005881144046783447,
0.005980824947357178,
0.013193492889404296,
0.0038441760540008545,
0.003836496114730835,
0.0043859372138977054,
0.006169624805450439,
0.0061494650840759274,
0.006220506191253662,
0.006194584846496582,
0.006245144844055176,
0.006203705787658691,
0.0062153849601745605,
0.006225625991821289,
0.006148344993591308,
0.006192345142364502,
0.006134584903717041,
0.00621922492980957,
0.006134424209594726,
0.006210265159606934,
0.006189465045928955,
0.006211386203765869,
0.006205625057220459,
0.006229145050048828,
0.006238426208496094,
0.006210744857788086,
0.006215065956115723,
0.0061488251686096194,
0.0062313852310180665,
0.006202585220336914,
0.00624978494644165,
0.006251706123352051,
0.006210265159606934,
0.006219544887542725,
0.006219864845275879,
0.006230104923248291,
0.0061998658180236815,
0.006210744857788086,
0.006022425174713135,
0.0060681838989257815,
0.0061323451995849605,
0.00605890417098999,
0.006061625003814697,
0.006238265037536621,
0.006081143856048584,
0.00600914478302002,
0.006080665111541748,
0.006032824039459228,
0.006041625022888184,
0.0060637049674987795,
0.006093625068664551,
0.006075863838195801,
0.006117623805999756,
0.006066743850708008,
0.006014745235443115,
0.0059709038734436035,
0.006004024982452392,
0.0059825839996337895,
0.005961784839630127,
0.005966584205627442,
0.005996024131774903,
0.005970104217529297,
0.005964503765106201,
0.005998585224151611,
0.0059825839996337895,
0.006010904788970948,
0.006063064098358154,
0.005952983856201172,
0.005934743881225586,
0.00597538423538208,
0.005910424232482911,
0.0060680251121521,
0.005888823986053467,
0.00594482421875,
0.005932024002075195,
0.008972196578979493,
0.006050745010375977,
0.005984344005584717,
0.005928823947906494,
0.005953145027160644,
0.005936823844909668,
0.005937784194946289,
0.0059189038276672365,
0.005981464862823486,
0.006097145080566406,
0.006055704116821289,
0.00610130500793457,
0.006098424911499024,
0.00605986499786377,
0.006087705135345459,
0.006092985153198242,
0.006105625152587891,
0.006093945026397705,
0.00613186502456665,
0.006086904048919678,
0.006100183963775635,
0.006038584232330322,
0.006092024803161621,
0.006082425117492676,
0.006102425098419189,
0.006042424201965332,
0.006070263862609863,
0.0059995450973510745,
0.005978744029998779,
0.005875864028930664,
0.005948023796081543,
0.0059637041091918945,
0.0059795441627502445,
0.005950584888458252,
0.005933944225311279,
0.00594482421875,
0.005923863887786865,
0.005904664039611816,
0.005894423007965088,
0.005935863971710205,
0.0060133042335510254,
0.006013305187225342,
0.0059635438919067385,
0.0059854650497436525,
0.005939064025878907,
0.005856344223022461,
0.005908184051513672,
0.005884344100952148,
0.005909624099731445,
0.005954264163970947,
0.005927703857421875,
0.006001304149627686,
0.005978905200958252,
0.005903384208679199,
0.00590882396697998,
0.00590178394317627,
0.005824022769927979
]
},
"throughput": {
"unit": "samples/s",
"value": 165.40118806035545
},
"energy": null,
"efficiency": null
}
}
}