IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
65d7502 verified
raw
history blame
8.98 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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.1",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.887104,
"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.210916015625,
"mean": 7.210916015625,
"stdev": 0.0,
"p50": 7.210916015625,
"p90": 7.210916015625,
"p95": 7.210916015625,
"p99": 7.210916015625,
"values": [
7.210916015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0823395517137318e-06,
"ram": 5.771538723173346e-07,
"gpu": 1.8475014780007515e-06,
"total": 3.506994902031818e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.220288,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 0.9993339214324952,
"mean": 0.014075125653978806,
"stdev": 0.00033791772444600446,
"p50": 0.014073856353759765,
"p90": 0.014496767997741699,
"p95": 0.014591519832611085,
"p99": 0.014772530841827392,
"values": [
0.014595071792602539,
0.013937664031982423,
0.014022656440734863,
0.013758463859558106,
0.013698047637939453,
0.013705216407775878,
0.013969408035278321,
0.014401535987854003,
0.014423040390014649,
0.014268416404724121,
0.01439846420288086,
0.01448857593536377,
0.014442496299743653,
0.01427558422088623,
0.014436351776123046,
0.014198847770690918,
0.014233599662780762,
0.01425100803375244,
0.01417523193359375,
0.01458796787261963,
0.014457856178283691,
0.014326815605163573,
0.014519295692443847,
0.014296064376831055,
0.014272512435913086,
0.014161919593811035,
0.014496767997741699,
0.01426636791229248,
0.014189567565917969,
0.014231552124023437,
0.01439027214050293,
0.014673919677734374,
0.014629887580871583,
0.014249983787536622,
0.015002623558044433,
0.01428275203704834,
0.014140416145324707,
0.014328831672668458,
0.014073856353759765,
0.01406668758392334,
0.01417728042602539,
0.014271488189697265,
0.014557184219360352,
0.014038016319274902,
0.013851648330688476,
0.013827072143554688,
0.014035903930664062,
0.014022656440734863,
0.01389568042755127,
0.013692928314208984,
0.013703167915344238,
0.013674495697021484,
0.013726719856262207,
0.013724672317504882,
0.013660160064697266,
0.013814784049987794,
0.01378707218170166,
0.01395199966430664,
0.013733887672424316,
0.013712384223937989,
0.013741056442260742,
0.013651968002319336,
0.013699071884155273,
0.013616127967834473,
0.013592576026916504,
0.013629440307617188,
0.013641728401184081,
0.013661184310913087,
0.013626367568969726,
0.01366323184967041,
0.013626367568969726
]
},
"throughput": {
"unit": "samples/s",
"value": 71.04732309919495
},
"energy": {
"unit": "kWh",
"cpu": 1.6181966116478493e-07,
"ram": 8.847666427101971e-08,
"gpu": 3.456797059729903e-07,
"total": 5.959760314087949e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1677919.8278094425
}
}
}
}