IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
17c6734
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "4", | |
"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": 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.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1384.98048, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.83302880859375, | |
"mean": 7.83302880859375, | |
"stdev": 0.0, | |
"p50": 7.83302880859375, | |
"p90": 7.83302880859375, | |
"p95": 7.83302880859375, | |
"p99": 7.83302880859375, | |
"values": [ | |
7.83302880859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1485.099008, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 1.003475993156433, | |
"mean": 0.006645536378519424, | |
"stdev": 0.000400622584209901, | |
"p50": 0.006509897232055664, | |
"p90": 0.006915656089782715, | |
"p95": 0.0072556548118591305, | |
"p99": 0.00847132968902588, | |
"values": [ | |
0.007212454795837402, | |
0.006962376117706299, | |
0.006968134880065918, | |
0.0067484560012817385, | |
0.006759975910186768, | |
0.006830056190490722, | |
0.006732295989990234, | |
0.006760937213897705, | |
0.006789896011352539, | |
0.006882534980773926, | |
0.006721736907958985, | |
0.006686056137084961, | |
0.006639017105102539, | |
0.006602376937866211, | |
0.006570857048034668, | |
0.006503017902374267, | |
0.006482216835021972, | |
0.006490056991577149, | |
0.006463976860046386, | |
0.0064882969856262206, | |
0.006539337158203125, | |
0.0065028581619262695, | |
0.006552136898040771, | |
0.006538856983184815, | |
0.006527017116546631, | |
0.0065073370933532715, | |
0.006501737117767334, | |
0.006475176811218262, | |
0.006471497058868408, | |
0.006502857208251953, | |
0.006575497150421142, | |
0.006608457088470459, | |
0.006615817070007324, | |
0.009370686531066895, | |
0.006627816200256348, | |
0.006286218166351319, | |
0.006274538040161133, | |
0.0063089380264282225, | |
0.0062922978401184085, | |
0.006436137199401856, | |
0.006502057075500488, | |
0.00627741813659668, | |
0.006281898021697998, | |
0.00627965784072876, | |
0.006316778182983399, | |
0.006300457954406738, | |
0.0062690978050231935, | |
0.006513737201690674, | |
0.006301417827606202, | |
0.006309416770935059, | |
0.0063046178817749024, | |
0.009516607284545899, | |
0.006798215866088867, | |
0.006741576194763184, | |
0.006639176845550537, | |
0.0067038159370422365, | |
0.006709897041320801, | |
0.006652616024017334, | |
0.0068788561820983885, | |
0.007311173915863037, | |
0.006887015819549561, | |
0.007029735088348389, | |
0.006925896167755127, | |
0.006949416160583496, | |
0.006902375221252441, | |
0.007069735050201416, | |
0.006915656089782715, | |
0.00679421615600586, | |
0.006809415817260742, | |
0.006713897228240967, | |
0.006473416805267334, | |
0.006722856044769287, | |
0.006498857021331787, | |
0.006479177951812744, | |
0.006482697010040283, | |
0.006500297069549561, | |
0.00649165678024292, | |
0.0064719772338867184, | |
0.006478697776794434, | |
0.006500136852264404, | |
0.006506377220153808, | |
0.006475976943969727, | |
0.006493416786193848, | |
0.006520456790924072, | |
0.006511977195739746, | |
0.006487658023834228, | |
0.0064975771903991696, | |
0.006501576900482178, | |
0.00671565580368042, | |
0.006803815841674805, | |
0.006901576042175293, | |
0.00649597692489624, | |
0.006527496814727783, | |
0.006499176979064942, | |
0.0065076580047607425, | |
0.006477578163146973, | |
0.00649597692489624, | |
0.006519337177276611, | |
0.006502696990966797, | |
0.006496936798095703, | |
0.006486056804656982, | |
0.006540616989135742, | |
0.0065169382095336915, | |
0.00653853702545166, | |
0.006499337196350098, | |
0.006522377014160156, | |
0.006491177082061768, | |
0.006535656929016113, | |
0.006501896858215332, | |
0.0065446171760559085, | |
0.006478056907653808, | |
0.0064863767623901366, | |
0.006518377780914307, | |
0.006479337215423584, | |
0.0064834971427917484, | |
0.006486856937408447, | |
0.00649981689453125, | |
0.006499176979064942, | |
0.0064794979095458985, | |
0.006505577087402343, | |
0.006530217170715332, | |
0.006498376846313477, | |
0.006526377201080322, | |
0.006509897232055664, | |
0.006519337177276611, | |
0.006502696990966797, | |
0.006494536876678467, | |
0.0064790182113647465, | |
0.006484457015991211, | |
0.006495817184448242, | |
0.006471497058868408, | |
0.006463337898254395, | |
0.006486536979675293, | |
0.006477736949920655, | |
0.006497257232666016, | |
0.006523656845092774, | |
0.006487337112426758, | |
0.006486537933349609, | |
0.006482217788696289, | |
0.006838215827941895, | |
0.007571972846984863, | |
0.007347333908081055, | |
0.00729885482788086, | |
0.007386213779449463, | |
0.007366213798522949, | |
0.006844295978546143, | |
0.0066842961311340335, | |
0.006809094905853272, | |
0.006867496013641358, | |
0.006690216064453125, | |
0.006806696891784668 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.47694317532162 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |