IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
52173f5
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": "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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c", | |
"transformers_version": "4.41.1", | |
"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": 1009.188864, | |
"max_global_vram": 1919.275008, | |
"max_process_vram": 218565.025792, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0026359825134274, | |
"mean": 0.007538616409875396, | |
"stdev": 0.00015881236528588656, | |
"p50": 0.0075137710571289065, | |
"p90": 0.007598859119415283, | |
"p95": 0.007638954734802246, | |
"p99": 0.00773757905960083, | |
"values": [ | |
0.007706571102142334, | |
0.007600971221923828, | |
0.007752171039581299, | |
0.007635530948638916, | |
0.007648170948028565, | |
0.007643370151519775, | |
0.007636011123657227, | |
0.007651531219482422, | |
0.007524971008300781, | |
0.0075211310386657714, | |
0.007559209823608398, | |
0.007548491001129151, | |
0.0075113711357116695, | |
0.007532810211181641, | |
0.007552811145782471, | |
0.0075540909767150876, | |
0.007596170902252198, | |
0.00757489013671875, | |
0.007548491001129151, | |
0.007563051223754883, | |
0.007564011096954345, | |
0.007583370208740234, | |
0.007562410831451416, | |
0.007585930824279785, | |
0.007625930786132813, | |
0.007562250137329102, | |
0.007595530986785889, | |
0.007551371097564697, | |
0.007622090816497803, | |
0.0075848097801208495, | |
0.007533930778503418, | |
0.009254894256591796, | |
0.0076793708801269536, | |
0.007462250232696533, | |
0.007478090763092041, | |
0.00752688980102539, | |
0.0075070509910583495, | |
0.007478090763092041, | |
0.007484489917755127, | |
0.0074904108047485355, | |
0.007454410076141358, | |
0.007465130805969238, | |
0.007471371173858643, | |
0.007534570217132568, | |
0.007466890811920166, | |
0.007538570880889893, | |
0.007447370052337646, | |
0.007487690925598144, | |
0.007492330074310303, | |
0.007528971195220948, | |
0.007531691074371338, | |
0.00751521110534668, | |
0.007566569805145263, | |
0.007503370761871338, | |
0.0074472098350524905, | |
0.007529611110687256, | |
0.007476171016693115, | |
0.007599531173706054, | |
0.007515049934387207, | |
0.007494091033935547, | |
0.007497129917144775, | |
0.007576490879058838, | |
0.007531210899353027, | |
0.007628490924835205, | |
0.0075444898605346675, | |
0.007496170997619629, | |
0.0075192108154296874, | |
0.00750993013381958, | |
0.007523850917816162, | |
0.0074912109375, | |
0.007522890090942383, | |
0.0075235309600830075, | |
0.007549931049346923, | |
0.00752193021774292, | |
0.007483530998229981, | |
0.007516971111297607, | |
0.007519529819488525, | |
0.0074758510589599605, | |
0.007493610858917236, | |
0.007506410121917725, | |
0.007518890857696533, | |
0.007496810913085937, | |
0.007506889820098877, | |
0.0075137710571289065, | |
0.00750593090057373, | |
0.007494249820709229, | |
0.007503370761871338, | |
0.007484330177307129, | |
0.007469130992889404, | |
0.007450730800628662, | |
0.007464809894561768, | |
0.007510090827941894, | |
0.007461130142211914, | |
0.0074587311744689945, | |
0.007513451099395752, | |
0.007455211162567138, | |
0.007464809894561768, | |
0.007460011005401611, | |
0.007467050075531006, | |
0.007508171081542969, | |
0.007502891063690185, | |
0.007471370220184326, | |
0.007591210842132569, | |
0.007505610942840576, | |
0.0075060901641845704, | |
0.007483211040496826, | |
0.007515851020812988, | |
0.007535689830780029, | |
0.007492650985717773, | |
0.00752129077911377, | |
0.007487370014190674, | |
0.007512491226196289, | |
0.007512330055236816, | |
0.007496170997619629, | |
0.007481131076812744, | |
0.007489449977874756, | |
0.0075068907737731935, | |
0.007547370910644531, | |
0.007540649890899658, | |
0.007476331233978272, | |
0.0074947309494018555, | |
0.0075364899635314946, | |
0.00747921085357666, | |
0.007517770767211914, | |
0.007573450088500976, | |
0.007541611194610596, | |
0.007527050018310547, | |
0.007511690139770508, | |
0.007504170894622803, | |
0.0074806509017944335, | |
0.007499690055847168, | |
0.00748897123336792, | |
0.00750369119644165 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.65033603381457 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |