IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7a5d23c verified
raw
history blame
9.15 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.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": 707.805184,
"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.204259765625,
"mean": 7.204259765625,
"stdev": 0.0,
"p50": 7.204259765625,
"p90": 7.204259765625,
"p95": 7.204259765625,
"p99": 7.204259765625,
"values": [
7.204259765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0814726352691651e-06,
"ram": 5.769008720071156e-07,
"gpu": 1.6638902199999847e-06,
"total": 3.3222637272762655e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.863936,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0014832019805906,
"mean": 0.013353109359741207,
"stdev": 0.000513027643662067,
"p50": 0.013145088195800781,
"p90": 0.013909401893615725,
"p95": 0.014671564388275146,
"p99": 0.015082762088775636,
"values": [
0.01527295970916748,
0.014912511825561523,
0.01468518352508545,
0.015015935897827149,
0.013574144363403321,
0.013218815803527833,
0.013154303550720215,
0.013188096046447753,
0.013173760414123535,
0.013171711921691894,
0.013152223587036133,
0.013224960327148438,
0.013145088195800781,
0.013103103637695313,
0.013109248161315918,
0.013465632438659668,
0.01344102382659912,
0.013162495613098145,
0.013116415977478027,
0.013752320289611816,
0.01368883228302002,
0.013306879997253418,
0.013175807952880859,
0.013111295700073243,
0.013109248161315918,
0.013095935821533204,
0.013154303550720215,
0.013124608039855956,
0.013124608039855956,
0.01313587188720703,
0.012990464210510254,
0.013015040397644043,
0.012973055839538575,
0.013017087936401368,
0.012983296394348144,
0.012966912269592285,
0.013003775596618652,
0.013022208213806152,
0.01301296043395996,
0.012953599929809571,
0.013042688369750977,
0.01305907154083252,
0.013093888282775879,
0.013120512008666992,
0.013104127883911134,
0.013115391731262208,
0.01298739242553711,
0.013148159980773925,
0.013990912437438965,
0.014665727615356445,
0.014395392417907715,
0.014524415969848633,
0.01378713607788086,
0.013370368003845215,
0.013162495613098145,
0.01316864013671875,
0.013081600189208984,
0.013145088195800781,
0.012984319686889649,
0.012984319686889649,
0.013058048248291015,
0.013110272407531738,
0.013098976135253907,
0.013090815544128418,
0.013118464469909668,
0.013340671539306641,
0.013603839874267578,
0.013461503982543945,
0.013421567916870117,
0.013427712440490723,
0.01368064022064209,
0.01360588836669922,
0.013360128402709961,
0.013050880432128906,
0.013116415977478027
]
},
"throughput": {
"unit": "samples/s",
"value": 74.8889245987109
},
"energy": {
"unit": "kWh",
"cpu": 1.6514160152938632e-07,
"ram": 9.029100696802686e-08,
"gpu": 3.5341463458332746e-07,
"total": 6.088472430807406e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1642448.1039612554
}
}
}
}