IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ffca71f verified
raw
history blame
9.94 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": "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",
"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.2.0",
"optimum_benchmark_commit": "2db7e171d23768cdeb341987283e17e0b2db9bd9",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1003.450368,
"max_global_vram": 1910.919168,
"max_process_vram": 255897.612288,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.0011413321495057,
"mean": 0.007883002615350437,
"stdev": 0.00011590460589730271,
"p50": 0.00787921905517578,
"p90": 0.008024564170837401,
"p95": 0.00805317211151123,
"p99": 0.008152576923370361,
"values": [
0.007781778812408447,
0.0077451391220092775,
0.007718898773193359,
0.007801299095153809,
0.007829618930816651,
0.007971380233764648,
0.007936819076538086,
0.007886899948120116,
0.007872659206390381,
0.007903698921203614,
0.007874100208282471,
0.007752819061279297,
0.007650259017944336,
0.0075912179946899415,
0.007606099128723145,
0.00761969804763794,
0.007559538841247559,
0.007589457988739013,
0.0076099390983581545,
0.007532979011535644,
0.0076124978065490725,
0.007816658973693848,
0.007847219944000243,
0.007804338932037354,
0.007821138858795165,
0.007796658992767334,
0.007902578830718994,
0.007845298767089844,
0.0078078598976135255,
0.007874419212341308,
0.007874739170074464,
0.007867538928985595,
0.007832499980926513,
0.007882898807525634,
0.007848498821258544,
0.00787553882598877,
0.00785506010055542,
0.007794259071350097,
0.007837459087371827,
0.007827219009399413,
0.007865300178527832,
0.007839219093322754,
0.007875218868255615,
0.007897778987884522,
0.0078102598190307616,
0.007862419128417968,
0.007868178844451904,
0.00802418041229248,
0.008098739624023438,
0.008054900169372558,
0.00797201919555664,
0.007907538890838624,
0.007937139987945556,
0.007958579063415527,
0.007915540218353272,
0.007908339023590089,
0.007898098945617675,
0.007891220092773437,
0.00784593915939331,
0.007915859222412109,
0.007994100093841553,
0.007892498970031738,
0.007806259155273438,
0.007818739891052246,
0.007835699081420898,
0.007823379039764404,
0.007841779232025146,
0.007840339183807374,
0.007883220195770264,
0.00800545883178711,
0.008030099868774414,
0.008025139808654784,
0.007983378887176514,
0.007953939914703369,
0.00791313886642456,
0.008054900169372558,
0.008029939651489258,
0.008154740333557129,
0.008146419525146484,
0.008043699264526367,
0.008094260215759277,
0.00802914047241211,
0.007957458972930908,
0.007959700107574463,
0.007954419136047363,
0.008003219604492188,
0.007866579055786133,
0.00790769910812378,
0.007835219860076905,
0.007842898845672608,
0.007808979034423828,
0.007861938953399658,
0.007842898845672608,
0.007861780166625977,
0.00787921905517578,
0.008049139976501465,
0.00823233985900879,
0.008010099411010742,
0.007909939765930176,
0.008011698722839355,
0.007969299793243408,
0.007929779052734376,
0.00794242000579834,
0.00790993881225586,
0.007854419231414795,
0.00793553876876831,
0.007947060108184814,
0.00787553882598877,
0.007919058799743653,
0.007887700080871581,
0.007945619106292724,
0.007926899909973145,
0.007958259105682373,
0.007941139221191407,
0.007930099964141846,
0.007972498893737794,
0.007963860034942627,
0.00789729881286621,
0.007878260135650635,
0.007883859157562257,
0.007885138988494873,
0.007851859092712403,
0.007838259220123291,
0.007832979202270508,
0.007827699184417725,
0.007789618968963623,
0.00784657907485962
]
},
"throughput": {
"unit": "samples/s",
"value": 126.85521606357418
},
"energy": null,
"efficiency": null
}
}
}