IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c6f9b74
verified
{ | |
"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": 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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.557696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4369.690624, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07417864227294922 | |
], | |
"count": 1, | |
"total": 0.07417864227294922, | |
"mean": 0.07417864227294922, | |
"p50": 0.07417864227294922, | |
"p90": 0.07417864227294922, | |
"p95": 0.07417864227294922, | |
"p99": 0.07417864227294922, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1224.101888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 238713.626624, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00714464807510376, | |
0.00692816686630249, | |
0.006954566955566406, | |
0.006927526950836181, | |
0.0068528070449829104, | |
0.006667206764221192, | |
0.006699687004089356, | |
0.006697126865386963, | |
0.006721446990966797, | |
0.00671040678024292, | |
0.006723526954650879, | |
0.00667328691482544, | |
0.006702566146850586, | |
0.0066968069076538085, | |
0.006724327087402344, | |
0.006764327049255371, | |
0.006736486911773682, | |
0.006740326881408691, | |
0.006704967021942138, | |
0.006705767154693604, | |
0.006902087211608887, | |
0.00668416690826416, | |
0.0067340869903564455, | |
0.006712966918945312, | |
0.006695527076721192, | |
0.006730247020721436, | |
0.006748647212982178, | |
0.006721127033233643, | |
0.006751047134399414, | |
0.006715206146240235, | |
0.006687847137451172, | |
0.006966087818145752, | |
0.006768327236175537, | |
0.006754086971282959, | |
0.006713126182556152, | |
0.006752007007598877, | |
0.0067603268623352055, | |
0.0067145671844482425, | |
0.006780326843261719, | |
0.006731206893920898, | |
0.006752646923065185, | |
0.00673056697845459, | |
0.006912487030029297, | |
0.006719526767730713, | |
0.008714089393615723, | |
0.007268167972564697, | |
0.007402407169342041, | |
0.006801446914672851, | |
0.007000487804412842, | |
0.006781446933746338, | |
0.007117446899414063, | |
0.007951528072357177, | |
0.007901127815246583, | |
0.00785152816772461, | |
0.007864808082580567, | |
0.007843848228454589, | |
0.007864168167114258, | |
0.007854407787322997, | |
0.007863368034362793, | |
0.008224808692932128, | |
0.00822848892211914, | |
0.00818976879119873, | |
0.008210728645324707, | |
0.008222249031066895, | |
0.007986729145050048, | |
0.00770032787322998, | |
0.007473127841949463, | |
0.0074742469787597654, | |
0.0074960079193115235, | |
0.0074433679580688476, | |
0.007524007797241211, | |
0.007461767196655273, | |
0.007498248100280762, | |
0.007471848011016846, | |
0.007475367069244385, | |
0.007506087779998779, | |
0.0075334482192993164, | |
0.007514088153839111, | |
0.007530247211456299, | |
0.007563687801361084, | |
0.007513768196105957, | |
0.00745360803604126, | |
0.007446567058563233, | |
0.007454567909240722, | |
0.007460968017578125, | |
0.007480166912078858, | |
0.007439208030700683, | |
0.007440487861633301, | |
0.007445607185363769, | |
0.0074628877639770505, | |
0.007474728107452392, | |
0.007498248100280762, | |
0.007458567142486572, | |
0.007165927886962891, | |
0.007419847011566162, | |
0.007465447902679443, | |
0.007473288059234619, | |
0.0074537677764892575, | |
0.007411046981811524, | |
0.007129127979278564, | |
0.00707664680480957, | |
0.007324487209320068, | |
0.0073558478355407715, | |
0.007069127082824707, | |
0.006884167194366455, | |
0.007144008159637451, | |
0.006890407085418701, | |
0.006891847133636475, | |
0.006759366989135742, | |
0.006750407218933105, | |
0.006706727027893066, | |
0.00672288703918457, | |
0.006782726764678955, | |
0.006532646179199218, | |
0.006559526920318604, | |
0.006539206981658935, | |
0.006572647094726563, | |
0.00654768705368042, | |
0.006547205924987793, | |
0.00657008695602417, | |
0.0065782470703125, | |
0.006576487064361572, | |
0.0065825657844543455, | |
0.006568006992340088, | |
0.006570406913757324, | |
0.006546566963195801, | |
0.006551206111907959, | |
0.00653952693939209, | |
0.006536487102508545, | |
0.006580166816711426, | |
0.006574565887451172, | |
0.00655008602142334, | |
0.006583527088165283, | |
0.006567206859588623, | |
0.00655968713760376, | |
0.0065563259124755855, | |
0.006551686763763428, | |
0.006555047035217285, | |
0.00658864688873291, | |
0.006559686183929443, | |
0.006608166217803955 | |
], | |
"count": 141, | |
"total": 0.9960829477310178, | |
"mean": 0.007064418069014313, | |
"p50": 0.006801446914672851, | |
"p90": 0.007843848228454589, | |
"p95": 0.007951528072357177, | |
"p99": 0.008227016830444335, | |
"stdev": 0.0004898852058208455, | |
"stdev_": 6.93454437485179 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.55447628250693 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |