IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7eb87ed verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": "6",
"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": "warn",
"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]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 947.806208,
"max_global_vram": 68702.69952,
"max_process_vram": 47198.834688,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.398337890625,
"mean": 8.398337890625,
"stdev": 0.0,
"p50": 8.398337890625,
"p90": 8.398337890625,
"p95": 8.398337890625,
"p99": 8.398337890625,
"values": [
8.398337890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.382656,
"max_global_vram": 68702.69952,
"max_process_vram": 240939.261952,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9994821271896365,
"mean": 0.007088525724749192,
"stdev": 0.0003720870383416912,
"p50": 0.0069707350730896,
"p90": 0.007542575836181641,
"p95": 0.007559855937957763,
"p99": 0.007963856506347653,
"values": [
0.007580496788024902,
0.007426255226135254,
0.007385775089263916,
0.007386735916137695,
0.007345776081085205,
0.007220654964447021,
0.0074168148040771485,
0.007381455898284912,
0.007277455806732178,
0.0072174549102783205,
0.00854433822631836,
0.006808653831481933,
0.006817295074462891,
0.006813293933868409,
0.006805775165557862,
0.006773454189300537,
0.0067380938529968265,
0.006756655216217041,
0.006744174003601075,
0.006724333763122559,
0.006773294925689698,
0.0068067340850830075,
0.006747694969177246,
0.006817614078521729,
0.006928335189819336,
0.006733933925628662,
0.006710734844207764,
0.006734253883361817,
0.006724813938140869,
0.006888655185699463,
0.0068523349761962895,
0.008205456733703613,
0.00741153621673584,
0.0071032152175903324,
0.007064334869384766,
0.006998734951019287,
0.007074254989624024,
0.007027695178985596,
0.007525455951690674,
0.007501455783843994,
0.007525297164916992,
0.007501454830169678,
0.0075256161689758305,
0.0075236959457397464,
0.007484655857086181,
0.007559855937957763,
0.007440334796905518,
0.007552815914154053,
0.007530896186828613,
0.007528336048126221,
0.007522096157073974,
0.007520495891571045,
0.0075726561546325686,
0.007540976047515869,
0.007564815998077392,
0.007545936107635498,
0.007489295959472656,
0.007539055824279785,
0.007542575836181641,
0.007516335964202881,
0.00746449613571167,
0.006938254833221436,
0.0069019351005554196,
0.006878893852233886,
0.007049934864044189,
0.006868655204772949,
0.006844814777374268,
0.006681774139404297,
0.006718733787536621,
0.0069470548629760745,
0.007132335186004639,
0.007064334869384766,
0.00709521484375,
0.006900495052337647,
0.00713121509552002,
0.0069238548278808595,
0.0071539349555969235,
0.006864174842834473,
0.0070395350456237795,
0.00698977518081665,
0.006892014980316162,
0.006887854099273682,
0.0069966549873352055,
0.007114254951477051,
0.0069238548278808595,
0.006695854187011719,
0.006671854972839356,
0.006675374031066894,
0.006654573917388916,
0.006658894062042236,
0.006650253772735596,
0.00667265510559082,
0.006614414215087891,
0.006645133972167969,
0.006736494064331054,
0.006665453910827636,
0.006833614826202393,
0.006670094013214111,
0.006856494903564453,
0.006876015186309815,
0.0066316938400268555,
0.006710574150085449,
0.0067976140975952145,
0.006995695114135742,
0.006803215026855469,
0.006844813823699951,
0.006677134990692139,
0.006642094135284424,
0.006647054195404053,
0.006644974231719971,
0.006638254165649414,
0.006665935039520263,
0.006651214122772217,
0.0066979341506958005,
0.006727853775024414,
0.006825934886932373,
0.007485936164855957,
0.007550096035003662,
0.007572336196899414,
0.0075108962059021,
0.007552336215972901,
0.0076014561653137205,
0.007558416843414306,
0.007275215148925781,
0.007152975082397461,
0.007444176197052002,
0.007531216144561767,
0.007547376155853272,
0.007521135807037354,
0.007534416198730469,
0.00748689603805542,
0.00753601598739624,
0.00750881576538086,
0.007334896087646484,
0.006935375213623047,
0.0069707350730896,
0.00682305383682251,
0.006924174785614014,
0.006804654121398926,
0.006801774978637695,
0.0066118531227111815
]
},
"throughput": {
"unit": "samples/s",
"value": 141.0730579009618
},
"energy": null,
"efficiency": null
}
}
}