IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d3219c2 verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"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": 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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",
"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": 803.336192,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08240230560302735
],
"count": 1,
"total": 0.08240230560302735,
"mean": 0.08240230560302735,
"p50": 0.08240230560302735,
"p90": 0.08240230560302735,
"p95": 0.08240230560302735,
"p99": 0.08240230560302735,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.271424,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"values": [
0.005992447853088379,
0.0057415680885314945,
0.005854207992553711,
0.005734432220458985,
0.005801983833312988,
0.005744639873504639,
0.005827583789825439,
0.005757952213287353,
0.005795839786529541,
0.005796864032745362,
0.005738495826721191,
0.0057784318923950195,
0.00562278413772583,
0.005603328227996827,
0.005553152084350586,
0.005548031806945801,
0.005484543800354004,
0.005406720161437988,
0.005381152153015136,
0.005649407863616943,
0.005680160045623779,
0.0054876160621643065,
0.005500927925109863,
0.005473279953002929,
0.005511168003082275,
0.005494783878326416,
0.005582848072052002,
0.005600255966186523,
0.005604351997375488,
0.0055797758102417,
0.005573631763458252,
0.005850111961364746,
0.005729248046875,
0.005819392204284668,
0.005751808166503906,
0.005753856182098388,
0.005656576156616211,
0.005596159934997558,
0.005563392162322998,
0.005537792205810547,
0.005605247974395752,
0.005463039875030518,
0.005455872058868408,
0.005547008037567139,
0.00555622386932373,
0.005540863990783691,
0.005404672145843506,
0.00547430419921875,
0.005511168003082275,
0.005446623802185058,
0.005445631980895996,
0.005557248115539551,
0.005537792205810547,
0.005566463947296142,
0.005408768177032471,
0.005406720161437988,
0.005502975940704345,
0.00546611213684082,
0.005450751781463623,
0.005492735862731934,
0.005485568046569824,
0.0054876160621643065,
0.005500927925109863,
0.005494783878326416,
0.0055808000564575196,
0.005573631763458252,
0.005670911788940429,
0.005575679779052735,
0.005571584224700928,
0.005611519813537597,
0.005548031806945801,
0.005587967872619629,
0.005465087890625,
0.0054609918594360355,
0.005542912006378174,
0.0054876160621643065,
0.005409791946411133,
0.005352447986602784,
0.005450751781463623,
0.0054917120933532714,
0.0055101442337036136,
0.005637119770050049,
0.005608448028564453,
0.005470208168029785,
0.00550707197189331,
0.0056217598915100095,
0.005799935817718506,
0.00530944013595581,
0.0060364799499511715,
0.006470655918121338,
0.006392831802368164,
0.00658841609954834,
0.006656000137329102,
0.006603775978088379,
0.006584320068359375,
0.006687744140625,
0.006119423866271972,
0.006291456222534179,
0.005570559978485107,
0.00552243185043335,
0.005414912223815918,
0.005432320117950439,
0.005401599884033203,
0.005418015956878662,
0.005914624214172363,
0.0059064321517944334,
0.0059872961044311526,
0.005518400192260743,
0.005932032108306885,
0.005747712135314941,
0.005629951953887939,
0.005397439956665039,
0.005401599884033203,
0.005328896045684814,
0.005386240005493164,
0.005371903896331787,
0.005444608211517334,
0.005337088108062744,
0.005329919815063477,
0.0053678078651428224,
0.0053606400489807126,
0.005315648078918457,
0.0053647360801696775,
0.005320703983306885,
0.005329984188079834,
0.0053606400489807126,
0.005341184139251709,
0.005337088108062744,
0.005370880126953125,
0.00530841588973999,
0.005303232192993164,
0.005370880126953125,
0.00530944013595581,
0.005327871799468994,
0.005360671997070313,
0.005332992076873779,
0.005314559936523438,
0.005359551906585693,
0.0053002238273620605,
0.00530944013595581,
0.005362688064575195,
0.005352447986602784,
0.005352447986602784,
0.005189631938934326,
0.0051456642150878905,
0.005135359764099121,
0.005144576072692871,
0.005137407779693603,
0.0051333122253417966,
0.005141503810882568,
0.005139455795288086,
0.005115903854370117,
0.005157887935638428,
0.005169151782989502,
0.005123072147369385,
0.005139455795288086,
0.005156864166259765,
0.005100543975830078,
0.005122047901153564,
0.0051066880226135255,
0.005157887935638428,
0.005111807823181152,
0.005135359764099121,
0.005273600101470947,
0.005179391860961914,
0.005139455795288086,
0.005158912181854248,
0.005182464122772217,
0.005192704200744629,
0.005130239963531494,
0.005178368091583252,
0.00511081600189209,
0.005098495960235596,
0.005150720119476319,
0.005227519989013672,
0.005154816150665284,
0.005303296089172363,
0.005541920185089111,
0.0058716158866882326,
0.005405663967132568,
0.0053350720405578615
],
"count": 181,
"total": 0.9971733121871943,
"mean": 0.005509244818713783,
"p50": 0.005473279953002929,
"p90": 0.005827583789825439,
"p95": 0.0060364799499511715,
"p99": 0.006614220809936523,
"stdev": 0.00030971153837372446,
"stdev_": 5.621669549367227
},
"throughput": {
"unit": "samples/s",
"value": 181.51308081339997
},
"energy": {
"unit": "kWh",
"cpu": 6.305660881466818e-08,
"ram": 3.4352425879216754e-08,
"gpu": 1.1569527186243753e-07,
"total": 2.1310430655632245e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4692537.734969259
}
}
}
}