IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
884c0e0 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "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": 2,
"sequence_length": 16,
"num_choices": 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.490624,
"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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1098.350592,
"max_global_vram": 68702.69952,
"max_process_vram": 4843.835392,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.09367850494384766
],
"count": 1,
"total": 0.09367850494384766,
"mean": 0.09367850494384766,
"p50": 0.09367850494384766,
"p90": 0.09367850494384766,
"p95": 0.09367850494384766,
"p99": 0.09367850494384766,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1222.238208,
"max_global_vram": 68702.69952,
"max_process_vram": 234703.187968,
"max_reserved": 589.299712,
"max_allocated": 443.303936
},
"latency": {
"unit": "s",
"values": [
0.0077805018424987795,
0.0075030608177185055,
0.007964023113250732,
0.007965622901916504,
0.00792178201675415,
0.007984502792358399,
0.0079046630859375,
0.007907221794128418,
0.007905303001403808,
0.007858421802520752,
0.007868342876434327,
0.007868981838226319,
0.007786423206329346,
0.007419540882110596,
0.007475060939788818,
0.007448501110076904,
0.007847383022308349,
0.007867541790008545,
0.007905463218688964,
0.007903061866760253,
0.00746002197265625,
0.00760626220703125,
0.00745858097076416,
0.007452180862426758,
0.0074437007904052735,
0.0074656219482421874,
0.00742754077911377,
0.0074771409034729,
0.0073587408065795895,
0.007300981044769287,
0.0073392210006713865,
0.007518901824951172,
0.007317300796508789,
0.007258739948272705,
0.007407382011413575,
0.007472980976104737,
0.007147540092468261,
0.007126101016998291,
0.007131380081176758,
0.007336980819702148,
0.007398581027984619,
0.007363700866699218,
0.00793794298171997,
0.008084982872009277,
0.007964663028717041,
0.007682581901550293,
0.007464500904083252,
0.007567381858825684,
0.007539540767669678,
0.007342260837554931,
0.0073032212257385255,
0.007421141147613526,
0.007526581764221192,
0.007943381786346435,
0.007917623043060302,
0.007966742992401124,
0.00798386287689209,
0.007670261859893799,
0.0074854612350463865,
0.007390420913696289,
0.007072500228881836,
0.007153141021728516,
0.00720881986618042,
0.007266261100769043,
0.007734261989593506,
0.007926743030548095,
0.007942583084106445,
0.007818582057952881,
0.007342101097106934,
0.007352820873260498,
0.007448340892791748,
0.007409620761871338,
0.007431062221527099,
0.007374260902404785,
0.007438100814819336,
0.007414741039276123,
0.007769941806793213,
0.007625301837921142,
0.007553942203521728,
0.007394580841064453,
0.007534101009368897,
0.00771554183959961,
0.007961143016815185,
0.008148822784423828,
0.00798866319656372,
0.007946103096008302,
0.007750102043151855,
0.007456020832061767,
0.007893463134765626,
0.007892501831054688,
0.007917462825775146,
0.007902583122253419,
0.007866422176361083,
0.00789378309249878,
0.007894902229309083,
0.007893302917480468,
0.007896183013916015,
0.007887062072753906,
0.00785282278060913,
0.007909461975097657,
0.007867063045501709,
0.007881462097167969,
0.007925622940063477,
0.007872501850128173,
0.007886902809143066,
0.00783826208114624,
0.007877142906188964,
0.007890902042388915,
0.00786482286453247,
0.007838421821594239,
0.007875863075256348,
0.00787698221206665,
0.007871542930603027,
0.00789170217514038,
0.007884663105010986,
0.007868502140045166,
0.007865303039550782,
0.007915701866149902,
0.007950102806091309,
0.0078981032371521,
0.007915381908416747,
0.007882422924041748,
0.007911861896514893,
0.007859703063964843,
0.007872342109680176,
0.007931862831115723,
0.007917943000793458,
0.007385780811309814,
0.006952660083770752,
0.007004499912261963,
0.007059699058532715
],
"count": 131,
"total": 1.004761425971985,
"mean": 0.007669934549404464,
"p50": 0.00783826208114624,
"p90": 0.007942583084106445,
"p95": 0.007965142965316772,
"p99": 0.008056086969375608,
"stdev": 0.00027769598169956284,
"stdev_": 3.6205782449750457
},
"throughput": {
"unit": "samples/s",
"value": 260.7584180956656
},
"energy": null,
"efficiency": null
}
}
}