IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e47c7be verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"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": "674d8c572ada4aac26b730928ac88a3effc914de",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 1015.672832,
"max_global_vram": 938.897408,
"max_process_vram": 239379.480576,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.0056045546531678,
"mean": 0.007081722215867379,
"stdev": 0.0003262723909353376,
"p50": 0.006949574947357178,
"p90": 0.007736500024795532,
"p95": 0.007842947816848755,
"p99": 0.007944399790763855,
"values": [
0.00863180923461914,
0.007947811126708984,
0.007859652042388915,
0.007883811950683594,
0.007939490795135498,
0.007845091819763183,
0.007835651874542236,
0.007868611812591552,
0.00780925178527832,
0.007843331813812256,
0.007813251972198487,
0.007805731773376465,
0.007686851978302002,
0.0069260549545288085,
0.006952935218811035,
0.007021255016326904,
0.006934854984283447,
0.006942214965820312,
0.007044775009155273,
0.006899014949798584,
0.007027975082397461,
0.007015174865722657,
0.007030214786529541,
0.006974854946136475,
0.007126694202423096,
0.006995975017547607,
0.007046215057373047,
0.006960134983062744,
0.0070722951889038085,
0.006959014892578125,
0.006852294921875,
0.0068953361511230465,
0.006904455184936523,
0.006903655052185058,
0.006978215217590332,
0.006871174812316894,
0.006934855937957764,
0.006950214862823486,
0.006937254905700683,
0.006841414928436279,
0.0069186949729919435,
0.006996455192565918,
0.007051654815673828,
0.00693581485748291,
0.00693693494796753,
0.006864295959472656,
0.006921895027160644,
0.006861575126647949,
0.006948615074157715,
0.0069418950080871586,
0.006867976188659668,
0.006949894905090332,
0.006981414794921875,
0.006931815147399902,
0.006939495086669922,
0.006957415103912353,
0.00694397497177124,
0.006931495189666748,
0.006938535213470459,
0.0069337358474731445,
0.006908134937286377,
0.00692157506942749,
0.00706349515914917,
0.007082533836364746,
0.006896454811096192,
0.006956615924835205,
0.0068905348777770995,
0.00698653507232666,
0.006869575023651123,
0.006965575218200684,
0.006859015941619873,
0.00697805404663086,
0.0068929362297058105,
0.006862695217132568,
0.006937735080718994,
0.006901256084442139,
0.00687661600112915,
0.006899014949798584,
0.007018054962158203,
0.006928295135498047,
0.006854215145111084,
0.006992615222930908,
0.006911496162414551,
0.006982055187225342,
0.006914855003356934,
0.006956455230712891,
0.00687853479385376,
0.006987975120544433,
0.006965095043182373,
0.006960935115814209,
0.006933734893798828,
0.006931654930114746,
0.006838856220245361,
0.0068850951194763185,
0.006929894924163818,
0.006869894981384277,
0.006855976104736328,
0.006945254802703857,
0.00682557487487793,
0.0069575757980346676,
0.006868935108184814,
0.006930534839630127,
0.006880935192108154,
0.007835172176361083,
0.007725412845611572,
0.007444612979888916,
0.007607492923736572,
0.007810051918029785,
0.00773773193359375,
0.007427332878112793,
0.007262214183807373,
0.007215494155883789,
0.007315653800964356,
0.007252133846282959,
0.007217894077301026,
0.007148454189300537,
0.007161574840545654,
0.0072241339683532715,
0.007339173793792724,
0.007320613861083985,
0.0071953339576721195,
0.007014054775238037,
0.0071058950424194335,
0.0069492549896240235,
0.006870055198669433,
0.006989095211029053,
0.006986855030059814,
0.006960295200347901,
0.006901414871215821,
0.0068934159278869625,
0.006864934921264648,
0.006962534904479981,
0.006891174793243408,
0.006865254878997803,
0.006841575145721436,
0.006843976020812988,
0.006870055198669433,
0.006837735176086426,
0.006851336002349853,
0.006853415012359619,
0.006883016109466553,
0.006853415012359619
]
},
"throughput": {
"unit": "samples/s",
"value": 141.20858874687147
},
"energy": null,
"efficiency": null
}
}
}