IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8cec54b verified
raw
history blame
8.95 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.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": 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.261056,
"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.34.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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 793.731072,
"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.6400966796875,
"mean": 7.6400966796875,
"stdev": 0.0,
"p50": 7.6400966796875,
"p90": 7.6400966796875,
"p95": 7.6400966796875,
"p99": 7.6400966796875,
"values": [
7.6400966796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4116410611114247e-06,
"ram": 1.30617030306152e-06,
"gpu": 3.159446972000185e-06,
"total": 6.877258336173129e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1181.917184,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0080696983337405,
"mean": 0.014400995690482005,
"stdev": 0.0003902158254643151,
"p50": 0.014427648067474366,
"p90": 0.014715699005126953,
"p95": 0.01483371500968933,
"p99": 0.01593988079071045,
"values": [
0.016052223205566405,
0.015889408111572266,
0.014857215881347656,
0.014538751602172852,
0.014503935813903808,
0.014428159713745118,
0.01439027214050293,
0.01451417636871338,
0.014612480163574219,
0.014405632019042968,
0.014509056091308594,
0.014713855743408203,
0.01455513572692871,
0.014621696472167968,
0.01459001636505127,
0.014521344184875488,
0.014353407859802245,
0.014444543838500976,
0.014486528396606446,
0.014499839782714843,
0.014732288360595704,
0.014804991722106933,
0.014536704063415527,
0.014574591636657714,
0.014545920372009278,
0.014533632278442383,
0.014427136421203614,
0.014414848327636719,
0.014690303802490234,
0.014459903717041016,
0.014412863731384278,
0.014324735641479493,
0.014701567649841308,
0.014928895950317383,
0.014737407684326171,
0.014527487754821777,
0.014569472312927247,
0.014603263854980468,
0.014311360359191895,
0.014525440216064453,
0.01425920009613037,
0.014253055572509766,
0.014414848327636719,
0.014475263595581055,
0.014653440475463866,
0.014521344184875488,
0.014301183700561524,
0.014333951950073242,
0.014262271881103515,
0.014042112350463867,
0.013902848243713378,
0.01397760009765625,
0.01389568042755127,
0.013990912437438965,
0.013930496215820312,
0.013963264465332031,
0.013793279647827148,
0.013919232368469238,
0.013891584396362304,
0.013950976371765136,
0.013874176025390626,
0.01436569595336914,
0.01406156826019287,
0.014348287582397461,
0.014017536163330077,
0.014024703979492188,
0.01398476791381836,
0.013927424430847168,
0.013922304153442382,
0.01396019172668457
]
},
"throughput": {
"unit": "samples/s",
"value": 69.43964302835853
},
"energy": {
"unit": "kWh",
"cpu": 1.6383827027207266e-07,
"ram": 8.949996793629397e-08,
"gpu": 3.569827817808308e-07,
"total": 6.103210199891974e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1638481.9910310477
}
}
}
}