IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
0e28f28 verified
raw
history blame
11.2 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.3.1",
"optimum_benchmark_commit": "2c8ab57de1af767ec2e6a2cf774f52cea6a0db26",
"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.122048,
"max_global_vram": 777.719808,
"max_process_vram": 165611.552768,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9974662504196165,
"mean": 0.006477053574153355,
"stdev": 0.00036159297632931345,
"p50": 0.00628033447265625,
"p90": 0.0069850400447845455,
"p95": 0.00705985586643219,
"p99": 0.007530967416763305,
"values": [
0.007972017765045166,
0.007090896129608154,
0.007020336151123047,
0.007058735847473145,
0.0070619359016418455,
0.006985136032104492,
0.006980495929718018,
0.006996974945068359,
0.006996015071868897,
0.006943534851074218,
0.0069640159606933595,
0.007263856887817383,
0.006973615169525146,
0.006964815139770508,
0.007000336170196533,
0.0070993762016296385,
0.007010416030883789,
0.007064015865325928,
0.0070556960105896,
0.006286415100097656,
0.0064272141456604,
0.0063190550804138185,
0.0063187341690063474,
0.006503695011138916,
0.006297934055328369,
0.006284493923187256,
0.006288174152374267,
0.006271214008331299,
0.006290733814239502,
0.0062761750221252445,
0.006473453998565673,
0.006236814975738526,
0.0062171339988708494,
0.006207213878631592,
0.006236013889312744,
0.006204174041748047,
0.006188653945922852,
0.0061484937667846675,
0.006198413848876953,
0.006174094200134277,
0.006079692840576172,
0.006182253837585449,
0.00618545389175415,
0.006169134140014648,
0.006170894145965576,
0.006160493850708008,
0.006202573776245117,
0.006211214065551758,
0.006158574104309082,
0.006162893772125244,
0.006141454219818115,
0.00650017499923706,
0.007075535774230957,
0.006888175010681152,
0.0069377760887146,
0.006984816074371338,
0.006759214878082276,
0.006172173976898193,
0.006202094078063965,
0.006141932964324951,
0.0061908941268920895,
0.006123532772064209,
0.006169933795928955,
0.006158573150634766,
0.006183213233947754,
0.006181293964385986,
0.006163373947143554,
0.006208494186401368,
0.006216814041137695,
0.006186093807220459,
0.006184654235839844,
0.006184494018554688,
0.006186893939971924,
0.00624657392501831,
0.006246094226837158,
0.006261454105377197,
0.006184654235839844,
0.006186254024505615,
0.006166574001312256,
0.006159853935241699,
0.0061864137649536135,
0.0061484937667846675,
0.006201454162597656,
0.006444174766540528,
0.006157773971557617,
0.006141933917999267,
0.0061908941268920895,
0.006207694053649902,
0.006250574111938477,
0.006167054176330566,
0.006638255119323731,
0.0069409761428833,
0.006924015998840332,
0.00695105504989624,
0.006950735092163086,
0.006846415996551514,
0.006767855167388916,
0.006646735191345215,
0.006697296142578125,
0.006734574794769287,
0.006642895221710205,
0.006777615070343018,
0.006787216186523438,
0.006598734855651855,
0.006590575218200684,
0.006786095142364502,
0.00783217716217041,
0.006936816215515137,
0.006914735794067383,
0.006876814842224121,
0.006926734924316406,
0.006888656139373779,
0.006687695026397705,
0.0065323348045349125,
0.006635694980621338,
0.006742734909057618,
0.00670033597946167,
0.006515694141387939,
0.006693935871124267,
0.006687214851379394,
0.006632494926452637,
0.006556015014648437,
0.006466255187988281,
0.006373774051666259,
0.006232014179229736,
0.006202253818511963,
0.0062425751686096195,
0.006211853981018066,
0.006206893920898437,
0.006171534061431885,
0.006227374076843262,
0.0062446541786193846,
0.006214893817901611,
0.006216653823852539,
0.006250093936920166,
0.006212334156036377,
0.006181454181671143,
0.006522254943847656,
0.006207694053649902,
0.0061852941513061525,
0.0065153751373291015,
0.006192173957824707,
0.006217934131622314,
0.006193933963775634,
0.006392175197601318,
0.0061644940376281735,
0.006222894191741943,
0.006366414070129394,
0.006309773921966553,
0.006563054084777832,
0.00618897294998169,
0.006238254070281982,
0.006367854118347168,
0.006198732852935791
]
},
"throughput": {
"unit": "samples/s",
"value": 154.39118860935383
},
"energy": null,
"efficiency": null
}
}
}