IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ddab3de verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 718.462976,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.197869140625,
"mean": 7.197869140625,
"stdev": 0.0,
"p50": 7.197869140625,
"p90": 7.197869140625,
"p95": 7.197869140625,
"p99": 7.197869140625,
"values": [
7.197869140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.84251958794064e-07,
"ram": 4.689391603604539e-07,
"gpu": 1.8313903539994396e-06,
"total": 3.1845814731539576e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.475328,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0004951348304751,
"mean": 0.007411075072818333,
"stdev": 0.00022066365550758396,
"p50": 0.007423999786376953,
"p90": 0.007671398258209229,
"p95": 0.007715328025817871,
"p99": 0.007891558408737181,
"values": [
0.007911424160003662,
0.007895040035247802,
0.007863296031951903,
0.00783561611175537,
0.00788479995727539,
0.007703551769256592,
0.007612415790557861,
0.00764415979385376,
0.007582719802856445,
0.007574495792388916,
0.0075725440979003905,
0.0074926080703735356,
0.007601151943206787,
0.007532544136047363,
0.007561215877532959,
0.007636991977691651,
0.0076267518997192385,
0.007617536067962646,
0.007497759819030761,
0.00753766393661499,
0.007643167972564697,
0.007617536067962646,
0.007671807765960693,
0.00759603214263916,
0.007584767818450928,
0.007671807765960693,
0.007635968208312988,
0.007589888095855713,
0.007639039993286132,
0.007505919933319092,
0.007223296165466309,
0.007502848148345947,
0.007535583972930908,
0.007561215877532959,
0.007588863849639893,
0.007540736198425293,
0.007672832012176513,
0.007707647800445557,
0.007656447887420655,
0.007641088008880615,
0.007293951988220215,
0.007277567863464355,
0.007444479942321777,
0.007302144050598145,
0.007326720237731933,
0.007337984085083008,
0.007646207809448242,
0.007494656085968018,
0.007504896163940429,
0.007566336154937744,
0.007670783996582031,
0.0074700798988342285,
0.007557119846343994,
0.007561215877532959,
0.007580671787261963,
0.007513088226318359,
0.007517183780670166,
0.007611392021179199,
0.007669760227203369,
0.007710720062255859,
0.007726079940795898,
0.00778547191619873,
0.007613440036773681,
0.007556096076965332,
0.007528448104858398,
0.007571455955505371,
0.007607295989990235,
0.007478271961212158,
0.007402495861053467,
0.007379968166351319,
0.007679999828338623,
0.007401472091674805,
0.00728166389465332,
0.0071526398658752445,
0.007288832187652588,
0.007423999786376953,
0.007520256042480469,
0.007476223945617676,
0.007377920150756836,
0.007617536067962646,
0.0073994240760803225,
0.007188479900360107,
0.007165952205657959,
0.007194528102874756,
0.007129087924957276,
0.00713318395614624,
0.007153728008270264,
0.0072499198913574215,
0.007163904190063477,
0.007122943878173828,
0.007300096035003662,
0.007126016139984131,
0.007173120021820068,
0.007177216053009033,
0.007156735897064209,
0.007161856174468994,
0.0071157760620117185,
0.007129087924957276,
0.007160831928253173,
0.007128064155578613,
0.007416831970214844,
0.007159808158874512,
0.00713318395614624,
0.007204927921295166,
0.007145472049713135,
0.007175168037414551,
0.007186431884765625,
0.00727347183227539,
0.007163904190063477,
0.007336959838867187,
0.007187456130981445,
0.007134208202362061,
0.007137279987335205,
0.007146495819091797,
0.007111680030822754,
0.007196671962738037,
0.007160799980163574,
0.007238656044006348,
0.007144447803497315,
0.007163904190063477,
0.007535679817199707,
0.007165952205657959,
0.007178239822387696,
0.007332863807678222,
0.007147520065307617,
0.007138304233551026,
0.007269375801086426,
0.0071823358535766605,
0.007162879943847656,
0.00719155216217041,
0.007142399787902832,
0.007300096035003662,
0.007135168075561523,
0.007252992153167725,
0.007114751815795899
]
},
"throughput": {
"unit": "samples/s",
"value": 134.93318987790437
},
"energy": {
"unit": "kWh",
"cpu": 8.422088867289707e-08,
"ram": 4.6049470060297485e-08,
"gpu": 1.66938667829789e-07,
"total": 2.9720902656298353e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3364635.3597140275
}
}
}
}