IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d516f44 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"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": 904.298496,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9990242223739624,
"mean": 0.006529570080875572,
"stdev": 0.00023908087193746046,
"p50": 0.006490111827850342,
"p90": 0.0067051520347595215,
"p95": 0.007202854347229004,
"p99": 0.007425269680023193,
"values": [
0.007607391834259033,
0.007194687843322754,
0.007334911823272705,
0.007287807941436767,
0.00738918399810791,
0.007215104103088379,
0.007304224014282226,
0.007458816051483155,
0.006504447937011719,
0.006304768085479737,
0.0063211522102355954,
0.006237215995788574,
0.0063170561790466305,
0.006347775936126709,
0.006418432235717773,
0.006315008163452148,
0.00637440013885498,
0.006266880035400391,
0.006262784004211426,
0.00637440013885498,
0.00643174409866333,
0.006341631889343262,
0.006400000095367431,
0.006378496170043945,
0.006336512088775635,
0.006276095867156982,
0.00623308801651001,
0.00625548791885376,
0.006258687973022461,
0.00624128007888794,
0.0062975997924804685,
0.006512639999389648,
0.006824895858764648,
0.00653107213973999,
0.006475808143615723,
0.0065136637687683106,
0.006694911956787109,
0.006440959930419922,
0.0067276802062988285,
0.006510591983795166,
0.006489088058471679,
0.006659103870391846,
0.006589439868927002,
0.0066119680404663084,
0.006522784233093262,
0.00643993616104126,
0.006533120155334473,
0.006555647850036621,
0.006489088058471679,
0.006725632190704346,
0.0065372161865234375,
0.0064880638122558594,
0.006473663806915283,
0.006669343948364258,
0.006467584133148193,
0.006470655918121338,
0.006509568214416504,
0.006718463897705078,
0.00653107213973999,
0.006471583843231201,
0.006503424167633057,
0.006478943824768066,
0.0064264960289001465,
0.006481919765472412,
0.006450175762176514,
0.006426464080810547,
0.006559743881225586,
0.0065064959526062015,
0.006494207859039307,
0.00648086404800415,
0.006405119895935059,
0.006529024124145508,
0.006705215930938721,
0.006463488101959228,
0.006628320217132568,
0.006465568065643311,
0.0065372161865234375,
0.006535168170928955,
0.006485983848571777,
0.006481919765472412,
0.006458367824554443,
0.00642252779006958,
0.006450175762176514,
0.0064471039772033695,
0.006508543968200684,
0.006515711784362793,
0.0064880638122558594,
0.006490111827850342,
0.006535168170928955,
0.006536191940307618,
0.0065382399559021,
0.006523903846740723,
0.0066344962120056155,
0.0066119680404663084,
0.006396927833557129,
0.006258687973022461,
0.006266719818115234,
0.006216608047485352,
0.006267039775848388,
0.006208576202392578,
0.006303743839263916,
0.006333439826965332,
0.006423552036285401,
0.006518784046173095,
0.006524896144866944,
0.0067051520347595215,
0.006662144184112549,
0.006586368083953857,
0.006687744140625,
0.006553599834442139,
0.006438784122467041,
0.006490143775939941,
0.0065382399559021,
0.0064245758056640625,
0.006685696125030518,
0.0064962878227233884,
0.0064430079460144046,
0.0064899840354919434,
0.006554624080657959,
0.006545407772064209,
0.006567935943603515,
0.0065064959526062015,
0.006519968032836914,
0.006446080207824707,
0.006404096126556396,
0.0065136637687683106,
0.006553599834442139,
0.006448128223419189,
0.006448256015777588,
0.0065454401969909665,
0.006469632148742676,
0.006518784046173095,
0.006482944011688232,
0.006665215969085693,
0.0065136637687683106,
0.006464511871337891,
0.00653004789352417,
0.006511551856994629,
0.006375423908233643,
0.0067051520347595215,
0.006435679912567139,
0.006467616081237793,
0.006510591983795166,
0.006421504020690918,
0.006375423908233643,
0.006377471923828125,
0.006316031932830811,
0.00648092794418335,
0.006495232105255127,
0.006560768127441406,
0.007394303798675537,
0.006542335987091064,
0.006756351947784424
]
},
"throughput": {
"unit": "samples/s",
"value": 153.1494397967939
},
"energy": {
"unit": "kWh",
"cpu": 7.466570136432129e-08,
"ram": 4.081668731435817e-08,
"gpu": 1.363278518993704e-07,
"total": 2.5181024057804985e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3971244.3691901597
}
}
}
}