IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
28f1d75 verified
raw
history blame
10.6 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",
"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": 909.856768,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9976586227416991,
"mean": 0.007390063872160734,
"stdev": 0.00028552764032967626,
"p50": 0.00743833589553833,
"p90": 0.007710924816131592,
"p95": 0.00791900143623352,
"p99": 0.008152882900238037,
"values": [
0.008269824028015137,
0.00790015983581543,
0.008026111602783203,
0.008056832313537597,
0.007953407764434815,
0.007958528041839599,
0.007904255867004394,
0.007642111778259277,
0.007547904014587403,
0.0074997758865356446,
0.00809881591796875,
0.007789567947387695,
0.00773632001876831,
0.007724031925201416,
0.007658495903015137,
0.007558144092559814,
0.007605247974395752,
0.007531519889831543,
0.00759603214263916,
0.007523327827453613,
0.007469056129455566,
0.007479296207427978,
0.007554048061370849,
0.007618559837341309,
0.007504896163940429,
0.007588863849639893,
0.007464960098266602,
0.007494688034057617,
0.007507967948913574,
0.007553023815155029,
0.007480319976806641,
0.007455743789672851,
0.007392255783081054,
0.0074332160949707035,
0.007426047801971435,
0.007432191848754883,
0.00743833589553833,
0.00748748779296875,
0.007514111995697022,
0.007560192108154297,
0.00759603214263916,
0.007544832229614258,
0.007488512039184571,
0.0074332160949707035,
0.00743833589553833,
0.007532544136047363,
0.007506944179534912,
0.007463935852050781,
0.007473152160644531,
0.007407616138458252,
0.007434175968170166,
0.00743833589553833,
0.007422976016998291,
0.007515135765075683,
0.007770112037658691,
0.0076912641525268555,
0.007427072048187256,
0.007493631839752197,
0.007427072048187256,
0.007449600219726562,
0.007414783954620361,
0.007457791805267334,
0.0074967041015625,
0.007569407939910889,
0.007571455955505371,
0.007534560203552246,
0.00818073558807373,
0.007548927783966064,
0.007478271961212158,
0.007458816051483155,
0.007489535808563232,
0.007443456172943115,
0.007385087966918945,
0.007231488227844239,
0.007344128131866455,
0.00742195177078247,
0.007201791763305664,
0.00710969591140747,
0.0071157760620117185,
0.007131103992462158,
0.007641088008880615,
0.007667712211608887,
0.007514111995697022,
0.007649280071258545,
0.007773183822631836,
0.007464960098266602,
0.007326720237731933,
0.007352320194244385,
0.007351295948028564,
0.007361536026000977,
0.007345151901245117,
0.007321599960327148,
0.0074700798988342285,
0.0073400321006774905,
0.007363584041595459,
0.007079936027526855,
0.007047167778015137,
0.0070594558715820314,
0.007073791980743408,
0.007050240039825439,
0.007080959796905518,
0.007032832145690918,
0.007058432102203369,
0.007051263809204102,
0.0070522880554199216,
0.007020544052124023,
0.007064576148986816,
0.007064576148986816,
0.00714035177230835,
0.007058432102203369,
0.007041024208068848,
0.007094272136688232,
0.0070256638526916505,
0.007045119762420654,
0.007011392116546631,
0.007015423774719238,
0.007001088142395019,
0.007023615837097168,
0.006994944095611572,
0.0070266880989074704,
0.007003136157989502,
0.007003136157989502,
0.007045119762420654,
0.007064576148986816,
0.007085055828094483,
0.007123968124389648,
0.007088128089904785,
0.0070522880554199216,
0.007071743965148926,
0.007008255958557129,
0.0069816322326660156,
0.006978559970855713,
0.007031807899475098,
0.006978559970855713,
0.007010272026062012
]
},
"throughput": {
"unit": "samples/s",
"value": 135.31682774314322
},
"energy": {
"unit": "kWh",
"cpu": 8.490021148371318e-08,
"ram": 4.6411840899704005e-08,
"gpu": 1.5879576195714423e-07,
"total": 2.901078143405614e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3446994.3606072147
}
}
}
}