IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
66bb97b verified
raw
history blame
12.8 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": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1072.304128,
"max_global_vram": 68702.69952,
"max_process_vram": 43474.399232,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3471708984375,
"mean": 8.3471708984375,
"stdev": 0.0,
"p50": 8.3471708984375,
"p90": 8.3471708984375,
"p95": 8.3471708984375,
"p99": 8.3471708984375,
"values": [
8.3471708984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.442624,
"max_global_vram": 68702.69952,
"max_process_vram": 186364.203008,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 163,
"total": 0.9992407269477847,
"mean": 0.006130311208268617,
"stdev": 0.00258894663827493,
"p50": 0.005968945980072022,
"p90": 0.006340624904632568,
"p95": 0.0066093771934509285,
"p99": 0.006745075607299804,
"values": [
0.038315433502197266,
0.004016150951385498,
0.004004951000213623,
0.004011030197143555,
0.0040217509269714355,
0.00399583101272583,
0.0040047898292541505,
0.004010870933532715,
0.004010711193084717,
0.004010711193084717,
0.004012629985809326,
0.004009911060333252,
0.00557854700088501,
0.0058919858932495114,
0.006059346199035645,
0.005867825984954834,
0.005877747058868408,
0.005848626136779785,
0.0058675060272216795,
0.005856146812438965,
0.005890545845031739,
0.006142866134643554,
0.0061238260269165035,
0.006136146068572998,
0.006110226154327393,
0.006109906196594238,
0.006111824989318847,
0.006107985973358154,
0.006194386005401611,
0.0061310257911682126,
0.006147346019744873,
0.0060694260597229,
0.006110866069793702,
0.0060857458114624025,
0.005945425987243652,
0.006177104949951172,
0.005976946830749512,
0.005948307037353516,
0.005960306167602539,
0.006074386119842529,
0.006287985801696777,
0.006088144779205322,
0.0059015870094299315,
0.005932946205139161,
0.0059414258003234865,
0.005933105945587158,
0.005907186031341553,
0.005942067146301269,
0.00591614580154419,
0.0059335861206054686,
0.005973266124725342,
0.005966385841369629,
0.005914546012878418,
0.005987666130065918,
0.00594862699508667,
0.005947346210479736,
0.0059665460586547855,
0.005990225791931153,
0.005985745906829834,
0.00600782585144043,
0.0059934258460998535,
0.0059860658645629885,
0.005949426174163819,
0.0059953460693359375,
0.005950866222381591,
0.005979986190795899,
0.005970545768737793,
0.006020465850830078,
0.006004146099090576,
0.00600398588180542,
0.005955347061157227,
0.0059579057693481445,
0.005958866119384765,
0.005960465908050537,
0.005946866035461426,
0.005971345901489258,
0.0061715059280395505,
0.005995026111602783,
0.005967986106872558,
0.005965586185455322,
0.005964945793151855,
0.00594062614440918,
0.005968945980072022,
0.005964305877685547,
0.005945587158203125,
0.005958547115325927,
0.005930386066436768,
0.005969426155090332,
0.005945106029510498,
0.005944945812225342,
0.0059199857711791995,
0.00593662691116333,
0.005941105842590332,
0.005925586223602295,
0.005936145782470703,
0.005985266208648682,
0.0059403061866760256,
0.005949427127838134,
0.005936306953430176,
0.005970866203308106,
0.005972465991973877,
0.00594286584854126,
0.005972305774688721,
0.005943665981292725,
0.005928306102752685,
0.00594286584854126,
0.005965106010437012,
0.005961427211761475,
0.005975027084350586,
0.00600398588180542,
0.005938705921173096,
0.005937106132507324,
0.005898866176605224,
0.005926705837249756,
0.005959987163543701,
0.005986227035522461,
0.005950066089630127,
0.005929905891418457,
0.005966065883636474,
0.005945586204528809,
0.0059340658187866215,
0.005980785846710205,
0.005935667037963867,
0.005937586784362793,
0.00596734619140625,
0.00594286584854126,
0.005934706211090088,
0.00641246509552002,
0.0066988649368286135,
0.00669134521484375,
0.00671230411529541,
0.006503025054931641,
0.006292945861816406,
0.006161905765533447,
0.0064267048835754395,
0.006198545932769775,
0.0063417448997497555,
0.006284625053405762,
0.006610225200653077,
0.0066017451286315915,
0.0062321457862854,
0.006326704978942871,
0.0063361449241638185,
0.0067985448837280275,
0.006660624027252197,
0.0066823849678039554,
0.006669264793395996,
0.0063955049514770506,
0.006331504821777344,
0.006231185913085938,
0.006421585083007813,
0.006110226154327393,
0.006206385135650635,
0.006262385845184326,
0.006401745796203613,
0.006290064811706543,
0.006167506217956543,
0.006255344867706299,
0.006101905822753906,
0.0062934250831604005,
0.006123505115509033,
0.006112626075744629,
0.006234224796295166
]
},
"throughput": {
"unit": "samples/s",
"value": 163.12385554769085
},
"energy": null,
"efficiency": null
}
}
}