IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
82a757c verified
raw
history blame
11 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.1",
"optimum_benchmark_commit": "48414f58841d7ba7c7fd42d74fd524d1d23c3081",
"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.220352,
"max_global_vram": 1758.818304,
"max_process_vram": 201008.930816,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9966240077018739,
"mean": 0.006600158991403138,
"stdev": 0.0003548524378370496,
"p50": 0.006725290775299072,
"p90": 0.006799850940704346,
"p95": 0.006828811407089234,
"p99": 0.0069548110961914055,
"values": [
0.0069492912292480466,
0.006696331024169922,
0.006705451011657715,
0.006677771091461181,
0.006715370178222656,
0.006825771808624268,
0.006889770984649659,
0.006860811233520508,
0.00677393102645874,
0.006835371017456055,
0.006816171169281006,
0.0068147311210632324,
0.006960330963134765,
0.006683850765228271,
0.006252970218658447,
0.006526411056518555,
0.006306570053100586,
0.006204010009765625,
0.00628065013885498,
0.006224490165710449,
0.006216010093688965,
0.006194729804992676,
0.006211530208587646,
0.006232329845428467,
0.0062974500656127926,
0.006325290203094482,
0.006317770004272461,
0.006248650074005127,
0.006256649971008301,
0.006228489875793457,
0.006648170948028565,
0.006607210159301758,
0.006676651000976562,
0.006336490154266358,
0.006284490108489991,
0.00635761022567749,
0.006339529991149903,
0.006419210910797119,
0.00960625457763672,
0.006914571762084961,
0.006760490894317627,
0.0068030509948730465,
0.0067932910919189455,
0.006781930923461914,
0.006802731037139893,
0.006791690826416016,
0.006778891086578369,
0.006798410892486572,
0.006775371074676514,
0.006752010822296143,
0.006792331218719482,
0.006742570877075195,
0.006712010860443115,
0.00680449104309082,
0.00679201078414917,
0.006755210876464844,
0.0067761712074279785,
0.006799850940704346,
0.006447850227355957,
0.00653217077255249,
0.006483850002288819,
0.006582090854644776,
0.006722731113433838,
0.006533930778503418,
0.006481289863586426,
0.006620810985565185,
0.00654817008972168,
0.00654049015045166,
0.006537291049957275,
0.006507530212402344,
0.006592811107635498,
0.006370090007781983,
0.006144489765167236,
0.006239369869232177,
0.006233450889587403,
0.006155210018157959,
0.0064448099136352535,
0.006420330047607422,
0.006370410919189453,
0.006031209945678711,
0.006104168891906739,
0.006159689903259278,
0.005986889839172363,
0.005999370098114014,
0.0059892902374267575,
0.005964649200439453,
0.005992809772491455,
0.006017449855804443,
0.006097449779510498,
0.006060329914093018,
0.00632496976852417,
0.006395689964294434,
0.006153930187225342,
0.006362249851226806,
0.006831851005554199,
0.006815371036529541,
0.006761610984802246,
0.006781291007995605,
0.006367370128631592,
0.006104650020599366,
0.006560650825500489,
0.0067987308502197264,
0.006786251068115234,
0.006780810832977295,
0.006706090927124023,
0.006721290111541748,
0.006741290092468262,
0.006793130874633789,
0.006740489959716797,
0.006724330902099609,
0.006762731075286865,
0.006765931129455566,
0.006749451160430908,
0.006771370887756347,
0.006729771137237548,
0.006725290775299072,
0.006757290840148926,
0.006741930961608886,
0.00676145076751709,
0.006753931045532227,
0.006740331172943115,
0.006737451076507569,
0.006756330966949463,
0.0067529711723327635,
0.006730731010437012,
0.006728011131286621,
0.006745770931243896,
0.006735690116882324,
0.006756010055541992,
0.006749129772186279,
0.00675153112411499,
0.006734090805053711,
0.00675153112411499,
0.006779691219329834,
0.006738090991973877,
0.006737771034240722,
0.006778090953826904,
0.0067558507919311525,
0.0067222509384155275,
0.006750730991363525,
0.006741771221160889,
0.0067648100852966304,
0.0067388911247253415,
0.006718091011047363,
0.006711370944976806,
0.0067742509841918945,
0.006762731075286865,
0.006734890937805176,
0.006776010990142823,
0.0067744112014770505,
0.006779370784759521
]
},
"throughput": {
"unit": "samples/s",
"value": 151.5115016626908
},
"energy": null,
"efficiency": null
}
}
}