IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4d72e33 verified
raw
history blame
10.5 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.3.0",
"optimum_benchmark_commit": "57f6495c03ea0fa48e157048c97add150dcd765c",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 1010.05312,
"max_global_vram": 938.921984,
"max_process_vram": 204158.332928,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0061081457138057,
"mean": 0.007238188098660476,
"stdev": 0.0003490205244483848,
"p50": 0.007128942012786865,
"p90": 0.00770756483078003,
"p95": 0.007829532098770142,
"p99": 0.007973198709487915,
"values": [
0.007386702060699463,
0.007032142162322998,
0.007072300910949707,
0.00699310302734375,
0.007176620960235596,
0.007074061870574951,
0.007242541790008545,
0.007318380832672119,
0.007119341850280762,
0.007108621120452881,
0.0070811018943786625,
0.007076461791992187,
0.007128942012786865,
0.007244941234588623,
0.007268142223358154,
0.0072062211036682125,
0.00725534200668335,
0.007013261795043945,
0.006956622123718261,
0.006945901870727539,
0.006968622207641602,
0.0069747018814086915,
0.007006062030792236,
0.00692542314529419,
0.007187981128692627,
0.007003982067108155,
0.007061741828918457,
0.006998702049255371,
0.006993581771850586,
0.007024141788482666,
0.0069775829315185545,
0.007031981945037842,
0.006966862201690674,
0.007107182025909424,
0.00713630199432373,
0.007048781871795654,
0.00701182222366333,
0.007256461143493652,
0.007285101890563965,
0.007008141994476318,
0.007064941883087158,
0.007212300777435302,
0.006974542140960693,
0.009907814979553222,
0.00803101921081543,
0.007436460971832275,
0.007085102081298828,
0.007409740924835205,
0.007378540992736817,
0.007372140884399414,
0.007829100131988525,
0.007802060127258301,
0.007767980098724365,
0.007366540908813476,
0.007465421199798584,
0.007501740932464599,
0.00748590087890625,
0.0073267011642456055,
0.006963982105255127,
0.007565741062164307,
0.007138542175292969,
0.007154541015625,
0.0075431809425354004,
0.007262701034545898,
0.007281102180480957,
0.007277740955352783,
0.007345261096954346,
0.007119502067565918,
0.0071142220497131346,
0.0069465417861938475,
0.006912621974945068,
0.006947662830352783,
0.006952463150024414,
0.007136140823364258,
0.007095982074737548,
0.007382221221923828,
0.007123181819915772,
0.007244622230529785,
0.007236300945281982,
0.007007341861724853,
0.0071265420913696285,
0.007045901775360107,
0.007058862209320068,
0.006945422172546387,
0.006953581809997559,
0.006917582035064697,
0.007767981052398682,
0.0069391832351684574,
0.006972142219543457,
0.007066862106323242,
0.007116462230682373,
0.007842379093170166,
0.007612781047821045,
0.007071822166442871,
0.007216940879821778,
0.007110702037811279,
0.007057581901550293,
0.00736846113204956,
0.007426701068878174,
0.0071638221740722655,
0.006951181888580322,
0.007136620998382568,
0.007029901981353759,
0.007267342090606689,
0.007078062057495118,
0.0071118221282958985,
0.0069129419326782226,
0.006938541889190674,
0.007075662136077881,
0.007088781833648682,
0.006938541889190674,
0.006948942184448242,
0.006936461925506592,
0.007156941890716553,
0.0069465417861938475,
0.007146381855010987,
0.00697310209274292,
0.007192461967468262,
0.007013102054595947,
0.007878859996795655,
0.007833419799804687,
0.007495339870452881,
0.007843979835510254,
0.007813419818878174,
0.007836939811706543,
0.007782380104064942,
0.007807340145111084,
0.007419180870056152,
0.007692461013793945,
0.0074313411712646485,
0.00767933988571167,
0.007526541233062744,
0.00736366081237793,
0.0074337410926818845,
0.007030221939086914,
0.007221739768981933,
0.007225741863250732,
0.00705662202835083,
0.007265261173248291
]
},
"throughput": {
"unit": "samples/s",
"value": 138.1561222738966
},
"energy": null,
"efficiency": null
}
}
}