IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c92f243 verified
raw
history blame
8.9 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.252864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.99712,
"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.483568359375,
"mean": 7.483568359375,
"stdev": 0.0,
"p50": 7.483568359375,
"p90": 7.483568359375,
"p95": 7.483568359375,
"p99": 7.483568359375,
"values": [
7.483568359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0925412194446377e-06,
"ram": 5.827084418549121e-07,
"gpu": 1.7333347200002708e-06,
"total": 3.4085843812998207e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.708096,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0067732486724854,
"mean": 0.014590916647427324,
"stdev": 0.0008508603098990997,
"p50": 0.014584832191467285,
"p90": 0.015120793914794923,
"p95": 0.01554227180480957,
"p99": 0.01820319801330566,
"values": [
0.015821824073791502,
0.015465472221374512,
0.01479372787475586,
0.014414848327636719,
0.014348287582397461,
0.014340096473693848,
0.014729215621948242,
0.014947327613830566,
0.014951423645019531,
0.01497599983215332,
0.01487564754486084,
0.014521344184875488,
0.01458790397644043,
0.014631999969482421,
0.014444543838500976,
0.014475263595581055,
0.014352319717407226,
0.014386240005493165,
0.014328831672668458,
0.014393280029296875,
0.014584832191467285,
0.014496767997741699,
0.01559347152709961,
0.01883545684814453,
0.017905664443969727,
0.015015935897827149,
0.014867456436157226,
0.015113216400146484,
0.014821375846862793,
0.014870528221130372,
0.0150763521194458,
0.014932991981506348,
0.015455167770385742,
0.014792736053466798,
0.014453760147094727,
0.014804991722106933,
0.014968832015991211,
0.014820351600646972,
0.014437376022338867,
0.014282719612121582,
0.014363679885864258,
0.014637056350708008,
0.014744576454162597,
0.015032320022583008,
0.015151103973388673,
0.014881792068481446,
0.014691360473632812,
0.014614527702331542,
0.014830592155456544,
0.01425100803375244,
0.013771776199340821,
0.01368883228302002,
0.013719552040100098,
0.013692928314208984,
0.013729791641235351,
0.013700096130371094,
0.01366323184967041,
0.013734911918640137,
0.01368166446685791,
0.013729791641235351,
0.013684736251831055,
0.014648320198059082,
0.014017536163330077,
0.013724672317504882,
0.01367142391204834,
0.013675519943237305,
0.013666303634643554,
0.013737983703613281,
0.013720576286315917
]
},
"throughput": {
"unit": "samples/s",
"value": 68.53579005101919
},
"energy": {
"unit": "kWh",
"cpu": 1.6392140839042266e-07,
"ram": 8.953438515405354e-08,
"gpu": 3.526715150136917e-07,
"total": 6.061273085581679e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1649818.4224346553
}
}
}
}