IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
691d435 verified
raw
history blame
12.4 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 720.482304,
"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.12355615234375,
"mean": 7.12355615234375,
"stdev": 0.0,
"p50": 7.12355615234375,
"p90": 7.12355615234375,
"p95": 7.12355615234375,
"p99": 7.12355615234375,
"values": [
7.12355615234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.055532693862915e-06,
"ram": 5.624227749863545e-07,
"gpu": 1.6763902300018924e-06,
"total": 3.2943456988511617e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.941056,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0015999374389655,
"mean": 0.006633112168469967,
"stdev": 0.0002580886715436516,
"p50": 0.006525951862335205,
"p90": 0.00695091199874878,
"p95": 0.007040528059005737,
"p99": 0.007162880182266235,
"values": [
0.007138304233551026,
0.007085055828094483,
0.007093247890472412,
0.007046175956726074,
0.0070266880989074704,
0.0070348801612854,
0.0070256638526916505,
0.007049215793609619,
0.006978496074676514,
0.007187456130981445,
0.006915071964263916,
0.00695091199874878,
0.006852608203887939,
0.0068392958641052244,
0.006815743923187256,
0.006867968082427979,
0.00690176010131836,
0.006864895820617676,
0.0069027838706970214,
0.006892543792724609,
0.006498303890228272,
0.006490111827850342,
0.006546432018280029,
0.006563839912414551,
0.006543360233306885,
0.006590464115142822,
0.006528063774108887,
0.006555647850036621,
0.006524928092956543,
0.006524928092956543,
0.006567935943603515,
0.006563839912414551,
0.006875135898590088,
0.006831103801727295,
0.006842368125915528,
0.006857791900634766,
0.006831039905548095,
0.006854656219482422,
0.0065413122177124024,
0.006496255874633789,
0.006519807815551758,
0.006595583915710449,
0.006554624080657959,
0.006525951862335205,
0.006568960189819336,
0.00652288007736206,
0.006525951862335205,
0.006471680164337158,
0.006550528049468994,
0.006562816143035889,
0.006529024124145508,
0.006552576065063476,
0.006540287971496582,
0.006474751949310303,
0.0064245758056640625,
0.00652288007736206,
0.006946815967559815,
0.006916096210479736,
0.006903808116912841,
0.006818816184997558,
0.006883327960968018,
0.0068618240356445315,
0.006927360057830811,
0.006817791938781738,
0.0068915200233459475,
0.006939648151397705,
0.008286208152770995,
0.006977536201477051,
0.00658739185333252,
0.006612991809844971,
0.006714367866516113,
0.006956031799316406,
0.006894591808319092,
0.006818816184997558,
0.006493184089660644,
0.0064767999649047855,
0.006415359973907471,
0.00638259220123291,
0.006296576023101807,
0.006692863941192627,
0.006472703933715821,
0.006343679904937744,
0.00613478422164917,
0.006179840087890625,
0.006160384178161621,
0.006605760097503662,
0.006732800006866455,
0.007004159927368164,
0.006800384044647217,
0.007079936027526855,
0.0069253120422363285,
0.006937600135803222,
0.006663167953491211,
0.006565887928009034,
0.006576128005981445,
0.006515711784362793,
0.00653926420211792,
0.00652182388305664,
0.0065485119819641115,
0.006560768127441406,
0.006471680164337158,
0.006524928092956543,
0.006475776195526123,
0.006469632148742676,
0.006509568214416504,
0.006446080207824707,
0.0064849920272827145,
0.006446080207824707,
0.006464511871337891,
0.006470655918121338,
0.006456319808959961,
0.0064440321922302245,
0.006499328136444092,
0.006489088058471679,
0.0064778242111206055,
0.006465536117553711,
0.006475776195526123,
0.006455296039581298,
0.006465536117553711,
0.006433792114257812,
0.00643174409866333,
0.00643891191482544,
0.006501376152038574,
0.006457344055175781,
0.006456319808959961,
0.006450175762176514,
0.006446080207824707,
0.006456319808959961,
0.0064430079460144046,
0.006425600051879882,
0.006478847980499268,
0.006449151992797852,
0.006436863899230957,
0.006467552185058594,
0.006462463855743408,
0.006462463855743408,
0.006490111827850342,
0.006465536117553711,
0.006474751949310303,
0.006492159843444824,
0.006520832061767578,
0.006462463855743408,
0.006421504020690918,
0.006450175762176514,
0.0064767999649047855,
0.006451200008392334,
0.006472703933715821,
0.006490111827850342,
0.006435840129852295,
0.006436863899230957,
0.006448128223419189
]
},
"throughput": {
"unit": "samples/s",
"value": 150.7587953590518
},
"energy": {
"unit": "kWh",
"cpu": 7.578607725067841e-08,
"ram": 4.1434558844872125e-08,
"gpu": 1.3911016082802672e-07,
"total": 2.563307969235773e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3901208.9534373856
}
}
}
}