IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7d3b9c4 verified
raw
history blame
10 kB
{
"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": "dc29eecfd7850e87154a5a92442eb64d237d0070",
"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.459776,
"max_global_vram": 1919.275008,
"max_process_vram": 216966.004736,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.000699912071228,
"mean": 0.007879526866702584,
"stdev": 0.0002442674703662291,
"p50": 0.007823203086853027,
"p90": 0.008162467384338378,
"p95": 0.008292931079864502,
"p99": 0.008882730636596677,
"values": [
0.00787488317489624,
0.007991043090820313,
0.008065603256225585,
0.00799984312057495,
0.008066722869873047,
0.008010402679443359,
0.008081764221191405,
0.00797328281402588,
0.007993762969970702,
0.007904482841491698,
0.007914402961730956,
0.00773248291015625,
0.007811203002929688,
0.007737283229827881,
0.0078011231422424315,
0.007767202854156494,
0.007821602821350098,
0.007717442989349365,
0.007811683177947998,
0.0077513628005981446,
0.007846882820129394,
0.007853283882141113,
0.008076963424682617,
0.007918242931365966,
0.007860163211822509,
0.007754403114318848,
0.007896323204040528,
0.007801443099975586,
0.00787760305404663,
0.007866882801055908,
0.007826403141021728,
0.007797283172607422,
0.007833443164825439,
0.00789872407913208,
0.00826688289642334,
0.008380803108215332,
0.008269923210144043,
0.008124323844909668,
0.008340323448181152,
0.008222883224487304,
0.008219682693481445,
0.008085283279418945,
0.008058563232421875,
0.008296483039855957,
0.008284643173217773,
0.008234243392944336,
0.008066563606262208,
0.00802176284790039,
0.009063363075256348,
0.00852208423614502,
0.007766562938690186,
0.007823203086853027,
0.007802083015441895,
0.007773763179779053,
0.007781282901763916,
0.007715043067932129,
0.007793922901153564,
0.007764482975006103,
0.007753922939300537,
0.007814083099365234,
0.007830402851104735,
0.007762403011322022,
0.00782368278503418,
0.007735202789306641,
0.007845122814178467,
0.007809123039245605,
0.007782242774963379,
0.00771824312210083,
0.00783232307434082,
0.007837443828582764,
0.007800162792205811,
0.007909442901611328,
0.00791920280456543,
0.007891522884368897,
0.007817283153533935,
0.007750563144683838,
0.007751683235168457,
0.007768642902374267,
0.00784496307373047,
0.007695522785186768,
0.007757923126220703,
0.0077276830673217774,
0.007851202964782715,
0.007831363201141358,
0.007797283172607422,
0.0078011231422424315,
0.007879043102264404,
0.00784144401550293,
0.00731184196472168,
0.007113122940063476,
0.00722160291671753,
0.00900944423675537,
0.008413283348083497,
0.007543043136596679,
0.007942402839660644,
0.007741922855377197,
0.007843362808227538,
0.007851522922515869,
0.007933443069458007,
0.007865922927856445,
0.007819683074951171,
0.007848642826080322,
0.007889123916625976,
0.007744322776794434,
0.0078084831237792965,
0.007726243019104004,
0.007757923126220703,
0.00779520320892334,
0.007787683010101318,
0.007815523147583008,
0.007877122879028321,
0.007812323093414307,
0.007910562992095947,
0.007872642993927002,
0.00781440305709839,
0.007722242832183838,
0.007723682880401611,
0.007783203125,
0.007748483180999756,
0.007766723155975342,
0.0077393631935119625,
0.007706562042236328,
0.007756483078002929,
0.007728483200073242,
0.007721443176269532,
0.007692482948303223,
0.007745923042297364
]
},
"throughput": {
"unit": "samples/s",
"value": 126.91117333780713
},
"energy": null,
"efficiency": null
}
}
}