IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
396705e verified
raw
history blame
9.12 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.548544,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.02412841796875,
"mean": 8.02412841796875,
"stdev": 0.0,
"p50": 8.02412841796875,
"p90": 8.02412841796875,
"p95": 8.02412841796875,
"p99": 8.02412841796875,
"values": [
8.02412841796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3935113756831726e-06,
"ram": 1.2929101550771306e-06,
"gpu": 3.2605581640060555e-06,
"total": 6.946979694766358e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.243136,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.010515203475952,
"mean": 0.013655610857783137,
"stdev": 0.000640821687938755,
"p50": 0.013304831981658934,
"p90": 0.01424476137161255,
"p95": 0.014811238670349116,
"p99": 0.01592958228111267,
"values": [
0.016002208709716796,
0.01590272045135498,
0.015699968338012696,
0.01548083209991455,
0.0135731201171875,
0.01316966438293457,
0.013247488021850586,
0.013190143585205078,
0.013275135993957519,
0.013319168090820312,
0.013632512092590332,
0.013378560066223144,
0.013268992424011231,
0.013222911834716796,
0.013244416236877441,
0.013211647987365722,
0.013189120292663574,
0.013217791557312012,
0.013201408386230469,
0.013202431678771973,
0.013248512268066406,
0.013203455924987792,
0.013156352043151855,
0.013290495872497558,
0.01314409637451172,
0.013132800102233886,
0.01315225601196289,
0.013175807952880859,
0.01316044807434082,
0.013170687675476075,
0.013202431678771973,
0.013178879737854005,
0.013163519859313964,
0.01319321632385254,
0.013174752235412597,
0.013196288108825683,
0.013455360412597657,
0.013229056358337403,
0.013153280258178711,
0.013204480171203613,
0.013210623741149903,
0.01317478370666504,
0.01316044807434082,
0.013201408386230469,
0.013175807952880859,
0.01316966438293457,
0.013480959892272949,
0.013915136337280273,
0.01397555160522461,
0.013938688278198242,
0.013961215972900391,
0.013917183876037598,
0.013933568000793458,
0.013918208122253419,
0.014292991638183594,
0.014392319679260255,
0.014422016143798828,
0.014450688362121582,
0.014132224082946777,
0.014079999923706055,
0.01394380760192871,
0.013942848205566407,
0.013917183876037598,
0.013894656181335448,
0.013875200271606445,
0.013938688278198242,
0.013896703720092773,
0.01395404815673828,
0.013920255661010742,
0.013883392333984374,
0.014050335884094238,
0.013903871536254882,
0.013940735816955567,
0.013933568000793458
]
},
"throughput": {
"unit": "samples/s",
"value": 73.22997194446567
},
"energy": {
"unit": "kWh",
"cpu": 1.642784221364283e-07,
"ram": 8.967811645705073e-08,
"gpu": 3.3338306731512293e-07,
"total": 5.87339605908602e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1702592.4864253297
}
}
}
}