IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a8025ae verified
raw
history blame
10.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 908.009472,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.9983268465995788,
"mean": 0.0079232289412665,
"stdev": 0.0004126176544666239,
"p50": 0.008077824115753175,
"p90": 0.008226304054260253,
"p95": 0.008405759811401367,
"p99": 0.009082159996032714,
"values": [
0.00838963222503662,
0.008272895812988281,
0.00841215991973877,
0.00841113567352295,
0.008365056037902833,
0.00830361557006836,
0.008179712295532226,
0.008133631706237793,
0.008101887702941894,
0.00808243179321289,
0.008127488136291505,
0.008138719558715821,
0.008088576316833495,
0.008035327911376953,
0.008118271827697754,
0.008145919799804687,
0.008181759834289551,
0.008201215744018555,
0.008149024009704589,
0.008142848014831543,
0.008140800476074218,
0.00816220760345459,
0.008147968292236327,
0.008119327545166016,
0.008166399955749512,
0.008168352127075196,
0.008112128257751466,
0.008169471740722656,
0.008156160354614257,
0.008086527824401855,
0.008087552070617676,
0.00811520004272461,
0.00811520004272461,
0.008099840164184571,
0.008142848014831543,
0.00818995189666748,
0.00810086441040039,
0.008181759834289551,
0.008181759834289551,
0.008147968292236327,
0.0081080322265625,
0.008062975883483887,
0.008094719886779785,
0.008167424201965333,
0.008122367858886719,
0.008158207893371582,
0.008094719886779785,
0.008065024375915527,
0.008053759574890136,
0.008064000129699708,
0.008156160354614257,
0.008093695640563964,
0.008011775970458984,
0.008045568466186523,
0.008052736282348634,
0.008079360008239746,
0.008071167945861817,
0.008095744132995606,
0.008091648101806641,
0.008266752243041992,
0.008251392364501953,
0.0081725435256958,
0.008168448448181152,
0.008079360008239746,
0.008101887702941894,
0.008116191864013671,
0.008770560264587402,
0.008054783821105957,
0.007945216178894043,
0.00788479995727539,
0.008052736282348634,
0.007864319801330566,
0.007708672046661377,
0.007719871997833252,
0.007931903839111328,
0.007910399913787843,
0.008003552436828614,
0.008046591758728027,
0.008166399955749512,
0.00882380771636963,
0.009118783950805663,
0.008972288131713867,
0.00931123161315918,
0.007886847972869874,
0.0075304961204528805,
0.008076288223266602,
0.007617536067962646,
0.007515135765075683,
0.007497727870941162,
0.007545792102813721,
0.007606272220611572,
0.007507967948913574,
0.0074967041015625,
0.007487455844879151,
0.007516160011291504,
0.0074926080703735356,
0.007707647800445557,
0.0075038719177246095,
0.007456768035888672,
0.00754585599899292,
0.007517183780670166,
0.007488512039184571,
0.0074741759300231934,
0.00752019214630127,
0.007450623989105225,
0.0074414081573486324,
0.007459839820861816,
0.007488512039184571,
0.007797760009765625,
0.007350272178649903,
0.007177216053009033,
0.007142399787902832,
0.007067647933959961,
0.00709119987487793,
0.007095295906066895,
0.007096320152282715,
0.007080959796905518,
0.0070860800743103025,
0.007154687881469727,
0.007474143981933593,
0.00756220817565918,
0.00749567985534668,
0.0074700798988342285,
0.0075038719177246095,
0.007482367992401123,
0.007461887836456299
]
},
"throughput": {
"unit": "samples/s",
"value": 126.21117064934307
},
"energy": {
"unit": "kWh",
"cpu": 8.82017219998709e-08,
"ram": 4.821422865562555e-08,
"gpu": 1.6423881451851686e-07,
"total": 3.0065476517401335e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3326074.0085766437
}
}
}
}