IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
911c6ef verified
raw
history blame
11.1 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": "1ba65d84c92c93ea19ab2d2293c92bced987bae2",
"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": 1060.626432,
"max_global_vram": 1758.810112,
"max_process_vram": 174760.308736,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9951326084136961,
"mean": 0.006461900054634392,
"stdev": 0.0003450385219269076,
"p50": 0.0066079370975494385,
"p90": 0.0067520490169525145,
"p95": 0.0067693613052368165,
"p99": 0.006860424036979675,
"values": [
0.006477456092834472,
0.006094096183776855,
0.005800654888153076,
0.005796975135803223,
0.005822254180908203,
0.005821615219116211,
0.006041135787963867,
0.005839535236358643,
0.00583969497680664,
0.0058489742279052735,
0.005852974891662597,
0.005822575092315674,
0.006047056198120117,
0.005795854091644287,
0.005814894199371338,
0.005803854942321778,
0.005800014972686768,
0.0057931351661682125,
0.005780653953552246,
0.0057808151245117186,
0.005773614883422851,
0.005791375160217285,
0.005794253826141358,
0.0060156950950622555,
0.005795054912567139,
0.005788973808288574,
0.005793614864349365,
0.005765454769134521,
0.00579009485244751,
0.005801613807678223,
0.005799533843994141,
0.005794575214385986,
0.00611681604385376,
0.006001134872436523,
0.005807535171508789,
0.005827215194702149,
0.006634097099304199,
0.006564496040344238,
0.006581137180328369,
0.006546257019042968,
0.006370737075805664,
0.006273935794830323,
0.006462575912475586,
0.0066000170707702635,
0.006640817165374756,
0.006624016761779785,
0.006567216873168945,
0.006618416786193847,
0.006623695850372315,
0.006571055889129639,
0.006608497142791748,
0.006591376781463623,
0.006579377174377441,
0.006622097015380859,
0.006629776954650879,
0.0065726561546325685,
0.006584496974945069,
0.006579216957092285,
0.006600817203521728,
0.006581616878509521,
0.006576015949249268,
0.006619535923004151,
0.006615537166595459,
0.006619856834411621,
0.006617297172546386,
0.006621936798095703,
0.006608497142791748,
0.006637937068939209,
0.0066017770767211915,
0.006662096977233887,
0.006751377105712891,
0.006694416999816894,
0.006660017013549804,
0.006631377220153808,
0.006599057197570801,
0.006580656051635742,
0.006594255924224853,
0.006604657173156738,
0.0066091370582580565,
0.006754416942596436,
0.006867378234863281,
0.006894257068634033,
0.0068244972229003905,
0.00677713680267334,
0.006771858215332031,
0.0067161769866943355,
0.006720177173614502,
0.006670257091522217,
0.006768016815185547,
0.006766417026519775,
0.006755218029022216,
0.006761137008666992,
0.006715376853942871,
0.006738576889038086,
0.006741296768188476,
0.006760016918182373,
0.006757616996765137,
0.00672801685333252,
0.006680497169494629,
0.006600817203521728,
0.006601457118988037,
0.006607377052307129,
0.006625136852264404,
0.006599055767059326,
0.006595857143402099,
0.006552815914154053,
0.006562895774841308,
0.006596656799316406,
0.006562256813049316,
0.006585617065429688,
0.006800817012786865,
0.006854257106781006,
0.006786736965179443,
0.006669617176055908,
0.006690257072448731,
0.00668593692779541,
0.0066780967712402346,
0.006686097145080567,
0.006691377162933349,
0.006661777019500732,
0.006674897193908691,
0.0066849770545959475,
0.006686576843261719,
0.00664497709274292,
0.006677456855773926,
0.006633137226104736,
0.006620497226715088,
0.006637617111206055,
0.006703217029571534,
0.006752336978912353,
0.0066995368003845215,
0.0066800169944763186,
0.006667696952819825,
0.006674097061157226,
0.006657136917114258,
0.006552495956420898,
0.0066232171058654785,
0.006625617027282715,
0.006582097053527832,
0.006585456848144531,
0.0066140971183776855,
0.006581136226654053,
0.006619376182556152,
0.0066188969612121585,
0.006609296798706055,
0.006641777038574219,
0.006653936862945556,
0.006593457221984863,
0.006619057178497314,
0.006602897167205811,
0.006574896812438965,
0.00663585615158081,
0.006599696159362793,
0.006577295780181885
]
},
"throughput": {
"unit": "samples/s",
"value": 154.75324464091838
},
"energy": null,
"efficiency": null
}
}
}