IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
15ab6d8
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": "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.3.1", | |
"optimum_benchmark_commit": "bc46022225a5818a4648ee2abeffdd38c4a9b291", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1015.554048, | |
"max_global_vram": 938.9056, | |
"max_process_vram": 257797.230592, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0028166122436528, | |
"mean": 0.0072667870452438575, | |
"stdev": 0.0004705979193005139, | |
"p50": 0.007117528915405274, | |
"p90": 0.007887130117416381, | |
"p95": 0.007924330163002015, | |
"p99": 0.008317549390792845, | |
"values": [ | |
0.007757130146026611, | |
0.007996490001678467, | |
0.007980490207672119, | |
0.007997610092163087, | |
0.007884970188140869, | |
0.0078120088577270505, | |
0.007585929870605469, | |
0.007964009761810303, | |
0.007912809848785401, | |
0.007884490013122558, | |
0.007919050216674805, | |
0.007954249858856201, | |
0.007679529190063476, | |
0.007435049057006836, | |
0.007259369850158692, | |
0.007245928764343262, | |
0.006962408065795898, | |
0.0072824091911315916, | |
0.007308010101318359, | |
0.007288488864898681, | |
0.007905610084533691, | |
0.007860649108886718, | |
0.00789857006072998, | |
0.007861770153045655, | |
0.007912650108337402, | |
0.007907209873199463, | |
0.007892169952392579, | |
0.010243533134460449, | |
0.008505450248718262, | |
0.0073592100143432615, | |
0.006945288181304932, | |
0.006902888774871826, | |
0.006969929218292236, | |
0.006890247821807862, | |
0.0069484891891479494, | |
0.006937289237976074, | |
0.006965288162231445, | |
0.0068755288124084475, | |
0.006942568778991699, | |
0.006944647789001465, | |
0.00701616907119751, | |
0.00738240909576416, | |
0.007409609794616699, | |
0.00711056900024414, | |
0.00691376781463623, | |
0.0075672101974487305, | |
0.007694088935852051, | |
0.007745289802551269, | |
0.007731689929962158, | |
0.007738729000091552, | |
0.007741769790649414, | |
0.007532009124755859, | |
0.007762409210205078, | |
0.0076987299919128414, | |
0.0076952090263366696, | |
0.007233129978179932, | |
0.0070500879287719725, | |
0.007356490135192871, | |
0.007765929222106934, | |
0.007681129932403564, | |
0.0077086491584777836, | |
0.0076203298568725585, | |
0.007270888805389404, | |
0.007293609142303467, | |
0.007120648860931397, | |
0.006907528877258301, | |
0.006908008098602295, | |
0.006913928985595703, | |
0.006886408805847168, | |
0.0071288089752197265, | |
0.006931528091430664, | |
0.006874888896942139, | |
0.006971368789672852, | |
0.00713408899307251, | |
0.007211369037628174, | |
0.006918568134307862, | |
0.006845129013061523, | |
0.006837287902832031, | |
0.00697360897064209, | |
0.006859848976135254, | |
0.006940487861633301, | |
0.006845448970794678, | |
0.00683408784866333, | |
0.006964169025421143, | |
0.006912329196929932, | |
0.006848008155822754, | |
0.006914409160614013, | |
0.006911849021911621, | |
0.006901927947998047, | |
0.006901608943939209, | |
0.0069257688522338864, | |
0.006931367874145508, | |
0.006851048946380616, | |
0.006871528148651123, | |
0.006959049224853515, | |
0.006857288837432861, | |
0.006949287891387939, | |
0.0069276890754699704, | |
0.00695392894744873, | |
0.007021129131317139, | |
0.0069217681884765625, | |
0.006838569164276123, | |
0.006936328887939453, | |
0.006885128021240234, | |
0.006934729099273682, | |
0.006833447933197022, | |
0.00686000919342041, | |
0.006933609008789063, | |
0.007222408771514892, | |
0.007689128875732422, | |
0.007677770137786865, | |
0.007253129005432129, | |
0.007783050060272217, | |
0.007651369094848633, | |
0.007627530097961426, | |
0.007224328994750976, | |
0.007332008838653564, | |
0.007133129119873047, | |
0.00711440896987915, | |
0.007181128978729248, | |
0.007358889102935791, | |
0.007278569221496582, | |
0.007160968780517578, | |
0.007144808769226074, | |
0.0072664089202880856, | |
0.006841289043426514, | |
0.006839047908782959, | |
0.006910408973693848, | |
0.00686048698425293, | |
0.006892329216003418, | |
0.0068780889511108395, | |
0.006901607990264892, | |
0.006902409076690674, | |
0.006857927799224854, | |
0.006890728950500489, | |
0.006868168830871582, | |
0.006907048225402832, | |
0.006879687786102295 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.61239923144635 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |