IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
770abba verified
raw
history blame
7.84 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.450112,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.010673343658447,
"mean": 0.014438190623692103,
"stdev": 0.0004596305556127926,
"p50": 0.01428121566772461,
"p90": 0.014581551837921142,
"p95": 0.015744717168807983,
"p99": 0.016232212028503418,
"values": [
0.01617919921875,
0.016350208282470705,
0.016087039947509766,
0.01584332847595215,
0.014504960060119629,
0.014267328262329102,
0.014301183700561524,
0.014335935592651367,
0.014304256439208985,
0.01440665626525879,
0.014302207946777343,
0.014356479644775391,
0.014193663597106934,
0.01419878387451172,
0.014258175849914552,
0.014234623908996581,
0.014260224342346191,
0.014235679626464843,
0.014938112258911132,
0.014262271881103515,
0.01457151985168457,
0.015624192237854004,
0.014420991897583007,
0.014270463943481445,
0.014329792022705078,
0.014392319679260255,
0.01428377628326416,
0.014258175849914552,
0.014237695693969727,
0.014242752075195313,
0.014264320373535156,
0.01432476806640625,
0.014309375762939454,
0.014258175849914552,
0.0142807035446167,
0.014276608467102051,
0.014271488189697265,
0.01427353572845459,
0.01451417636871338,
0.014671839714050294,
0.014445568084716797,
0.01457151985168457,
0.014520319938659668,
0.014309375762939454,
0.014326720237731934,
0.01431651210784912,
0.014254079818725587,
0.014393343925476074,
0.01426636791229248,
0.014320639610290528,
0.014224384307861328,
0.014231552124023437,
0.01427558422088623,
0.01427353572845459,
0.014351360321044922,
0.014208000183105468,
0.014368767738342286,
0.014229503631591797,
0.014313471794128419,
0.014235648155212402,
0.014244864463806153,
0.014195712089538574,
0.01420902442932129,
0.01428172779083252,
0.014173184394836426,
0.014341119766235352,
0.014246912002563476,
0.01426534366607666,
0.01420902442932129,
0.014173184394836426
]
},
"throughput": {
"unit": "samples/s",
"value": 69.26075614759283
},
"energy": {
"unit": "kWh",
"cpu": 1.6798623057784796e-07,
"ram": 9.178775336026071e-08,
"gpu": 3.7903003718308967e-07,
"total": 6.388040211211983e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1565425.3369364326
}
}
}
}