IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
de999d7 verified
raw
history blame
13.3 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "4",
"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 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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1386.991616,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.6834931640625,
"mean": 7.6834931640625,
"stdev": 0.0,
"p50": 7.6834931640625,
"p90": 7.6834931640625,
"p95": 7.6834931640625,
"p99": 7.6834931640625,
"values": [
7.6834931640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1557.87264,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 354.740224
},
"latency": {
"unit": "s",
"count": 175,
"total": 0.993923883914947,
"mean": 0.005679565050942556,
"stdev": 0.0004257796830154001,
"p50": 0.005545914173126221,
"p90": 0.005884025478363037,
"p95": 0.006134585428237914,
"p99": 0.006737011022567736,
"values": [
0.006109433174133301,
0.00593647289276123,
0.005844314098358155,
0.005890553951263428,
0.005995673179626465,
0.010274868965148926,
0.006264153003692627,
0.005962553977966308,
0.00594079303741455,
0.005942393779754638,
0.005914873123168946,
0.005844954013824463,
0.005833114147186279,
0.0058420729637146,
0.005844153881072998,
0.005813754081726074,
0.005804792881011963,
0.005768474102020264,
0.005720633983612061,
0.005727674007415771,
0.0056924729347229,
0.0057294340133666995,
0.005711833953857422,
0.00569551420211792,
0.005711994171142578,
0.005698712825775146,
0.0057012739181518555,
0.005712314128875733,
0.00572607421875,
0.0056724739074707035,
0.005683672904968262,
0.005682874202728272,
0.005672793865203857,
0.005687513828277588,
0.005688313961029053,
0.005678393840789795,
0.005698873043060303,
0.0057155141830444334,
0.005724793910980225,
0.005703033924102784,
0.00569935417175293,
0.005725273132324219,
0.005704473972320556,
0.005656953811645508,
0.005648313999176025,
0.0056518340110778805,
0.005703514099121094,
0.005647993087768555,
0.006371513843536377,
0.007777272224426269,
0.005564794063568115,
0.005574873924255371,
0.005540153980255127,
0.005502073764801025,
0.005535994052886963,
0.005516153812408447,
0.00552911376953125,
0.005527674198150635,
0.005504794120788574,
0.005516794204711914,
0.005529273986816406,
0.005506234169006348,
0.00551919412612915,
0.005547994136810302,
0.0055428738594055175,
0.00551439380645752,
0.005537114143371582,
0.005522873878479004,
0.005517114162445069,
0.005531353950500488,
0.005509913921356201,
0.005539194107055664,
0.0055569539070129395,
0.005534554004669189,
0.005542233943939209,
0.005509593963623047,
0.0055067138671875,
0.0057459139823913576,
0.005558073997497559,
0.005539673805236817,
0.0055287938117980955,
0.005549913883209229,
0.005523834228515625,
0.005537754058837891,
0.00554543399810791,
0.005524795055389404,
0.005577754020690918,
0.005564474105834961,
0.005528314113616943,
0.005543354034423828,
0.005547033786773682,
0.005534714221954346,
0.005542233943939209,
0.005528473854064941,
0.0055350341796875,
0.005528314113616943,
0.005798233985900879,
0.005539033889770508,
0.0055214338302612305,
0.005547354221343994,
0.005528954029083252,
0.0055019140243530275,
0.005527674198150635,
0.00553727388381958,
0.005506393909454346,
0.005674553871154785,
0.005787034034729004,
0.005874232769012451,
0.005836954116821289,
0.0058219141960144044,
0.0056518340110778805,
0.005489433765411377,
0.005545914173126221,
0.005529434204101563,
0.005516153812408447,
0.0055073537826538085,
0.005533753871917724,
0.005557593822479248,
0.005532154083251953,
0.0055502338409423825,
0.005512474060058593,
0.005525914192199707,
0.005533753871917724,
0.0055452737808227535,
0.00554111385345459,
0.00551919412612915,
0.005527353763580322,
0.005515354156494141,
0.005516153812408447,
0.005530394077301025,
0.005512313842773437,
0.005532154083251953,
0.005521753787994385,
0.005510873794555664,
0.005511673927307129,
0.005515513896942138,
0.005538234233856201,
0.0055111942291259765,
0.005561433792114258,
0.005532474040985108,
0.005519514083862305,
0.00552527379989624,
0.005549434185028076,
0.005506234169006348,
0.005519514083862305,
0.005528634071350098,
0.005532154083251953,
0.0055159940719604495,
0.005513594150543213,
0.005532954216003418,
0.005531353950500488,
0.005536953926086426,
0.005544474124908447,
0.005592634201049804,
0.005547354221343994,
0.005539194107055664,
0.005516314029693604,
0.005547674179077149,
0.0055449538230896,
0.00553887414932251,
0.0055710339546203615,
0.00557935380935669,
0.005555994033813476,
0.005555193901062011,
0.005534073829650879,
0.005539514064788818,
0.0055398340225219726,
0.005548314094543457,
0.006272472858428955,
0.006316473007202148,
0.0063022332191467285,
0.0061087942123413085,
0.005764632225036621,
0.006193274021148681,
0.0063142328262329106
]
},
"throughput": {
"unit": "samples/s",
"value": 176.06982066946208
},
"energy": null,
"efficiency": null
}
}
}