IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
8f195bb 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",
"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": "079be6729111d58c45eb7f4a60e984bbf86c5a81",
"transformers_version": "4.41.0",
"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.237312,
"max_global_vram": 1758.076928,
"max_process_vram": 170724.757504,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9968673233985905,
"mean": 0.006601770353633047,
"stdev": 0.0002739961602494777,
"p50": 0.0065558462142944335,
"p90": 0.006613286018371582,
"p95": 0.00666360592842102,
"p99": 0.007868167400360108,
"values": [
0.009338727951049805,
0.007896327972412109,
0.007840006828308106,
0.00701056718826294,
0.00663792610168457,
0.00654240608215332,
0.006585926055908203,
0.006546885967254639,
0.006529285907745362,
0.006566726207733155,
0.006539525985717773,
0.006850726127624511,
0.006542245864868164,
0.00656864595413208,
0.006538886070251465,
0.006568646907806396,
0.006564325809478759,
0.006573286056518555,
0.006682566165924072,
0.006677765846252442,
0.00660880708694458,
0.0066040058135986325,
0.006552326202392578,
0.0065464057922363286,
0.006580006122589111,
0.006547686100006104,
0.006565125942230224,
0.0066019268035888675,
0.006558085918426514,
0.006564325809478759,
0.006613286018371582,
0.006600485801696777,
0.006556965827941894,
0.00659024715423584,
0.006572006225585937,
0.006572646141052246,
0.006583206176757813,
0.006560165882110596,
0.006549446105957031,
0.006549605846405029,
0.006570886135101319,
0.006552165985107422,
0.006585445880889893,
0.006545926094055176,
0.0065348858833312986,
0.0065372858047485355,
0.006732007026672363,
0.006626406192779541,
0.00655056619644165,
0.0065558462142944335,
0.006563685894012451,
0.006532166004180908,
0.006536486148834228,
0.006557765960693359,
0.006566565990447998,
0.006547366142272949,
0.006546085834503174,
0.006551206111907959,
0.0065484862327575685,
0.006571685791015625,
0.006557766914367676,
0.0065558462142944335,
0.00655280590057373,
0.0065465660095214845,
0.006577285766601562,
0.006544005870819092,
0.006544166088104248,
0.006565607070922851,
0.006550405979156494,
0.0065416059494018556,
0.006547686100006104,
0.006524965763092041,
0.006544166088104248,
0.006537765979766846,
0.0065392060279846195,
0.006582246780395508,
0.006562886238098145,
0.006538725852966308,
0.0065324859619140625,
0.0065416059494018556,
0.006548806190490723,
0.006562886238098145,
0.006550405979156494,
0.006561767101287841,
0.006556166172027588,
0.00654576587677002,
0.006552646160125733,
0.006535205841064453,
0.006524325847625733,
0.0065446457862854005,
0.00654192590713501,
0.006508327007293701,
0.006535046100616455,
0.006529446125030518,
0.006537605762481689,
0.006526885986328125,
0.0065062460899353025,
0.0065446457862854005,
0.006519206047058105,
0.006524645805358887,
0.00654624605178833,
0.006535686016082763,
0.0065251259803771975,
0.006558085918426514,
0.006524325847625733,
0.00651568603515625,
0.006564805984497071,
0.006542726039886475,
0.006522727012634277,
0.006600646018981934,
0.00654192590713501,
0.006591526031494141,
0.0065612859725952145,
0.00658496618270874,
0.0065606460571289065,
0.006590726852416992,
0.006536645889282227,
0.006567205905914307,
0.0065680060386657715,
0.006532166004180908,
0.006563365936279297,
0.0065752058029174805,
0.006527367115020752,
0.0065680060386657715,
0.00658064603805542,
0.006556166172027588,
0.006564166069030762,
0.006613286018371582,
0.00658064603805542,
0.0066321659088134765,
0.0065819258689880375,
0.0065678458213806155,
0.006595526218414307,
0.006554726123809814,
0.006583846092224121,
0.006647046089172363,
0.006633285999298096,
0.006571206092834472,
0.006559045791625977,
0.0065520057678222655,
0.006542726039886475,
0.006533445835113526,
0.006525926113128662,
0.006542885780334472,
0.0065372858047485355,
0.006528485774993897,
0.006549925804138184,
0.006530886173248291,
0.00651408576965332,
0.006598085880279541,
0.006649446010589599
]
},
"throughput": {
"unit": "samples/s",
"value": 151.4745206866649
},
"energy": null,
"efficiency": null
}
}
}