IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
881ef51 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": "6",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1096.200192,
"max_global_vram": 68702.69952,
"max_process_vram": 5599.47776,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.12178852081298829
],
"count": 1,
"total": 0.12178852081298829,
"mean": 0.12178852081298829,
"p50": 0.12178852081298829,
"p90": 0.12178852081298829,
"p95": 0.12178852081298829,
"p99": 0.12178852081298829,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1268.34688,
"max_global_vram": 68702.69952,
"max_process_vram": 161594.753024,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"values": [
0.006721130847930908,
0.006264170169830322,
0.006145451068878174,
0.006073450088500977,
0.006067850112915039,
0.00605424976348877,
0.00603233003616333,
0.006040969848632813,
0.006058730125427246,
0.006639531135559082,
0.006283850193023682,
0.006016489982604981,
0.006295529842376709,
0.0060300898551940915,
0.006024330139160156,
0.006018730163574218,
0.0060368099212646485,
0.006085929870605469,
0.006066249847412109,
0.006051209926605225,
0.006069290161132813,
0.00614640998840332,
0.006044808864593506,
0.006092810153961182,
0.006063849925994873,
0.0060699300765991214,
0.006053609848022461,
0.006085130214691162,
0.006068170070648193,
0.006103370189666748,
0.0061316900253295895,
0.006061769962310791,
0.006089769840240479,
0.006069769859313965,
0.0061004900932312015,
0.006087210178375244,
0.006133930206298828,
0.006093289852142334,
0.00610545015335083,
0.006084169864654541,
0.00610000991821289,
0.006053130149841309,
0.006662890911102295,
0.006181610107421875,
0.0060816102027893065,
0.006100810050964355,
0.00606721019744873,
0.00610545015335083,
0.006069129943847657,
0.006115530014038086,
0.006098730087280273,
0.006066569805145264,
0.0060992097854614255,
0.006066249847412109,
0.006069610118865967,
0.00607489013671875,
0.006057290077209473,
0.006071050167083741,
0.006093130111694336,
0.006148489952087402,
0.006900650978088379,
0.006898412227630615,
0.006877770900726318,
0.006900331974029541,
0.00657440996170044,
0.0063481698036193844,
0.0064537711143493656,
0.006307050228118897,
0.006446731090545654,
0.006429450035095215,
0.006462570190429688,
0.006533131122589111,
0.006389610767364502,
0.006377449989318848,
0.006643210887908936,
0.006438090801239014,
0.006611530780792236,
0.0065132899284362795,
0.006620649814605713,
0.006832332134246826,
0.0070520110130310055,
0.00687905216217041,
0.006849610805511474,
0.006854570865631103,
0.0068603320121765135,
0.006835851192474365,
0.0068145709037780765,
0.0068345718383789065,
0.006830090999603271,
0.006796650886535645,
0.006810251235961914,
0.006863851070404053,
0.006863851070404053,
0.0068584117889404295,
0.006826731204986572,
0.006884171009063721,
0.006848971843719482,
0.006810730934143067,
0.006799850940704346,
0.006863690853118896,
0.0068379311561584475,
0.0068006510734558104,
0.0066726508140563965,
0.006228489875793457,
0.006224649906158447,
0.006237450122833252,
0.006058730125427246,
0.0060649700164794925,
0.006048970222473145,
0.006041450023651123,
0.006039690017700195,
0.006223209857940674,
0.006067689895629883,
0.006064809799194336,
0.006047049045562744,
0.00604672908782959,
0.0060560088157653805,
0.0060644888877868655,
0.006074409961700439,
0.006057769775390625,
0.006037769794464111,
0.00606128978729248,
0.006060490131378174,
0.006047689914703369,
0.006051370143890381,
0.0060417699813842774,
0.006060649871826172,
0.006072010040283203,
0.006119369983673096,
0.006082890033721924,
0.00622560977935791,
0.006009610176086426,
0.006388970851898193,
0.0063265700340271,
0.0061292901039123535,
0.006186409950256348,
0.006193130970001221,
0.006225769996643067,
0.006056650161743164,
0.006429770946502686,
0.006231850147247315,
0.0062344098091125484,
0.006339691162109375,
0.0062876901626586915,
0.006387210845947265,
0.00627584981918335,
0.006413131237030029,
0.0062411298751831054,
0.006009129047393799,
0.006061130046844483,
0.006007369995117188,
0.0060363302230834965,
0.006028170108795166,
0.006056169986724854,
0.006017129898071289,
0.006059209823608399,
0.005999690055847168,
0.00602800989151001
],
"count": 158,
"total": 0.993219226837159,
"mean": 0.006286197638209862,
"p50": 0.006104410171508789,
"p90": 0.00683647518157959,
"p95": 0.006863851070404053,
"p99": 0.006900469145774841,
"stdev": 0.0003038454501656998,
"stdev_": 4.833533204855244
},
"throughput": {
"unit": "samples/s",
"value": 159.0786764198481
},
"energy": null,
"efficiency": null
}
}
}