IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
93db0b5 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.753216,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.19762451171875,
"mean": 7.19762451171875,
"stdev": 0.0,
"p50": 7.19762451171875,
"p90": 7.19762451171875,
"p95": 7.19762451171875,
"p99": 7.19762451171875,
"values": [
7.19762451171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0682352715068395e-06,
"ram": 5.696595094695074e-07,
"gpu": 1.7069458099969181e-06,
"total": 3.3448405909732648e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.289216,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9985922255516051,
"mean": 0.006747244767240576,
"stdev": 0.00021885991491260882,
"p50": 0.006816256046295166,
"p90": 0.006978662300109863,
"p95": 0.007052748703956604,
"p99": 0.007159326763153076,
"values": [
0.007113728046417236,
0.007189472198486328,
0.007159808158874512,
0.007158783912658692,
0.007105535984039306,
0.007057407855987549,
0.007035903930664063,
0.007077888011932373,
0.007095295906066895,
0.006974463939666748,
0.006945792198181152,
0.0069324798583984375,
0.006872096061706543,
0.006852608203887939,
0.00684441614151001,
0.006924287796020508,
0.006966271877288818,
0.007044095993041993,
0.007003071784973144,
0.006953983783721924,
0.006880256175994873,
0.00693452787399292,
0.006949888229370117,
0.006974463939666748,
0.00695091199874878,
0.006959072113037109,
0.006907904148101806,
0.006976511955261231,
0.006960192203521729,
0.00693449592590332,
0.006930431842803955,
0.006907904148101806,
0.0068700799942016605,
0.006814720153808594,
0.0068577280044555666,
0.0068853759765625,
0.006859776020050049,
0.006815743923187256,
0.0069324798583984375,
0.006972415924072266,
0.007031807899475098,
0.006971519947052002,
0.0069928960800170895,
0.0069456958770751955,
0.006920191764831543,
0.006854656219482422,
0.006838272094726563,
0.006941696166992187,
0.006932415962219238,
0.006852608203887939,
0.006924287796020508,
0.006915071964263916,
0.006825984001159668,
0.0068321280479431154,
0.006874112129211426,
0.006867968082427979,
0.00693452787399292,
0.006823935985565186,
0.006853631973266602,
0.006958079814910889,
0.00694271993637085,
0.006854656219482422,
0.006840320110321045,
0.006899712085723877,
0.00690176010131836,
0.006976511955261231,
0.00698367977142334,
0.006896639823913574,
0.006933504104614257,
0.006907904148101806,
0.006931456089019775,
0.006946815967559815,
0.006805600166320801,
0.0069212160110473635,
0.006816768169403077,
0.006744095802307129,
0.006677504062652588,
0.006647808074951172,
0.006789120197296142,
0.006779903888702392,
0.006673408031463623,
0.006490111827850342,
0.006605823993682861,
0.006590464115142822,
0.0066416640281677245,
0.006813695907592773,
0.006773663997650147,
0.006788095951080322,
0.006906879901885986,
0.007030720233917236,
0.006776832103729248,
0.0066344962120056155,
0.006594560146331787,
0.006759424209594727,
0.006503424167633057,
0.006548543930053711,
0.0065330882072448734,
0.00643071985244751,
0.006388735771179199,
0.006393856048583985,
0.006406144142150879,
0.0064778242111206055,
0.0064685440063476565,
0.00652780818939209,
0.006503424167633057,
0.006512639999389648,
0.006518784046173095,
0.006504447937011719,
0.006479872226715088,
0.00657919979095459,
0.006494207859039307,
0.006498303890228272,
0.006511680126190186,
0.006464511871337891,
0.0065146880149841305,
0.006481919765472412,
0.00648089599609375,
0.006449151992797852,
0.006426623821258545,
0.006503424167633057,
0.006505472183227539,
0.006493184089660644,
0.006504447937011719,
0.006466559886932373,
0.0065064959526062015,
0.006529024124145508,
0.006561791896820069,
0.0064839677810668945,
0.006546432018280029,
0.006450175762176514,
0.006501376152038574,
0.006475776195526123,
0.0065710082054138185,
0.006557695865631104,
0.006549503803253174,
0.006460415840148926,
0.0065064959526062015,
0.006496255874633789,
0.006495232105255127,
0.00647379207611084,
0.006461440086364746,
0.006469632148742676,
0.006455296039581298,
0.006448128223419189,
0.0065279359817504885,
0.00648799991607666,
0.006526976108551025,
0.006525951862335205
]
},
"throughput": {
"unit": "samples/s",
"value": 148.20864434253664
},
"energy": {
"unit": "kWh",
"cpu": 7.715512491751888e-08,
"ram": 4.21861889221537e-08,
"gpu": 1.4298532362343132e-07,
"total": 2.623266374631039e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3812041.3911097744
}
}
}
}