IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
9af1c0f verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1095.524352,
"max_global_vram": 68702.69952,
"max_process_vram": 5231.996928,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"values": [
0.10834670257568359
],
"count": 1,
"total": 0.10834670257568359,
"mean": 0.10834670257568359,
"p50": 0.10834670257568359,
"p90": 0.10834670257568359,
"p95": 0.10834670257568359,
"p99": 0.10834670257568359,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1268.109312,
"max_global_vram": 68702.69952,
"max_process_vram": 178914.492416,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"values": [
0.006562888145446777,
0.006366407871246338,
0.006392168045043945,
0.0063990488052368165,
0.006444007873535156,
0.006436647891998291,
0.006375847816467285,
0.0063841681480407714,
0.006381127834320068,
0.006425288200378418,
0.006397128105163574,
0.006398088932037353,
0.0063724880218505855,
0.006403687953948974,
0.006438568115234375,
0.006685288906097412,
0.006763369083404541,
0.006594247817993164,
0.006392807960510254,
0.0063489689826965335,
0.0063915281295776364,
0.006391047954559326,
0.006403048038482666,
0.006403688907623291,
0.0064195280075073245,
0.0064152078628540036,
0.006440487861633301,
0.0063966488838195805,
0.00644320821762085,
0.006436808109283447,
0.006458088874816894,
0.0063822479248046874,
0.0064556879997253415,
0.006427688121795654,
0.006382888793945313,
0.00645360803604126,
0.006437287807464599,
0.0064720091819763185,
0.006389768123626709,
0.006442088127136231,
0.006418568134307861,
0.00640880823135376,
0.006422887802124024,
0.006437287807464599,
0.0064584088325500486,
0.006426248073577881,
0.0064097681045532226,
0.0064312081336975096,
0.006438088893890381,
0.006383528232574463,
0.006435368061065674,
0.006460488796234131,
0.006415527820587158,
0.00639952802658081,
0.006413127899169922,
0.006426249027252197,
0.006438248157501221,
0.006417768001556396,
0.00643344783782959,
0.006435048103332519,
0.006470568180084228,
0.006451367855072021,
0.006478249073028564,
0.0064622478485107425,
0.006456488132476806,
0.006428168773651123,
0.006443048000335693,
0.006412487983703613,
0.006427689075469971,
0.006429927825927734,
0.0064550480842590335,
0.006497288227081299,
0.006471848011016846,
0.00642960786819458,
0.006473127841949463,
0.006401288986206055,
0.006399367809295654,
0.006402408123016358,
0.006736808776855468,
0.007118729114532471,
0.00737568998336792,
0.007145288944244385,
0.006973769187927246,
0.006793767929077149,
0.00688320779800415,
0.006757288932800293,
0.006619208812713623,
0.006851687908172608,
0.006781768798828125,
0.006644009113311767,
0.006926729202270508,
0.0073208088874816895,
0.007365769863128662,
0.007203208923339844,
0.00729072904586792,
0.007160970211029053,
0.007303208827972412,
0.007072649002075195,
0.006771368980407715,
0.006631688117980957,
0.006501608848571777,
0.006505608081817627,
0.006512648105621338,
0.0065406479835510255,
0.0063932881355285645,
0.0063987278938293455,
0.00640720796585083,
0.006411208152770996,
0.00643776798248291,
0.006407689094543457,
0.006400487899780274,
0.006444007873535156,
0.006380328178405762,
0.0064009690284729005,
0.006391047954559326,
0.006376167774200439,
0.006402408123016358,
0.006407208919525146,
0.006410727977752686,
0.00636192798614502,
0.0066291289329528805,
0.006567048072814941,
0.006370567798614502,
0.006402567863464355,
0.006407369136810303,
0.006412168025970459,
0.0063990478515625,
0.006332968235015869,
0.0063825688362121585,
0.0063534479141235355,
0.006357287883758545,
0.006332808017730713,
0.006347688198089599,
0.006356808185577392,
0.006367208003997803,
0.006352807998657227,
0.006393608093261719,
0.006353767871856689,
0.006367368221282959,
0.006360648155212402,
0.0063891282081604,
0.0063540878295898435,
0.0063675279617309575,
0.006398408889770508,
0.0063553681373596195,
0.006385767936706543,
0.006391848087310791,
0.006416808128356934,
0.006406087875366211,
0.006589286804199219,
0.006385128021240235,
0.006358569145202637,
0.00636848783493042
],
"count": 153,
"total": 0.995138069629669,
"mean": 0.0065041703897364,
"p50": 0.006418568134307861,
"p90": 0.006779688835144043,
"p95": 0.007129353046417237,
"p99": 0.007342390155792236,
"stdev": 0.0002273759754877686,
"stdev_": 3.4958489993830497
},
"throughput": {
"unit": "samples/s",
"value": 153.74750968670853
},
"energy": null,
"efficiency": null
}
}
}