IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a8bf940 verified
raw
history blame
11.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_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.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": "61123f7169ae188508e9e8c5ca6b9a54a00965ed",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 897.949696,
"max_global_vram": 875.343872,
"max_process_vram": 43013.287936,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.02949267578125,
"mean": 7.02949267578125,
"stdev": 0.0,
"p50": 7.02949267578125,
"p90": 7.02949267578125,
"p95": 7.02949267578125,
"p99": 7.02949267578125,
"values": [
7.02949267578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.786368,
"max_global_vram": 938.274816,
"max_process_vram": 214614.269952,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.00402489900589,
"mean": 0.007070597880323167,
"stdev": 0.0004431524195257361,
"p50": 0.00681925892829895,
"p90": 0.007622025060653687,
"p95": 0.007641712236404419,
"p99": 0.007836592025756836,
"values": [
0.0075745368003845214,
0.007429256916046143,
0.00735677719116211,
0.007485257148742676,
0.007797895908355713,
0.007806856155395508,
0.007857255935668946,
0.007404137134552002,
0.0072831778526306155,
0.0067628598213195805,
0.00688765811920166,
0.006759978771209717,
0.006721419811248779,
0.006715979099273682,
0.0066866989135742185,
0.006678860187530517,
0.0068286190032958985,
0.006640618801116944,
0.006645579814910888,
0.0067129387855529785,
0.006715339183807373,
0.006701259136199951,
0.00664877986907959,
0.006677419185638428,
0.0066798200607299804,
0.006668138980865479,
0.006660459995269775,
0.006751179218292236,
0.006823178768157959,
0.006922537803649902,
0.007089898109436035,
0.006910697937011719,
0.0068329391479492185,
0.006821418762207031,
0.006807659149169922,
0.006817578792572021,
0.006809258937835693,
0.0067950191497802735,
0.0067807788848876956,
0.009708290100097655,
0.007628456115722656,
0.007532617092132568,
0.007513576984405517,
0.007539017200469971,
0.007576935768127442,
0.007632136821746826,
0.007595975875854492,
0.007558056831359863,
0.007613575935363769,
0.007611017227172851,
0.007563177108764648,
0.007620296001434326,
0.007545416831970215,
0.007647655963897705,
0.007586057186126709,
0.007622695922851562,
0.007623177051544189,
0.007618535995483398,
0.007604136943817139,
0.007648136138916016,
0.007622217178344727,
0.0076162958145141605,
0.007569577217102051,
0.007575655937194824,
0.007575976848602295,
0.007598536968231201,
0.007629735946655274,
0.0076422162055969235,
0.007576137065887451,
0.007664616107940674,
0.00675901985168457,
0.006822379112243653,
0.006754219055175781,
0.00680557918548584,
0.006783178806304932,
0.006784139156341552,
0.00676141881942749,
0.006935338973999023,
0.006815339088439941,
0.006773098945617676,
0.006800939083099365,
0.006820939064025879,
0.006731499195098877,
0.006753418922424316,
0.006701738834381104,
0.006723499774932861,
0.006736938953399658,
0.006727818965911865,
0.006755019187927246,
0.006768619060516358,
0.006740139007568359,
0.006764619827270508,
0.006685099124908447,
0.006703498840332031,
0.006747018814086914,
0.006735019207000733,
0.006693419933319092,
0.006778378963470459,
0.006697898864746094,
0.006759338855743409,
0.006710858821868897,
0.006773099899291992,
0.006703339099884033,
0.006777578830718994,
0.0067055788040161135,
0.006763339042663574,
0.0072982177734375,
0.006729898929595947,
0.006711019039154053,
0.006742219924926757,
0.007350856781005859,
0.007584456920623779,
0.00752813720703125,
0.007574216842651367,
0.007509417057037353,
0.007629576206207275,
0.007303658008575439,
0.007011497974395752,
0.007065258026123047,
0.0071289381980896,
0.006997738838195801,
0.00711533784866333,
0.007081737995147705,
0.007173577785491944,
0.007212777137756348,
0.006783178806304932,
0.006710060119628906,
0.006781259059906006,
0.006739819049835205,
0.006733098983764649,
0.006674059867858887,
0.006785258769989013,
0.00671901798248291,
0.006966698169708252,
0.006920138835906983,
0.0069514989852905275,
0.006996938228607178,
0.00677117919921875,
0.0066889400482177735,
0.006751499176025391,
0.00670029878616333,
0.006741418838500977
]
},
"throughput": {
"unit": "samples/s",
"value": 141.43075549281474
},
"energy": null,
"efficiency": null
}
}
}