IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
aa42ac5 verified
raw
history blame
10.9 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": "505b3e98eac8c3f1b6ed5342e4f6e5336d513f21",
"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": 1155.97312,
"max_global_vram": 939.098112,
"max_process_vram": 143344.848896,
"max_reserved": 589.299712,
"max_allocated": 439.6928
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9990054402351379,
"mean": 0.0068425030153091634,
"stdev": 0.00043005517840446057,
"p50": 0.006684031963348389,
"p90": 0.007574665069580078,
"p95": 0.007597745180130005,
"p99": 0.00784669601917267,
"values": [
0.007939143180847168,
0.006738992214202881,
0.0066385121345520015,
0.006831470012664795,
0.006797390937805176,
0.006498514175415039,
0.006452592849731445,
0.006490353107452392,
0.0064521141052246095,
0.006539953231811523,
0.006540751934051513,
0.006513873100280762,
0.006503472805023194,
0.006560273170471191,
0.0064761128425598145,
0.006501234054565429,
0.00649979305267334,
0.00654123306274414,
0.0065061931610107425,
0.006491952896118164,
0.006508752822875976,
0.006543793201446533,
0.006503952980041504,
0.0065226731300354005,
0.006496112823486328,
0.00652379322052002,
0.006506992816925049,
0.006524113178253174,
0.00650795316696167,
0.006503792762756347,
0.006506032943725586,
0.006576113224029541,
0.006526672840118408,
0.006507792949676514,
0.0065085930824279785,
0.006473873138427734,
0.006513072967529297,
0.006505393028259278,
0.006468433856964112,
0.006517232894897461,
0.006486672878265381,
0.006475633144378662,
0.006491152763366699,
0.0064809141159057615,
0.006494672775268555,
0.006515152931213379,
0.00647963285446167,
0.0065276331901550294,
0.006480752944946289,
0.006501392841339111,
0.006479633808135986,
0.006476753234863282,
0.006469072818756104,
0.0064828329086303715,
0.00646523380279541,
0.006456273078918457,
0.0064521141052246095,
0.006661712169647217,
0.007000749111175537,
0.007031630039215088,
0.0073452281951904294,
0.007711624145507813,
0.008029062271118164,
0.007648745059967041,
0.0075290660858154295,
0.007577704906463623,
0.007571625232696533,
0.007552425861358642,
0.007690023899078369,
0.007733705043792724,
0.0075989851951599125,
0.007589704990386963,
0.007571146011352539,
0.007567305088043213,
0.007561065196990967,
0.007557866096496582,
0.0075708250999450685,
0.007530345916748047,
0.007559306144714355,
0.00758826494216919,
0.007566024780273437,
0.007561386108398438,
0.007554504871368408,
0.00760570478439331,
0.007589866161346435,
0.007585865020751953,
0.0075940251350402836,
0.007582826137542725,
0.007516105175018311,
0.007544106006622315,
0.0075621848106384275,
0.007552745819091797,
0.0072117881774902345,
0.006819790840148926,
0.006716431140899658,
0.006715311050415039,
0.006708111763000488,
0.006724431037902832,
0.006680592060089112,
0.006749231815338135,
0.0066573920249938965,
0.006744111061096191,
0.006680431842803955,
0.006722510814666748,
0.006686351776123047,
0.006703472137451172,
0.006700750827789307,
0.006698512077331543,
0.006677711963653564,
0.0066836318969726565,
0.0067188310623168945,
0.006692111968994141,
0.0066641120910644535,
0.006683472156524658,
0.00669179105758667,
0.006687312126159668,
0.006648591995239258,
0.006704271793365479,
0.006659471988677978,
0.006712111949920654,
0.00668795108795166,
0.006672592163085938,
0.006658991813659668,
0.006671792030334473,
0.006661392211914062,
0.006724912166595459,
0.0066583528518676756,
0.006708271980285644,
0.006679632186889648,
0.006684432029724121,
0.00664683198928833,
0.006741391181945801,
0.006701072216033935,
0.006707791805267334,
0.006706352233886719,
0.0066885919570922854,
0.0066778712272644045,
0.006713390827178955,
0.006720111846923828,
0.006715950965881348,
0.006707791805267334,
0.006722991943359375,
0.006676431179046631,
0.0069716300964355465,
0.006670671939849854,
0.006717551231384278
]
},
"throughput": {
"unit": "samples/s",
"value": 146.14535028521536
},
"energy": null,
"efficiency": null
}
}
}