IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
09190b0 verified
raw
history blame
8.92 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.45.0",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.551488,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 0.20775526428222657,
"mean": 0.20775526428222657,
"stdev": 0.0,
"p50": 0.20775526428222657,
"p90": 0.20775526428222657,
"p95": 0.20775526428222657,
"p99": 0.20775526428222657,
"values": [
0.20775526428222657
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4413154348217686e-06,
"ram": 1.3191674063982213e-06,
"gpu": 3.612780667960891e-06,
"total": 7.373263509180881e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.84352,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.011129566192627,
"mean": 0.014654051683951116,
"stdev": 0.000853694851777217,
"p50": 0.014578751564025879,
"p90": 0.015185094261169435,
"p95": 0.015653888130187987,
"p99": 0.0179775891113281,
"values": [
0.015210463523864745,
0.01574195194244385,
0.015903743743896484,
0.015178751945495606,
0.014642175674438476,
0.015097855567932129,
0.014534655570983887,
0.01459712028503418,
0.014891008377075195,
0.01478553581237793,
0.01386393642425537,
0.0139202880859375,
0.01395404815673828,
0.014065664291381836,
0.01397657585144043,
0.01460428810119629,
0.014755840301513673,
0.014592000007629394,
0.014578687667846679,
0.014630911827087402,
0.01453264045715332,
0.0146626558303833,
0.014963711738586426,
0.01485209560394287,
0.014635007858276367,
0.01468518352508545,
0.014818304061889649,
0.014713855743408203,
0.01477222442626953,
0.01458073616027832,
0.014743552207946778,
0.01471180820465088,
0.014610431671142577,
0.014578751564025879,
0.014584832191467285,
0.015394816398620606,
0.016893951416015626,
0.020280319213867186,
0.0155217924118042,
0.014854144096374512,
0.014507007598876954,
0.014574591636657714,
0.014556159973144531,
0.01437491226196289,
0.014502911567687989,
0.014460927963256836,
0.014601216316223145,
0.015143936157226562,
0.014626815795898437,
0.014499839782714843,
0.014431296348571777,
0.014319616317749024,
0.014144512176513671,
0.014116864204406738,
0.014047264099121094,
0.014181376457214356,
0.014056447982788087,
0.01415167999267578,
0.014052351951599122,
0.014109696388244629,
0.01406873607635498,
0.01407487964630127,
0.014090239524841308,
0.014104576110839843,
0.014053376197814941,
0.014117919921875,
0.014047231674194336,
0.014150655746459961,
0.014046208381652832
]
},
"throughput": {
"unit": "samples/s",
"value": 68.24051269692082
},
"energy": {
"unit": "kWh",
"cpu": 1.5934828780491785e-07,
"ram": 8.659747369205923e-08,
"gpu": 3.466076846928938e-07,
"total": 5.925534461898707e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1687611.4828628842
}
}
}
}