IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
059ad5b verified
raw
history blame
12.3 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.523264,
"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.1989453125,
"mean": 7.1989453125,
"stdev": 0.0,
"p50": 7.1989453125,
"p90": 7.1989453125,
"p95": 7.1989453125,
"p99": 7.1989453125,
"values": [
7.1989453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.039990120463901e-06,
"ram": 5.543807590279926e-07,
"gpu": 1.6044457279984492e-06,
"total": 3.1988166074903427e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.788928,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9960764808654787,
"mean": 0.006640509872436523,
"stdev": 0.0002376408025114808,
"p50": 0.0067118079662323,
"p90": 0.006896640062332153,
"p95": 0.006982963180541992,
"p99": 0.007210506887435911,
"values": [
0.006979584217071533,
0.0070256638526916505,
0.007065599918365479,
0.0070563840866088865,
0.0068915200233459475,
0.006947840213775635,
0.0070256638526916505,
0.006843391895294189,
0.0067573761940002445,
0.0068915200233459475,
0.006985727787017822,
0.006819839954376221,
0.007133247852325439,
0.007284736156463623,
0.0067573761940002445,
0.006774784088134766,
0.00677785587310791,
0.006806528091430664,
0.006883327960968018,
0.006793216228485107,
0.006808576107025147,
0.006808576107025147,
0.0068321280479431154,
0.0066109437942504885,
0.006894591808319092,
0.0068802242279052735,
0.006773759841918945,
0.006919167995452881,
0.006856704235076904,
0.006793216228485107,
0.00678604793548584,
0.006905856132507324,
0.006895616054534912,
0.006668288230895996,
0.006724607944488525,
0.0067645440101623535,
0.0066979842185974124,
0.0067717118263244626,
0.00684335994720459,
0.006783936023712158,
0.00676966381072998,
0.007292928218841553,
0.006854656219482422,
0.006881279945373535,
0.0068351998329162595,
0.00679423999786377,
0.006799359798431396,
0.0067717118263244626,
0.006808608055114746,
0.0068853759765625,
0.006825984001159668,
0.006719488143920899,
0.006867968082427979,
0.0067573761940002445,
0.006667263984680176,
0.006813695907592773,
0.006841343879699707,
0.0068351998329162595,
0.006770688056945801,
0.0068351998329162595,
0.006782976150512696,
0.00676966381072998,
0.006822912216186523,
0.006751232147216797,
0.006766592025756836,
0.006874048233032227,
0.00693452787399292,
0.006948863983154297,
0.006907904148101806,
0.006864895820617676,
0.006815743923187256,
0.006881279945373535,
0.006765567779541016,
0.0067573761940002445,
0.006871039867401123,
0.006675456047058105,
0.00672051191329956,
0.006651904106140137,
0.0064849920272827145,
0.006762495994567871,
0.006738944053649902,
0.006393824100494385,
0.006470655918121338,
0.0065392317771911625,
0.006520832061767578,
0.006546432018280029,
0.0066202239990234375,
0.006471680164337158,
0.006601727962493896,
0.00672870397567749,
0.0067041277885437015,
0.006583295822143555,
0.006435840129852295,
0.006375423908233643,
0.006492159843444824,
0.006330399990081787,
0.006469632148742676,
0.006451200008392334,
0.006348800182342529,
0.006467584133148193,
0.006360064029693604,
0.0063508481979370115,
0.006377471923828125,
0.006354944229125976,
0.006343679904937744,
0.006351871967315674,
0.006376448154449463,
0.00638976001739502,
0.006387712001800537,
0.006344704151153564,
0.006369279861450195,
0.0063836159706115725,
0.006334464073181153,
0.006387743949890137,
0.00637337589263916,
0.0063498239517211915,
0.0064174079895019534,
0.006322175979614258,
0.006362112045288086,
0.0064542717933654785,
0.006300672054290772,
0.006400000095367431,
0.006402048110961914,
0.006347743988037109,
0.0064204797744750975,
0.006295551776885986,
0.006416416168212891,
0.006408192157745361,
0.006336512088775635,
0.006401023864746094,
0.006364160060882569,
0.0063539199829101565,
0.00643891191482544,
0.006307807922363282,
0.0064245758056640625,
0.006391808032989502,
0.006360064029693604,
0.006415359973907471,
0.0064471039772033695,
0.006348800182342529,
0.006371327877044678,
0.006378496170043945,
0.006400000095367431,
0.00638156795501709,
0.006367231845855713,
0.006394879817962646,
0.006421504020690918,
0.006358016014099121,
0.006387712001800537,
0.006393856048583985
]
},
"throughput": {
"unit": "samples/s",
"value": 150.59084606602383
},
"energy": {
"unit": "kWh",
"cpu": 7.575703422312862e-08,
"ram": 4.141991807812418e-08,
"gpu": 1.3459671064968137e-07,
"total": 2.5177366295093417e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3971821.3107734015
}
}
}
}