IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2d179c9 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.882816,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 152,
"total": 1.0038672027587892,
"mean": 0.006604389491834139,
"stdev": 0.00025262554658910793,
"p50": 0.006649856090545654,
"p90": 0.006922752046585083,
"p95": 0.0070012927055358885,
"p99": 0.007223255205154419,
"values": [
0.00739737606048584,
0.007023615837097168,
0.007221248149871826,
0.007225344181060791,
0.007016448020935059,
0.006918144226074219,
0.006849535942077637,
0.006823935985565186,
0.007132160186767578,
0.006792191982269287,
0.0068055038452148435,
0.006897664070129395,
0.0067051520347595215,
0.006717440128326416,
0.0066938881874084475,
0.006624256134033203,
0.006686719894409179,
0.006715392112731934,
0.006989823818206787,
0.006960127830505371,
0.00679423999786377,
0.006897664070129395,
0.0068321280479431154,
0.007010303974151612,
0.006980607986450196,
0.006958079814910889,
0.006923264026641846,
0.006917119979858399,
0.006993919849395752,
0.00689356803894043,
0.0069253120422363285,
0.006864895820617676,
0.0067573761940002445,
0.006711296081542969,
0.006726655960083008,
0.006661119937896728,
0.006654975891113281,
0.0066447358131408694,
0.006669312000274658,
0.006635519981384277,
0.006615039825439453,
0.006680575847625733,
0.006685696125030518,
0.006713344097137451,
0.006796288013458252,
0.0067051520347595215,
0.006738944053649902,
0.00675328016281128,
0.006676479816436768,
0.006639616012573242,
0.00669593620300293,
0.006715392112731934,
0.00675328016281128,
0.006717440128326416,
0.0066641921997070315,
0.006659071922302246,
0.006614016056060791,
0.006626304149627686,
0.006685696125030518,
0.0066304001808166506,
0.006737919807434082,
0.006677504062652588,
0.006603775978088379,
0.006595583915710449,
0.006717440128326416,
0.006619135856628418,
0.006619135856628418,
0.006619135856628418,
0.006706175804138184,
0.006661119937896728,
0.006747136116027832,
0.0067645440101623535,
0.006707200050354004,
0.006713344097137451,
0.006729728221893311,
0.006660096168518067,
0.006723584175109864,
0.006691840171813965,
0.006608895778656006,
0.0067420158386230465,
0.006647808074951172,
0.006554624080657959,
0.006459392070770263,
0.006435840129852295,
0.0065669121742248536,
0.006568960189819336,
0.006342656135559082,
0.006278143882751465,
0.006334464073181153,
0.006341631889343262,
0.006819839954376221,
0.006841343879699707,
0.006790143966674805,
0.006840320110321045,
0.006918144226074219,
0.006968319892883301,
0.006783008098602295,
0.006651904106140137,
0.007058432102203369,
0.006838272094726563,
0.006453248023986816,
0.00642252779006958,
0.006322175979614258,
0.006387712001800537,
0.0063170561790466305,
0.0063201279640197755,
0.006400000095367431,
0.006370304107666015,
0.006401023864746094,
0.0063170561790466305,
0.006325247764587402,
0.006326272010803223,
0.006315008163452148,
0.006313983917236328,
0.006342656135559082,
0.006342656135559082,
0.006363135814666748,
0.006352896213531494,
0.006366208076477051,
0.0063170561790466305,
0.006355967998504639,
0.006346752166748047,
0.006352896213531494,
0.006364160060882569,
0.006346752166748047,
0.006418432235717773,
0.006303743839263916,
0.0063272957801818845,
0.006363135814666748,
0.006232063770294189,
0.006271999835968017,
0.0062566399574279785,
0.006301695823669433,
0.0063539199829101565,
0.006298624038696289,
0.006304768085479737,
0.006252543926239014,
0.006288383960723877,
0.00628326416015625,
0.006292479991912842,
0.0062269439697265625,
0.0062638077735900875,
0.006280191898345947,
0.006253568172454834,
0.0062863359451293946,
0.00625871992111206,
0.006312960147857666,
0.006289408206939697,
0.006304768085479737,
0.006329343795776367,
0.0062873601913452145,
0.00628223991394043
]
},
"throughput": {
"unit": "samples/s",
"value": 151.41444962269856
},
"energy": {
"unit": "kWh",
"cpu": 7.444632653560904e-08,
"ram": 4.0687196137696444e-08,
"gpu": 1.3863726368749464e-07,
"total": 2.537707863608001e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3940563.901544775
}
}
}
}