IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1201633 verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": 2,
"sequence_length": 16
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 811.728896,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.06250291061401367
],
"count": 1,
"total": 0.06250291061401367,
"mean": 0.06250291061401367,
"p50": 0.06250291061401367,
"p90": 0.06250291061401367,
"p95": 0.06250291061401367,
"p99": 0.06250291061401367,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1057.591296,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 452.872192
},
"latency": {
"unit": "s",
"values": [
0.006429696083068847,
0.0062740478515625,
0.006568960189819336,
0.006098944187164307,
0.006131711959838867,
0.006098944187164307,
0.006179840087890625,
0.006131711959838867,
0.006140927791595459,
0.006160384178161621,
0.006160384178161621,
0.006131711959838867,
0.006178815841674804,
0.006124576091766357,
0.006087744235992431,
0.006157311916351318,
0.006111231803894043,
0.006112256050109863,
0.006088704109191895,
0.006115327835083008,
0.006012928009033203,
0.005980160236358643,
0.005963776111602783,
0.006166528224945069,
0.00637440013885498,
0.006355967998504639,
0.006359039783477783,
0.006305791854858398,
0.006303743839263916,
0.006288383960723877,
0.006312960147857666,
0.006319104194641113,
0.00637337589263916,
0.0063805441856384275,
0.006401023864746094,
0.00637440013885498,
0.006150144100189209,
0.0061634559631347655,
0.00611737585067749,
0.006124544143676758,
0.0060293121337890625,
0.0060928001403808595,
0.006230016231536865,
0.006190080165863037,
0.00612556791305542,
0.006093823909759521,
0.006107135772705078,
0.006097919940948486,
0.006096896171569824,
0.005938176155090332,
0.006015999794006348,
0.006052864074707031,
0.00607539176940918,
0.00621670389175415,
0.006071296215057373,
0.006158336162567139,
0.006164480209350586,
0.006112256050109863,
0.006064127922058105,
0.0061224961280822755,
0.006202367782592774,
0.006094848155975342,
0.006051839828491211,
0.006161407947540283,
0.0060999679565429685,
0.006042623996734619,
0.006037504196166992,
0.006093823909759521,
0.006095871925354004,
0.0061829757690429685,
0.006178815841674804,
0.006162432193756104,
0.006137856006622314,
0.0061972479820251464,
0.006119423866271972,
0.006115327835083008,
0.006076416015625,
0.006137856006622314,
0.006079487800598145,
0.00617574405670166,
0.006326272010803223,
0.006451200008392334,
0.006294528007507324,
0.00597811222076416,
0.006017024040222168,
0.00588595199584961,
0.0058787841796875,
0.00601087999343872,
0.006004735946655273,
0.005811200141906738,
0.0058122239112854005,
0.005895232200622559,
0.006136832237243653,
0.006023168087005615,
0.006041600227355957,
0.006088704109191895,
0.006094848155975342,
0.006149119853973388,
0.006227968215942382,
0.006433792114257812,
0.006235231876373291,
0.006057983875274659,
0.00601907205581665,
0.0060364799499511715,
0.006091775894165039,
0.006092832088470459,
0.006048768043518066,
0.006583295822143555,
0.00621670389175415,
0.005883903980255127,
0.005843967914581299,
0.005844992160797119,
0.0057784318923950195,
0.005773312091827393,
0.0057569599151611325,
0.0057415680885314945,
0.005744639873504639,
0.005746687889099121,
0.005765120029449463,
0.005732351779937744,
0.005726208209991455,
0.005765120029449463,
0.00575491189956665,
0.005726208209991455,
0.005718016147613526,
0.005765120029449463,
0.005735424041748047,
0.005769216060638428,
0.005746687889099121,
0.005763072013854981,
0.0057497601509094234,
0.005753856182098388,
0.005789696216583252,
0.005708799839019775,
0.00573747205734253,
0.005695487976074219,
0.005709824085235596,
0.005695487976074219,
0.005679103851318359,
0.005699584007263184,
0.005677055835723877,
0.005681151866912842,
0.005667840003967285,
0.005715968132019043,
0.005656576156616211,
0.005702655792236328,
0.005675007820129394,
0.00566476821899414,
0.005685311794281006,
0.005684224128723145,
0.005697535991668701,
0.005696512222290039,
0.005672959804534912,
0.005694464206695556,
0.006138879776000977,
0.005803008079528809,
0.005732351779937744,
0.005713920116424561,
0.0057292799949646,
0.005742591857910156,
0.005730303764343261,
0.00570470380783081,
0.005746687889099121,
0.005716991901397705,
0.00573747205734253,
0.005769216060638428,
0.005738495826721191
],
"count": 167,
"total": 1.0026316494941714,
"mean": 0.006003782332300425,
"p50": 0.006071296215057373,
"p90": 0.006298214340209961,
"p95": 0.006374092864990234,
"p99": 0.006491238470077515,
"stdev": 0.00022676718717033753,
"stdev_": 3.7770720958740824
},
"throughput": {
"unit": "samples/s",
"value": 333.12333614094814
},
"energy": {
"unit": "kWh",
"cpu": 7.165426528196492e-08,
"ram": 3.9147830379808686e-08,
"gpu": 1.679586350361448e-07,
"total": 2.787607306979184e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7174611.700122562
}
}
}
}