IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0b52a58
verified
{ | |
"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": "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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 904.454144, | |
"max_global_vram": 875.39712, | |
"max_process_vram": 43758.211072, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.299306640625, | |
"mean": 7.299306640625, | |
"stdev": 0.0, | |
"p50": 7.299306640625, | |
"p90": 7.299306640625, | |
"p95": 7.299306640625, | |
"p99": 7.299306640625, | |
"values": [ | |
7.299306640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.778816, | |
"max_global_vram": 938.315776, | |
"max_process_vram": 220399.45216, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0032339673042296, | |
"mean": 0.007217510556145538, | |
"stdev": 0.0007124354440282503, | |
"p50": 0.00703169584274292, | |
"p90": 0.007705425834655762, | |
"p95": 0.00786845006942749, | |
"p99": 0.008856621551513679, | |
"values": [ | |
0.00718017578125, | |
0.006974575996398925, | |
0.007332016944885254, | |
0.007140016078948975, | |
0.007244816780090332, | |
0.007053455829620361, | |
0.007052015781402588, | |
0.00709665584564209, | |
0.007123217105865478, | |
0.007069456100463867, | |
0.007798898220062256, | |
0.0068848152160644535, | |
0.006826735973358154, | |
0.006830255985260009, | |
0.006798894882202149, | |
0.006775535106658935, | |
0.006752494812011719, | |
0.006801294803619385, | |
0.006832176208496093, | |
0.00681601619720459, | |
0.0067838549613952635, | |
0.007291216850280762, | |
0.00736609697341919, | |
0.007662257194519043, | |
0.007709137916564942, | |
0.007748497009277344, | |
0.007704497814178467, | |
0.009397621154785157, | |
0.007737297058105469, | |
0.014483233451843262, | |
0.007230257034301758, | |
0.007156976222991943, | |
0.0077171378135681154, | |
0.007447377204895019, | |
0.0074097771644592286, | |
0.00742721700668335, | |
0.007215375900268555, | |
0.007586897850036621, | |
0.007175536155700684, | |
0.0073363370895385745, | |
0.006959856033325195, | |
0.007264016151428222, | |
0.006887375831604004, | |
0.00690337610244751, | |
0.006915855884552002, | |
0.006919694900512695, | |
0.006947696208953857, | |
0.0069358558654785156, | |
0.006883535861968994, | |
0.006908976078033448, | |
0.006884974956512451, | |
0.006878736019134521, | |
0.007166575908660888, | |
0.007523538112640381, | |
0.007638896942138672, | |
0.007769937992095947, | |
0.007629456996917724, | |
0.007152016162872314, | |
0.007012176036834717, | |
0.006922255039215088, | |
0.006894095897674561, | |
0.006915535926818848, | |
0.006930416107177735, | |
0.0069238548278808595, | |
0.006817774772644043, | |
0.006906896114349365, | |
0.00690177583694458, | |
0.006927855014801025, | |
0.006795695781707764, | |
0.007115695953369141, | |
0.007313457012176514, | |
0.0073956971168518066, | |
0.007112336158752441, | |
0.007023056030273437, | |
0.007010416030883789, | |
0.007030096054077149, | |
0.007020175933837891, | |
0.007003695964813233, | |
0.007033296108245849, | |
0.0069904160499572755, | |
0.00698417615890503, | |
0.007069456100463867, | |
0.006993775844573975, | |
0.00703169584274292, | |
0.007035855770111084, | |
0.007053455829620361, | |
0.00699505615234375, | |
0.006955855846405029, | |
0.007155056953430176, | |
0.007054416179656983, | |
0.0069622559547424315, | |
0.0071260957717895505, | |
0.006995535850524902, | |
0.006980336189270019, | |
0.007026095867156982, | |
0.00692577600479126, | |
0.006996816158294678, | |
0.006942895889282227, | |
0.006934094905853272, | |
0.006981776237487793, | |
0.0069854559898376465, | |
0.006969776153564453, | |
0.007031856060028076, | |
0.0071425771713256835, | |
0.007075695991516113, | |
0.00794785785675049, | |
0.007898258209228516, | |
0.007903058052062989, | |
0.007632337093353272, | |
0.0074004969596862796, | |
0.007605137825012207, | |
0.007925618171691894, | |
0.007865138053894043, | |
0.00797393798828125, | |
0.007520017147064209, | |
0.007542417049407959, | |
0.007547698020935059, | |
0.007532017230987549, | |
0.0071464161872863766, | |
0.00727329683303833, | |
0.006953936100006103, | |
0.007019696235656739, | |
0.006957935810089111, | |
0.006989456176757812, | |
0.006990894794464111, | |
0.006923696041107178, | |
0.006970096111297608, | |
0.007055856227874756, | |
0.0069518561363220216, | |
0.006979055881500244, | |
0.006979695796966553, | |
0.0070686559677124025, | |
0.007038095951080322, | |
0.007027535915374756, | |
0.007015696048736572, | |
0.006986414909362793, | |
0.007033936023712158, | |
0.007012976169586182, | |
0.00702177619934082 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.55192759621582 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |