IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
d17e8c8 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1095.65952,
"max_global_vram": 68702.69952,
"max_process_vram": 5345.54624,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.11228090667724609
],
"count": 1,
"total": 0.11228090667724609,
"mean": 0.11228090667724609,
"p50": 0.11228090667724609,
"p90": 0.11228090667724609,
"p95": 0.11228090667724609,
"p99": 0.11228090667724609,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1268.424704,
"max_global_vram": 68702.69952,
"max_process_vram": 188533.075968,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"values": [
0.006906217098236084,
0.0066740579605102535,
0.006737417221069336,
0.006683497905731201,
0.006701416969299316,
0.006673898220062256,
0.00670285701751709,
0.006698058128356933,
0.006699018001556397,
0.006690697193145752,
0.0066924581527709965,
0.006677257061004639,
0.0067535781860351566,
0.00673341703414917,
0.015254029273986816,
0.004012465953826904,
0.004006546974182129,
0.006215019226074219,
0.006415499210357666,
0.006441099166870117,
0.006645256996154785,
0.006702698230743408,
0.006773097038269043,
0.006741096973419189,
0.006764778137207031,
0.0067657380104064946,
0.006776776790618897,
0.006790057182312011,
0.006787656784057617,
0.006771017074584961,
0.006762537956237793,
0.006743337154388428,
0.006465258121490479,
0.0063857388496398925,
0.0067702169418334965,
0.006403337955474853,
0.006472938060760498,
0.006591338157653809,
0.006517417907714844,
0.006567977905273438,
0.0065865378379821775,
0.006482858180999756,
0.006343819141387939,
0.006352939128875732,
0.0063900589942932125,
0.006330698013305664,
0.006181419849395752,
0.006000460147857666,
0.006001100063323974,
0.006025100231170654,
0.006017260074615479,
0.006040459156036377,
0.0060068597793579105,
0.0059931001663208,
0.006023019790649414,
0.006192299842834472,
0.0060020599365234375,
0.006037740230560302,
0.00601934003829956,
0.006029419898986817,
0.006030058860778809,
0.006035820007324218,
0.006001580238342285,
0.0060671792030334475,
0.0059964599609375,
0.00605325984954834,
0.006009260177612305,
0.006135179996490479,
0.00603630018234253,
0.005989580154418945,
0.006021900177001953,
0.005998539924621582,
0.00600894021987915,
0.006518698215484619,
0.006772296905517578,
0.006731496810913086,
0.0067873368263244626,
0.006593577861785889,
0.006157739162445068,
0.006389898777008057,
0.00641005802154541,
0.006292139053344727,
0.006402698993682862,
0.006176299095153809,
0.006392938137054443,
0.006255498886108398,
0.006350859165191651,
0.006334218978881836,
0.006243659019470215,
0.006428298950195313,
0.006588938236236572,
0.006704136848449707,
0.00680109691619873,
0.006758856773376465,
0.006655337810516357,
0.006389258861541748,
0.006203020095825195,
0.006353579044342041,
0.006386058807373047,
0.006299977779388428,
0.006432619094848633,
0.006204618930816651,
0.006377577781677246,
0.006284779071807862,
0.006250858783721924,
0.006396778106689453,
0.006225739002227783,
0.006331338882446289,
0.006329419136047364,
0.006124299049377441,
0.006006700038909912,
0.0060044598579406736,
0.006044620037078857,
0.0061601390838623045,
0.0061727800369262694,
0.005988619804382324,
0.006010379791259766,
0.005990699768066406,
0.006044139862060547,
0.006094539165496826,
0.006008140087127686,
0.0059875001907348634,
0.005985899925231934,
0.005991980075836182,
0.006002220153808593,
0.006003660202026367,
0.005988140106201172,
0.0059738998413085935,
0.0059830198287963866,
0.006013099193572998,
0.005987659931182861,
0.005981900215148926,
0.005984139919281006,
0.006000939846038818,
0.006018380165100098,
0.006025100231170654,
0.005987659931182861,
0.0059684600830078125,
0.005953740119934082,
0.005977099895477295,
0.005980780124664306,
0.005975019931793213,
0.0059714999198913574,
0.006014860153198242,
0.005968780040740967,
0.005992459774017334,
0.005967979907989502,
0.005995979785919189,
0.005965900897979736,
0.005999660015106201,
0.0059879798889160155,
0.005974540233612061,
0.005948780059814453,
0.005976779937744141,
0.0059806199073791505,
0.0059820590019226075,
0.0059577407836914065,
0.005993420124053955
],
"count": 158,
"total": 0.996317947387695,
"mean": 0.006305809793593007,
"p50": 0.006186859846115112,
"p90": 0.006746409463882446,
"p95": 0.006772416925430298,
"p99": 0.006846298594474793,
"stdev": 0.000813200806452532,
"stdev_": 12.896056701215144
},
"throughput": {
"unit": "samples/s",
"value": 158.58391431597667
},
"energy": null,
"efficiency": null
}
}
}