IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
87bede5
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": "fb780fc73efc41258966d25b08045708166d6309", | |
"transformers_version": "4.41.0", | |
"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": 1008.463872, | |
"max_global_vram": 3137.871872, | |
"max_process_vram": 198552.92416, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9877615742683408, | |
"mean": 0.007598165955910315, | |
"stdev": 0.00028825491053889883, | |
"p50": 0.007571503400802612, | |
"p90": 0.00781270399093628, | |
"p95": 0.007937598991394042, | |
"p99": 0.008817238025665277, | |
"values": [ | |
0.008017743110656738, | |
0.007889263153076172, | |
0.007796624183654785, | |
0.007731822967529297, | |
0.007787983894348144, | |
0.0074990239143371586, | |
0.007445744037628174, | |
0.007418704032897949, | |
0.007750702857971191, | |
0.007783984184265137, | |
0.007616622924804688, | |
0.007442385196685791, | |
0.007661423206329346, | |
0.007571983814239502, | |
0.007537263870239258, | |
0.007956462860107422, | |
0.007751022815704346, | |
0.007740464210510254, | |
0.007765902996063233, | |
0.007750702857971191, | |
0.007743343830108642, | |
0.007723503112792969, | |
0.007734384059906006, | |
0.007723183155059815, | |
0.007741423130035401, | |
0.007693424224853516, | |
0.0077207832336425785, | |
0.007714704036712646, | |
0.007720462799072266, | |
0.007787183761596679, | |
0.007725423812866211, | |
0.007732623100280762, | |
0.0077433428764343264, | |
0.0077291040420532225, | |
0.0077263832092285155, | |
0.007725584030151367, | |
0.007725422859191895, | |
0.007719024181365967, | |
0.007735504150390625, | |
0.009107979774475097, | |
0.0076463837623596195, | |
0.00738750410079956, | |
0.0074142241477966305, | |
0.007541584014892578, | |
0.00781054401397705, | |
0.007458703994750977, | |
0.007432464122772217, | |
0.007363183975219727, | |
0.009323019981384278, | |
0.007699984073638916, | |
0.008089582443237304, | |
0.007727663993835449, | |
0.00767790412902832, | |
0.007628623962402344, | |
0.007567183971405029, | |
0.007484464168548584, | |
0.007541264057159424, | |
0.0074691038131713865, | |
0.0075235037803649905, | |
0.008024943351745606, | |
0.00778734302520752, | |
0.007496623992919922, | |
0.007540624141693115, | |
0.007585423946380615, | |
0.007914543151855469, | |
0.007687344074249268, | |
0.007727982997894287, | |
0.007764944076538086, | |
0.007603982925415039, | |
0.007511824131011963, | |
0.0075556640625, | |
0.007852622985839844, | |
0.007539663791656494, | |
0.007809743881225586, | |
0.0076057429313659665, | |
0.007735504150390625, | |
0.007722063064575195, | |
0.007614384174346924, | |
0.007555503845214844, | |
0.0074923038482666016, | |
0.007699183940887451, | |
0.007615824222564697, | |
0.007518864154815673, | |
0.007312624931335449, | |
0.007571022987365722, | |
0.00746830415725708, | |
0.007550543785095215, | |
0.007523183822631836, | |
0.007856304168701173, | |
0.007484464168548584, | |
0.0074827041625976564, | |
0.00745742416381836, | |
0.008105422019958496, | |
0.007621903896331787, | |
0.007602384090423584, | |
0.007884943008422851, | |
0.007832143783569336, | |
0.007563663959503174, | |
0.007350543975830078, | |
0.007316624164581299, | |
0.007343184947967529, | |
0.007370863914489746, | |
0.007374063968658447, | |
0.0073062248229980465, | |
0.007300144195556641, | |
0.007258864879608154, | |
0.007321263790130615, | |
0.00730734395980835, | |
0.007320624828338623, | |
0.007322864055633545, | |
0.007321424007415771, | |
0.007275505065917969, | |
0.007291664123535156, | |
0.007303184986114502, | |
0.007322224140167236, | |
0.007265744209289551, | |
0.007307825088500977, | |
0.007275504112243652, | |
0.007311824798583984, | |
0.007300943851470947, | |
0.007293584823608398, | |
0.007295184135437012, | |
0.007273745059967041, | |
0.007283664226531982, | |
0.007286384105682373, | |
0.007282225131988526, | |
0.007301263809204102, | |
0.007292785167694092, | |
0.007309103012084961, | |
0.007319983959197998 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.61070787380464 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |