IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5595b95 verified
raw
history blame
9.16 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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.588096,
"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.13509912109375,
"mean": 7.13509912109375,
"stdev": 0.0,
"p50": 7.13509912109375,
"p90": 7.13509912109375,
"p95": 7.13509912109375,
"p99": 7.13509912109375,
"values": [
7.13509912109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0628902249866063e-06,
"ram": 5.66566426408599e-07,
"gpu": 1.7838903159997366e-06,
"total": 3.413346967394942e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.929472,
"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.0073941745758057,
"mean": 0.01343192232767741,
"stdev": 0.0004532646404506882,
"p50": 0.013192192077636718,
"p90": 0.013905920028686524,
"p95": 0.014346240043640135,
"p99": 0.014922403793334961,
"values": [
0.015029248237609863,
0.014655488014221191,
0.01425100803375244,
0.014568448066711426,
0.01488486385345459,
0.013368320465087891,
0.01317683219909668,
0.013190143585205078,
0.014144512176513671,
0.01389568042755127,
0.013727744102478028,
0.013721599578857421,
0.013751296043395997,
0.013666303634643554,
0.013654111862182617,
0.013667327880859375,
0.013184000015258789,
0.013215776443481445,
0.013046784400939941,
0.01305504035949707,
0.013009920120239257,
0.01300483226776123,
0.013034560203552247,
0.01306214427947998,
0.013007871627807617,
0.013030400276184082,
0.013283295631408691,
0.013162495613098145,
0.013147135734558106,
0.013104127883911134,
0.013127679824829102,
0.013112319946289062,
0.013094976425170898,
0.013234175682067872,
0.013148159980773925,
0.01315839958190918,
0.013102080345153809,
0.01303756809234619,
0.013003775596618652,
0.01298534393310547,
0.01306009578704834,
0.013194239616394043,
0.013118464469909668,
0.013120512008666992,
0.013148159980773925,
0.013123583793640137,
0.013094911575317383,
0.013156352043151855,
0.013717503547668456,
0.013923328399658203,
0.013905920028686524,
0.013905920028686524,
0.013838335990905762,
0.01366329574584961,
0.013674495697021484,
0.01366528034210205,
0.013718527793884277,
0.01367961597442627,
0.013698047637939453,
0.013647871971130371,
0.013640704154968262,
0.01368064022064209,
0.013713408470153808,
0.013715456008911133,
0.013302783966064453,
0.013192192077636718,
0.01316044807434082,
0.013234175682067872,
0.013108223915100097,
0.01315839958190918,
0.013140992164611816,
0.013171711921691894,
0.013095935821533204,
0.013090815544128418,
0.013228032112121582
]
},
"throughput": {
"unit": "samples/s",
"value": 74.44950734560388
},
"energy": {
"unit": "kWh",
"cpu": 1.5513874794669654e-07,
"ram": 8.482761010981222e-08,
"gpu": 3.440442867792159e-07,
"total": 5.840106448357246e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1712297.5562907562
}
}
}
}