IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e5a36aa verified
raw
history blame
10.3 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.289728,
"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": 910.188544,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9989077768325808,
"mean": 0.00774347113823706,
"stdev": 0.0002607245609967047,
"p50": 0.00783564805984497,
"p90": 0.008009728240966798,
"p95": 0.008088575744628906,
"p99": 0.008236892280578613,
"values": [
0.007982079982757568,
0.00809062385559082,
0.008220671653747558,
0.008196096420288086,
0.008102911949157715,
0.008243200302124023,
0.008034303665161132,
0.007986176013946533,
0.007928832054138184,
0.00790937614440918,
0.007933951854705811,
0.007903232097625732,
0.007856095790863037,
0.007954432010650634,
0.007896063804626464,
0.007915520191192627,
0.007939072132110595,
0.008023039817810058,
0.00800153636932373,
0.007932928085327149,
0.007906303882598878,
0.007937024116516114,
0.008002559661865234,
0.00800870418548584,
0.007970816135406494,
0.007996416091918946,
0.007996416091918946,
0.007903232097625732,
0.007923711776733398,
0.007921664237976075,
0.00789299201965332,
0.00783564805984497,
0.00783564805984497,
0.007847936153411865,
0.007841824054718017,
0.007820288181304931,
0.007848959922790527,
0.007918591976165772,
0.008013824462890624,
0.008041472434997558,
0.00799129581451416,
0.007912447929382324,
0.007875584125518798,
0.00786636781692505,
0.007935999870300293,
0.007907328128814697,
0.007925759792327881,
0.007929855823516846,
0.007797760009765625,
0.007878655910491944,
0.007822368144989014,
0.007976960182189942,
0.007949312210083008,
0.007794688224792481,
0.007823359966278077,
0.007870368003845215,
0.007855103969573975,
0.007827455997467042,
0.007837696075439453,
0.007921664237976075,
0.00799232006072998,
0.00800051212310791,
0.007960576057434082,
0.007940095901489258,
0.007932928085327149,
0.008085503578186035,
0.008479743957519532,
0.007902207851409913,
0.007872511863708496,
0.007745535850524903,
0.007635968208312988,
0.0076574721336364745,
0.007724031925201416,
0.007580671787261963,
0.007483391761779785,
0.007526400089263916,
0.007767039775848389,
0.007679999828338623,
0.007742464065551758,
0.007789567947387695,
0.007823359966278077,
0.008058879852294922,
0.007738368034362793,
0.008208383560180664,
0.007683072090148926,
0.007469056129455566,
0.007434239864349365,
0.00738099193572998,
0.007418879985809326,
0.007425024032592774,
0.007411712169647216,
0.007444479942321777,
0.007458816051483155,
0.007417856216430664,
0.00743936014175415,
0.007409664154052734,
0.00738918399810791,
0.007419904232025146,
0.00742195177078247,
0.0074414081573486324,
0.00740556812286377,
0.0074065918922424315,
0.007402495861053467,
0.007420928001403809,
0.007426047801971435,
0.007444479942321777,
0.00738918399810791,
0.0074291200637817386,
0.007428095817565918,
0.007388160228729248,
0.007412735939025879,
0.00743833589553833,
0.007435264110565186,
0.007412735939025879,
0.007442431926727295,
0.007435264110565186,
0.007390207767486572,
0.007418879985809326,
0.007401472091674805,
0.0074035201072692874,
0.007426047801971435,
0.007401472091674805,
0.007411712169647216,
0.007395328044891358,
0.007436287879943848,
0.007623680114746094,
0.007485439777374267,
0.007401472091674805,
0.0073870720863342286
]
},
"throughput": {
"unit": "samples/s",
"value": 129.1410508476006
},
"energy": {
"unit": "kWh",
"cpu": 8.705616411235599e-08,
"ram": 4.758963447407894e-08,
"gpu": 1.568873804117643e-07,
"total": 2.9153317899819927e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3430141.308225424
}
}
}
}