IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e7d7ded verified
raw
history blame
8.76 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 813.75232,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.05673164749145508
],
"count": 1,
"total": 0.05673164749145508,
"mean": 0.05673164749145508,
"p50": 0.05673164749145508,
"p90": 0.05673164749145508,
"p95": 0.05673164749145508,
"p99": 0.05673164749145508,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.157248,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.015494144439697266,
0.01528326416015625,
0.015207424163818359,
0.015512576103210449,
0.01518899154663086,
0.015144960403442383,
0.015152128219604492,
0.015129599571228027,
0.015154175758361817,
0.01517363166809082,
0.015162367820739747,
0.015147007942199708,
0.015156224250793457,
0.015257599830627442,
0.015139840126037597,
0.015155200004577637,
0.015125503540039062,
0.015120384216308593,
0.015145983695983887,
0.015158271789550782,
0.015176704406738281,
0.015168512344360351,
0.015136768341064453,
0.015182847976684571,
0.015321087837219239,
0.015213567733764649,
0.015168512344360351,
0.015196160316467285,
0.015155167579650878,
0.015152128219604492,
0.015123456001281739,
0.01538764762878418,
0.015162367820739747,
0.015367168426513672,
0.015826911926269532,
0.016532480239868166,
0.015463423728942872,
0.01528012752532959,
0.015179776191711425,
0.014614527702331542,
0.014566399574279786,
0.01457254409790039,
0.014611455917358398,
0.014726143836975097,
0.014941184043884278,
0.014899200439453125,
0.014922752380371093,
0.014866432189941407,
0.014927871704101562,
0.01489408016204834,
0.01487667179107666,
0.014968832015991211,
0.01490329647064209,
0.014935040473937988,
0.014882816314697265,
0.014923775672912597,
0.014963711738586426,
0.014500864028930664,
0.014459903717041016,
0.014423040390014649,
0.014429183959960937,
0.01443222427368164,
0.014428159713745118,
0.014414848327636719,
0.01447116756439209,
0.014440447807312011,
0.014470144271850586
],
"count": 67,
"total": 1.0066708164215086,
"mean": 0.015024937558529981,
"p50": 0.015139840126037597,
"p90": 0.015339520072937013,
"p95": 0.015484928226470948,
"p99": 0.01606680515289307,
"stdev": 0.00036593256202416366,
"stdev_": 2.4355013829419603
},
"throughput": {
"unit": "samples/s",
"value": 133.11203405731007
},
"energy": {
"unit": "kWh",
"cpu": 1.7972948618477044e-07,
"ram": 9.818699714834713e-08,
"gpu": 3.942385308787814e-07,
"total": 6.72155014211899e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2975504.0990730356
}
}
}
}