IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fd21dca verified
raw
history blame
11.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": {},
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "8d3ce5d99bc670ee9136c4d65ae8c25ef9d8beae",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.465792,
"max_global_vram": 875.331584,
"max_process_vram": 42926.841856,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.734189453125,
"mean": 6.734189453125,
"stdev": 0.0,
"p50": 6.734189453125,
"p90": 6.734189453125,
"p95": 6.734189453125,
"p99": 6.734189453125,
"values": [
6.734189453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.228736,
"max_global_vram": 938.868736,
"max_process_vram": 223394.758656,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 150,
"total": 1.0048853030204774,
"mean": 0.006699235353469849,
"stdev": 0.000904407446068751,
"p50": 0.006559710025787353,
"p90": 0.006810702753067017,
"p95": 0.006849822974205016,
"p99": 0.008049983611106867,
"values": [
0.006883070945739746,
0.006750750064849854,
0.006861630916595459,
0.006924351215362549,
0.006884030818939209,
0.007701795101165771,
0.006755070209503174,
0.006819070816040039,
0.0067464299201965335,
0.006716829776763916,
0.0066254701614379885,
0.00662706995010376,
0.006596028804779053,
0.006571229934692383,
0.006512508869171142,
0.006618269920349121,
0.006496028900146484,
0.006509149074554443,
0.006492669105529785,
0.006593629837036132,
0.006581149101257324,
0.008384517669677734,
0.007074592113494873,
0.006666749954223633,
0.00672258996963501,
0.006835391044616699,
0.006785950183868408,
0.006820510864257812,
0.0068174700736999515,
0.006831390857696533,
0.006805469989776611,
0.006827710151672363,
0.006800031185150147,
0.006809950828552246,
0.006785470008850098,
0.006808831214904785,
0.006764190196990967,
0.006681789875030517,
0.006647069931030273,
0.006702909946441651,
0.006680190086364746,
0.0065822691917419435,
0.0065240287780761715,
0.0066473898887634275,
0.006533309936523437,
0.006655229091644287,
0.006565629959106445,
0.006556669235229492,
0.006560190200805664,
0.006565148830413818,
0.006576509952545166,
0.006541948795318603,
0.006459068775177002,
0.006520988941192627,
0.00649138879776001,
0.0065385899543762204,
0.006520988941192627,
0.006509628772735596,
0.006491068840026855,
0.006559229850769043,
0.017441837310791016,
0.006762750148773193,
0.006528029918670655,
0.006584828853607178,
0.006499868869781494,
0.006547070026397705,
0.006582909107208252,
0.006542909145355225,
0.006498908996582032,
0.006564508914947509,
0.0065240287780761715,
0.006566269874572754,
0.006556189060211182,
0.00653810977935791,
0.006520349025726319,
0.006573789119720459,
0.0065349102020263675,
0.006566908836364746,
0.00649570894241333,
0.0065405101776123045,
0.006537309169769287,
0.006576828956604004,
0.006550270080566406,
0.006532508850097657,
0.006525148868560791,
0.0065625901222229,
0.0065161890983581544,
0.006664509773254394,
0.006549949169158935,
0.006584350109100342,
0.0065069088935852054,
0.006553469181060791,
0.006525469779968262,
0.006541469097137451,
0.006527548789978028,
0.006530909061431884,
0.006524828910827637,
0.0065569901466369625,
0.006505148887634277,
0.006524349212646484,
0.006510748863220215,
0.006600029945373535,
0.006504028797149658,
0.006511388778686523,
0.006553790092468262,
0.006534109115600586,
0.006543708801269531,
0.006830591201782227,
0.006766109943389892,
0.006803390979766846,
0.006733630180358887,
0.0066187500953674315,
0.006589309215545654,
0.00670163106918335,
0.006553308963775635,
0.006784029960632324,
0.00676275110244751,
0.006795070171356201,
0.006744190216064453,
0.006746750831604004,
0.006703549861907959,
0.006629629135131836,
0.0067776298522949216,
0.006706429958343506,
0.006585149765014648,
0.006576669216156006,
0.0064787487983703615,
0.006528509140014648,
0.006487069129943848,
0.006530270099639892,
0.006486268997192382,
0.006496668815612793,
0.006506749153137207,
0.006520988941192627,
0.00649330997467041,
0.006520029067993164,
0.006517148971557617,
0.006518749237060547,
0.00645314884185791,
0.006489469051361084,
0.006472989082336426,
0.00649875020980835,
0.006488988876342774,
0.006508668899536133,
0.006516028881072998,
0.006513789176940918,
0.006460188865661621,
0.006507227897644043,
0.0064561891555786136,
0.0064835500717163085
]
},
"throughput": {
"unit": "samples/s",
"value": 149.27076707076023
},
"energy": null,
"efficiency": null
}
}
}