IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ef16825 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1094.017024,
"max_global_vram": 68702.69952,
"max_process_vram": 4334.723072,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.06999354553222656
],
"count": 1,
"total": 0.06999354553222656,
"mean": 0.06999354553222656,
"p50": 0.06999354553222656,
"p90": 0.06999354553222656,
"p95": 0.06999354553222656,
"p99": 0.06999354553222656,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1223.860224,
"max_global_vram": 68702.69952,
"max_process_vram": 196115.939328,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007494697093963623,
0.0071193380355834964,
0.007181258201599121,
0.006967339038848877,
0.007094219207763672,
0.007344616889953613,
0.007240138053894043,
0.007364937782287598,
0.007319017887115479,
0.006912458896636963,
0.006968617916107178,
0.006914379119873047,
0.0069655790328979495,
0.006905259132385254,
0.0069466991424560545,
0.006970698833465576,
0.006988938808441162,
0.006975498199462891,
0.006995978832244873,
0.006928938865661621,
0.006996459007263184,
0.006977418899536133,
0.0069865379333496095,
0.007006059169769287,
0.006985898971557617,
0.006979818820953369,
0.0069761381149292,
0.00699229907989502,
0.0069991788864135745,
0.0069306988716125485,
0.00696173906326294,
0.007000139236450195,
0.006970698833465576,
0.006973578929901123,
0.006997898101806641,
0.006991498947143555,
0.007018858909606933,
0.00705197811126709,
0.007002859115600586,
0.0070034990310668946,
0.007037737846374512,
0.006988779067993164,
0.007004939079284668,
0.006995499134063721,
0.00700285816192627,
0.006990219116210937,
0.006991498947143555,
0.0071878180503845215,
0.007016458988189697,
0.007008297920227051,
0.007027658939361572,
0.006983819007873535,
0.007026217937469483,
0.006983179092407227,
0.007095017910003662,
0.007045419216156006,
0.007027019023895264,
0.007015498161315918,
0.007058858871459961,
0.007036458015441895,
0.0070457391738891605,
0.007075657844543457,
0.0070910191535949706,
0.007024138927459717,
0.007008297920227051,
0.006998219013214111,
0.0070468587875366214,
0.0070353388786315914,
0.007002219200134278,
0.007897255897521972,
0.007859975814819335,
0.007865096092224121,
0.007859975814819335,
0.007437256813049317,
0.007390058040618897,
0.007426217079162598,
0.007360457897186279,
0.007290378093719483,
0.007224298000335693,
0.007291018009185791,
0.007509576797485352,
0.007840456008911133,
0.007835656166076661,
0.007823976039886474,
0.007863176822662353,
0.007848456859588623,
0.0077295761108398435,
0.0074607768058776855,
0.006990058898925781,
0.007013099193572998,
0.006959818840026856,
0.007174858093261719,
0.007158058166503906,
0.006987978935241699,
0.007065097808837891,
0.006987658977508545,
0.006994699001312256,
0.006968297958374023,
0.00702669906616211,
0.006998058795928955,
0.007024777889251709,
0.0069729390144348145,
0.007010058879852295,
0.006943819046020508,
0.007000937938690186,
0.006954699039459228,
0.0070366191864013675,
0.006998379230499268,
0.0069514989852905275,
0.006890860080718994,
0.006950538158416748,
0.0069375791549682615,
0.007033419132232666,
0.006971498966217041,
0.00701325798034668,
0.006943499088287354,
0.006990378856658936,
0.0069895792007446285,
0.0070196580886840824,
0.0070151791572570805,
0.0071266980171203614,
0.007035499095916748,
0.007002378940582275,
0.007057097911834717,
0.0070298991203308105,
0.007014379024505615,
0.006985097885131836,
0.006991498947143555,
0.006983338832855224,
0.006986379146575928,
0.0070196580886840824,
0.00697917890548706,
0.006969738960266114,
0.0069590191841125484,
0.007094697952270508,
0.006955499172210693,
0.006967819213867187,
0.007026698112487793,
0.006920299053192139,
0.00693389892578125,
0.007031177997589112
],
"count": 141,
"total": 1.0011097588539124,
"mean": 0.007100069211729874,
"p50": 0.007004939079284668,
"p90": 0.007426217079162598,
"p95": 0.007835656166076661,
"p99": 0.007864328384399414,
"stdev": 0.00023871073065903316,
"stdev_": 3.3620901929331084
},
"throughput": {
"unit": "samples/s",
"value": 140.84369745972634
},
"energy": null,
"efficiency": null
}
}
}