IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0f6ac77 verified
raw
history blame
9.12 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"model_type": "deberta-v2",
"model": "microsoft/deberta-v3-base",
"processor": "microsoft/deberta-v3-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.43.1",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.612672,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.236951171875,
"mean": 7.236951171875,
"stdev": 0.0,
"p50": 7.236951171875,
"p90": 7.236951171875,
"p95": 7.236951171875,
"p99": 7.236951171875,
"values": [
7.236951171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0940316650602554e-06,
"ram": 5.816122314425342e-07,
"gpu": 1.8741681660000217e-06,
"total": 3.5498120625028113e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.978624,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0004031057357787,
"mean": 0.013518960888321337,
"stdev": 0.00042645306467285174,
"p50": 0.013567488193511962,
"p90": 0.014061158466339112,
"p95": 0.014207078647613525,
"p99": 0.01467279335975647,
"values": [
0.014874624252319337,
0.014598143577575684,
0.013903871536254882,
0.013622271537780761,
0.013601792335510255,
0.013641728401184081,
0.013443072319030762,
0.01359769630432129,
0.01368166446685791,
0.013697024345397948,
0.013488127708435058,
0.013726719856262207,
0.013633536338806153,
0.013617152214050294,
0.013559840202331542,
0.013606911659240722,
0.013493247985839844,
0.013478912353515626,
0.013468671798706054,
0.013503487586975099,
0.01386291217803955,
0.013839360237121581,
0.013741056442260742,
0.013511679649353027,
0.013845439910888671,
0.013504511833190918,
0.013656064033508301,
0.013599743843078613,
0.013701120376586913,
0.013458432197570801,
0.01348300838470459,
0.013478912353515626,
0.013798399925231934,
0.013998080253601074,
0.013843456268310546,
0.013660160064697266,
0.01360588836669922,
0.013560832023620606,
0.013574144363403321,
0.013401087760925292,
0.013412351608276368,
0.014149632453918457,
0.013926400184631347,
0.014204928398132324,
0.014118911743164063,
0.01425715160369873,
0.014088191986083985,
0.014211071968078613,
0.013910016059875489,
0.013650943756103515,
0.013678591728210449,
0.013661184310913087,
0.013022208213806152,
0.012970047950744629,
0.01311849594116211,
0.013035519599914551,
0.012942336082458495,
0.013117440223693847,
0.012932095527648926,
0.012922880172729492,
0.012939264297485351,
0.012956671714782715,
0.012937215805053711,
0.012948479652404785,
0.012957695960998536,
0.013117504119873048,
0.012957695960998536,
0.013089792251586914,
0.012962847709655763,
0.012989439964294434,
0.01295257568359375,
0.012956671714782715,
0.0129617919921875,
0.012982272148132324
]
},
"throughput": {
"unit": "samples/s",
"value": 73.97018219528047
},
"energy": {
"unit": "kWh",
"cpu": 1.5665622351810947e-07,
"ram": 8.543569180856294e-08,
"gpu": 3.4277805199999606e-07,
"total": 5.848699673266685e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1709781.756397603
}
}
}
}