IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
7807cdd verified
raw
history blame
10.8 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",
"numactl": false,
"numactl_kwargs": {},
"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": "3731aa19b0b76022fb42f78436721c579f50c777",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1061.142528,
"max_global_vram": 778.252288,
"max_process_vram": 168812.990464,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9972283978462215,
"mean": 0.006877437226525669,
"stdev": 0.0003457387329317375,
"p50": 0.006977732181549072,
"p90": 0.007214434432983398,
"p95": 0.007298338127136231,
"p99": 0.007525569400787354,
"values": [
0.007005091190338135,
0.007127810955047607,
0.007151169776916504,
0.007269250869750977,
0.0073263697624206545,
0.007218370914459229,
0.00725452995300293,
0.007299970149993897,
0.007332769870758057,
0.007231329917907715,
0.007184450149536133,
0.00753964900970459,
0.007135651111602783,
0.007107651233673096,
0.007072610855102539,
0.007049410820007324,
0.007079970836639404,
0.007029090881347656,
0.0071158108711242675,
0.007111491203308106,
0.0071935710906982425,
0.007145249843597412,
0.007091011047363281,
0.007102210998535156,
0.007110850811004639,
0.0071742100715637205,
0.007507649898529053,
0.007468130111694336,
0.007291810035705566,
0.0072146902084350584,
0.007195970058441162,
0.007313250064849853,
0.0072247710227966305,
0.007214050769805908,
0.007143170833587647,
0.007162530899047851,
0.007160130977630615,
0.007052451133728027,
0.0069898910522460935,
0.006944771766662598,
0.006959011077880859,
0.006974212169647217,
0.006969252109527588,
0.00700269079208374,
0.007033411026000976,
0.007007330894470215,
0.007026691913604736,
0.007034212112426758,
0.007018371105194092,
0.007027650833129883,
0.00700477123260498,
0.007002531051635742,
0.006977732181549072,
0.006953890800476074,
0.007017570972442627,
0.006982691764831543,
0.00700269079208374,
0.006986210823059082,
0.00681469202041626,
0.006622693061828613,
0.006883491992950439,
0.006606692790985107,
0.00695789098739624,
0.006983490943908691,
0.006945891857147217,
0.0069593310356140135,
0.006983972072601318,
0.006791653156280518,
0.006927811145782471,
0.006578853130340576,
0.00680045223236084,
0.0062551751136779785,
0.006198373794555664,
0.006185894966125489,
0.0064409332275390625,
0.006231494903564453,
0.006470212936401367,
0.0062270150184631345,
0.006194055080413818,
0.0062006149291992186,
0.006221253871917725,
0.006234535217285156,
0.006246534824371338,
0.006230373859405517,
0.006221895217895508,
0.006202213764190674,
0.006221895217895508,
0.0062174139022827144,
0.0062410950660705565,
0.0062716550827026365,
0.006519813060760498,
0.006481412887573242,
0.006195334911346435,
0.006229733943939209,
0.006256295204162598,
0.006470693111419678,
0.006484612941741943,
0.00656861400604248,
0.0067326130867004395,
0.006854691982269287,
0.006766851902008057,
0.0067676520347595215,
0.007005091190338135,
0.00673917293548584,
0.006974051952362061,
0.00667421293258667,
0.008126526832580567,
0.007023331165313721,
0.007034211158752441,
0.00696717119216919,
0.0070073318481445315,
0.006951011180877685,
0.0069700517654418944,
0.006992611885070801,
0.006994050979614258,
0.006981250762939453,
0.006989091873168945,
0.0070094108581542965,
0.007005091190338135,
0.007009730815887451,
0.006946372032165527,
0.006961091041564942,
0.006947651863098144,
0.006997570991516113,
0.006947970867156982,
0.006927971839904785,
0.006988611221313477,
0.006966372013092041,
0.006980132102966308,
0.006960930824279785,
0.006964451789855957,
0.006995010852813721,
0.0069788508415222165,
0.007005732059478759,
0.006842691898345948,
0.006916292190551758,
0.006297093868255615,
0.00683709192276001,
0.006908771991729737,
0.006470212936401367,
0.0069316520690917965,
0.006903971195220947,
0.0067001328468322754,
0.006715012073516846,
0.006461733818054199
]
},
"throughput": {
"unit": "samples/s",
"value": 145.40299926593124
},
"energy": null,
"efficiency": null
}
}
}