IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
525bf9b verified
raw
history blame
13 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,
"num_choices": 2
},
"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.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 809.988096,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.08318771362304687
],
"count": 1,
"total": 0.08318771362304687,
"mean": 0.08318771362304687,
"p50": 0.08318771362304687,
"p90": 0.08318771362304687,
"p95": 0.08318771362304687,
"p99": 0.08318771362304687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.631574290208337e-05,
"ram": 5.2769742944742e-05,
"gpu": 0.00013368788472800002,
"total": 0.0002827733705748254
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1056.874496,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 452.872192
},
"latency": {
"unit": "s",
"values": [
0.006235136032104492,
0.006138879776000977,
0.006085631847381592,
0.006191103935241699,
0.006322175979614258,
0.006109183788299561,
0.0060364799499511715,
0.006046720027923584,
0.00621670389175415,
0.006007808208465576,
0.005974016189575195,
0.006008831977844238,
0.005989376068115234,
0.006012928009033203,
0.005987328052520752,
0.005911551952362061,
0.005873663902282715,
0.005920767784118652,
0.005891071796417236,
0.006023168087005615,
0.005976064205169678,
0.006000639915466309,
0.006024191856384278,
0.007128064155578613,
0.0068055038452148435,
0.0064174079895019534,
0.006460415840148926,
0.006461440086364746,
0.006406144142150879,
0.006462463855743408,
0.006433792114257812,
0.006348800182342529,
0.006342656135559082,
0.006284287929534912,
0.006436863899230957,
0.00637337589263916,
0.006325247764587402,
0.006404096126556396,
0.006348800182342529,
0.006336512088775635,
0.006310912132263183,
0.006325247764587402,
0.006341631889343262,
0.006266880035400391,
0.006305791854858398,
0.00636518383026123,
0.006415359973907471,
0.006292479991912842,
0.006293504238128662,
0.006331391811370849,
0.006303743839263916,
0.006368256092071533,
0.006316031932830811,
0.006322175979614258,
0.006326272010803223,
0.006273024082183838,
0.006334464073181153,
0.006278143882751465,
0.00633241605758667,
0.006378496170043945,
0.00643174409866333,
0.006516736030578613,
0.006371327877044678,
0.0064102401733398436,
0.006304768085479737,
0.006376448154449463,
0.006343679904937744,
0.006221824169158936,
0.006435840129852295,
0.0062341117858886715,
0.00624128007888794,
0.006235136032104492,
0.006140927791595459,
0.00616755199432373,
0.0062904319763183595,
0.006254591941833496,
0.00601804780960083,
0.006065152168273926,
0.006017024040222168,
0.006245376110076905,
0.006042623996734619,
0.006171648025512695,
0.006135807991027832,
0.006150144100189209,
0.00621670389175415,
0.006291456222534179,
0.006411263942718506,
0.006253568172454834,
0.0062341117858886715,
0.006081535816192627,
0.006123519897460937,
0.006083615779876709,
0.006214655876159668,
0.00611737585067749,
0.006140927791595459,
0.006085631847381592,
0.006095871925354004,
0.0060364799499511715,
0.006087679862976075,
0.006089727878570556,
0.006015999794006348,
0.006067200183868408,
0.006025216102600098,
0.006061056137084961,
0.006052864074707031,
0.006073344230651856,
0.005987328052520752,
0.006038527965545654,
0.005988351821899414,
0.006067200183868408,
0.0060405759811401364,
0.0060702719688415525,
0.005992447853088379,
0.006038527965545654,
0.006358016014099121,
0.006238207817077636,
0.006194176197052002,
0.006031360149383545,
0.006025216102600098,
0.00603545618057251,
0.00601804780960083,
0.006032383918762207,
0.00601804780960083,
0.005991424083709717,
0.005913599967956543,
0.005937151908874512,
0.005916672229766846,
0.005912576198577881,
0.005907455921173096,
0.005954559803009033,
0.005915647983551026,
0.0060026879310607914,
0.005987328052520752,
0.006017024040222168,
0.0059955201148986816,
0.006038527965545654,
0.00597811222076416,
0.005985280036926269,
0.0059699201583862304,
0.00601087999343872,
0.006057983875274659,
0.006243328094482422,
0.006174719810485839,
0.006017024040222168,
0.006003712177276611,
0.006020095825195313,
0.005986303806304932,
0.005993472099304199,
0.006085631847381592,
0.0059996161460876465,
0.00601087999343872,
0.006190080165863037,
0.006154240131378174,
0.006008831977844238,
0.006015999794006348,
0.005983232021331787,
0.00601907205581665,
0.00601087999343872,
0.0060282878875732426,
0.005983232021331787,
0.0060282878875732426,
0.005970943927764893,
0.006015999794006348
],
"count": 163,
"total": 1.0035333423614508,
"mean": 0.006156646272156135,
"p50": 0.006087679862976075,
"p90": 0.006378086566925048,
"p95": 0.006433587312698364,
"p99": 0.006626467800140379,
"stdev": 0.000185134072500947,
"stdev_": 3.0070604078429652
},
"throughput": {
"unit": "samples/s",
"value": 324.8521860099614
},
"energy": {
"unit": "kWh",
"cpu": 7.039667761752471e-08,
"ram": 3.834947517047829e-08,
"gpu": 1.6588606301775275e-07,
"total": 2.746322158057559e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7282466.822517923
}
}
}
}