IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
44aaeb1 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": "0",
"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": "error",
"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]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 1380.675584,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.63823828125,
"mean": 7.63823828125,
"stdev": 0.0,
"p50": 7.63823828125,
"p90": 7.63823828125,
"p95": 7.63823828125,
"p99": 7.63823828125,
"values": [
7.63823828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1480.486912,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 157,
"total": 0.9993404092788696,
"mean": 0.006365225536808087,
"stdev": 0.00020054055018282427,
"p50": 0.0062841448783874515,
"p90": 0.006531152153015136,
"p95": 0.006660687160491943,
"p99": 0.007152520179748535,
"values": [
0.006550543785095215,
0.006471343994140625,
0.006487184047698975,
0.006450384140014648,
0.0065414228439331056,
0.006526864051818847,
0.006462543964385986,
0.006471183776855469,
0.006437264919281006,
0.006713424205780029,
0.006505743980407715,
0.006449264049530029,
0.006476943969726563,
0.006442543983459473,
0.006391664028167724,
0.0064329438209533695,
0.006436783790588379,
0.0064217448234558105,
0.006432303905487061,
0.006430543899536133,
0.006447824001312255,
0.00640718412399292,
0.006443664073944092,
0.006446383953094483,
0.006456143856048584,
0.006435984134674072,
0.006432464122772217,
0.006412785053253173,
0.00781901979446411,
0.006430543899536133,
0.006238864898681641,
0.006273263931274414,
0.006306065082550049,
0.006288303852081299,
0.006323184967041016,
0.006257264137268066,
0.006281585216522217,
0.006251023769378662,
0.006275185108184814,
0.006252943992614746,
0.006272465229034424,
0.006281263828277588,
0.006284945011138916,
0.006281904220581055,
0.006259984970092773,
0.006291823863983154,
0.006303024768829346,
0.006276303768157959,
0.006269265174865723,
0.006273583889007568,
0.006271184921264649,
0.006282544136047364,
0.006282704830169678,
0.006301904201507568,
0.0062633447647094725,
0.006251984119415284,
0.006250064849853515,
0.006251023769378662,
0.006280145168304443,
0.0062721438407897945,
0.006289585113525391,
0.0062862238883972165,
0.006293264865875245,
0.006284143924713135,
0.006309424877166748,
0.00628334379196167,
0.00626398515701294,
0.006259664058685303,
0.006275664806365966,
0.006274384021759033,
0.006279025077819824,
0.0062838239669799805,
0.0062841448783874515,
0.006284624099731445,
0.006263024806976318,
0.006277584075927735,
0.006313264846801758,
0.006310224056243896,
0.006347824096679688,
0.006325584888458252,
0.006324304103851318,
0.006332943916320801,
0.0063051052093505856,
0.0063145442008972165,
0.006259665012359619,
0.006287024021148681,
0.006283185005187988,
0.006277584075927735,
0.006282865047454834,
0.006274223804473877,
0.006268784999847412,
0.00628926420211792,
0.006306544780731201,
0.0062905440330505375,
0.006284945011138916,
0.006286704063415528,
0.006258544921875,
0.006263984203338623,
0.0062745451927185055,
0.006283184051513672,
0.006271184921264649,
0.006260464191436768,
0.006246224880218506,
0.0062483038902282715,
0.006265745162963867,
0.0063051037788391115,
0.0062750248908996584,
0.006275663852691651,
0.006272305011749268,
0.006276624202728271,
0.006272305011749268,
0.006267983913421631,
0.006284625053405762,
0.006279664039611816,
0.0062555050849914555,
0.006259984016418457,
0.006252464771270752,
0.006263023853302002,
0.006299184799194336,
0.006271024227142334,
0.006297904968261719,
0.006277743816375732,
0.006263504981994629,
0.00627950382232666,
0.0062609448432922364,
0.006305424213409424,
0.006275664806365966,
0.006304463863372803,
0.006285105228424072,
0.006286704063415528,
0.006272305011749268,
0.00625438404083252,
0.006277265071868897,
0.006237743854522705,
0.006282384872436523,
0.0062715039253234866,
0.006985262870788574,
0.007158701896667481,
0.0071476631164550785,
0.0071239819526672365,
0.006831023216247558,
0.00662062406539917,
0.006534224033355713,
0.006725583076477051,
0.0066435041427612305,
0.006519983768463135,
0.006647502899169922,
0.006571343898773193,
0.006544784069061279,
0.006529104232788086,
0.0062590231895446775,
0.006257744789123535,
0.006268464088439942,
0.006269265174865723,
0.006257264137268066,
0.006281905174255371,
0.00627726411819458
]
},
"throughput": {
"unit": "samples/s",
"value": 157.1036240927075
},
"energy": null,
"efficiency": null
}
}
}