IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
ec9732e verified
raw
history blame
11.5 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_type": "vit",
"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": {},
"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.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.3.1",
"optimum_benchmark_commit": "7ced484c6c538274314e9bbd7dcb0b3e27a51bd6",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.33.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.78528,
"max_global_vram": 1522.60608,
"max_process_vram": 45232.218112,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.344986328125,
"mean": 7.344986328125,
"stdev": 0.0,
"p50": 7.344986328125,
"p90": 7.344986328125,
"p95": 7.344986328125,
"p99": 7.344986328125,
"values": [
7.344986328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1069.248512,
"max_global_vram": 1610.932224,
"max_process_vram": 174629.670912,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9975404200553891,
"mean": 0.0070747547521658825,
"stdev": 0.00021831172958841223,
"p50": 0.007022568225860596,
"p90": 0.00727296781539917,
"p95": 0.007459847927093506,
"p99": 0.007568776035308838,
"values": [
0.007201767921447754,
0.007190247058868408,
0.007520808219909668,
0.007547848224639893,
0.007534247875213623,
0.007471687793731689,
0.007459847927093506,
0.007432968139648438,
0.00739520788192749,
0.00732800817489624,
0.007216967105865478,
0.007209446907043457,
0.007238247871398926,
0.007152647972106934,
0.007083207130432129,
0.007088327884674072,
0.007103047847747803,
0.007057927131652832,
0.007035048007965088,
0.007074886798858642,
0.007109767913818359,
0.007120808124542236,
0.0070473670959472655,
0.006995368003845215,
0.0069691271781921384,
0.006995368003845215,
0.007176648139953614,
0.00710448694229126,
0.007175687789916992,
0.007232808113098145,
0.007230727195739746,
0.007184967041015625,
0.0071846480369567875,
0.007136007785797119,
0.007085766792297363,
0.007096487998962403,
0.007033446788787842,
0.007056006908416748,
0.0070569682121276855,
0.007191367149353027,
0.007079367160797119,
0.007127048015594483,
0.0071473679542541505,
0.007429768085479736,
0.007547848224639893,
0.007582727909088135,
0.007429927825927734,
0.007271048069000244,
0.007189126968383789,
0.007125288009643555,
0.007156167984008789,
0.007149607181549072,
0.007167366981506348,
0.007094247817993164,
0.007040647029876709,
0.007122087955474854,
0.0070476880073547365,
0.007076966762542725,
0.007018248081207276,
0.006966247081756592,
0.0069841680526733394,
0.007021767139434814,
0.006940167903900146,
0.007114087104797363,
0.0073262472152709965,
0.007257768154144287,
0.007258408069610596,
0.0072488079071044926,
0.00715744686126709,
0.007264007091522217,
0.00727296781539917,
0.007153448104858399,
0.007025607109069824,
0.006957448005676269,
0.00690736722946167,
0.006905128002166748,
0.008678568840026855,
0.006954247951507568,
0.006900647163391113,
0.006884966850280762,
0.006923528194427491,
0.006920647144317627,
0.006865608215332031,
0.0069091272354125976,
0.006912326812744141,
0.006900806903839111,
0.006886567115783691,
0.006900167942047119,
0.0068806471824646,
0.006954247951507568,
0.0069457669258117674,
0.0069504079818725585,
0.006933927059173584,
0.006962886810302734,
0.006902407169342041,
0.006871527194976807,
0.006927847862243652,
0.006948007106781006,
0.006907368183135986,
0.006911847114562988,
0.007024487972259521,
0.007207207202911377,
0.007022568225860596,
0.007044647216796875,
0.006849126815795898,
0.006917768001556397,
0.0070161671638488765,
0.007060328006744385,
0.006991527080535889,
0.006948808193206787,
0.006886887073516846,
0.006899046897888184,
0.006923047065734864,
0.006933287143707275,
0.006963687896728516,
0.006916807174682617,
0.006970248222351074,
0.00695216703414917,
0.006924488067626953,
0.006924006938934326,
0.00691536808013916,
0.006967367172241211,
0.0068905668258666996,
0.006930246829986573,
0.006907846927642822,
0.006867047786712647,
0.006908007144927978,
0.006888967990875244,
0.006909926891326904,
0.006874086856842041,
0.0068916878700256345,
0.006888647079467774,
0.006897768020629883,
0.006887846946716308,
0.006886086940765381,
0.00701280689239502,
0.006985447883605957,
0.006957767009735108,
0.006936166763305664,
0.007005608081817627,
0.006930885791778564
]
},
"throughput": {
"unit": "samples/s",
"value": 141.34765585956993
},
"energy": null,
"efficiency": null
}
}
}