IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
070b07c verified
raw
history blame
7.79 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",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.355904,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.007857539176941,
"mean": 0.014606631002564364,
"stdev": 0.00042881203946817324,
"p50": 0.01458892822265625,
"p90": 0.015052793884277344,
"p95": 0.015431270027160644,
"p99": 0.015984466018676754,
"values": [
0.015372287750244141,
0.016288736343383788,
0.015841279983520508,
0.015065055847167969,
0.014686207771301269,
0.014623647689819335,
0.014551103591918945,
0.01456332778930664,
0.014806015968322754,
0.014712863922119141,
0.01461251163482666,
0.014684160232543946,
0.014809087753295898,
0.0149616641998291,
0.014672896385192872,
0.014992416381835938,
0.01458892822265625,
0.014501888275146485,
0.01449779224395752,
0.01460531234741211,
0.015048704147338866,
0.014977024078369141,
0.01467801570892334,
0.014731264114379883,
0.015213567733764649,
0.014618623733520507,
0.0145797119140625,
0.014717951774597168,
0.014859264373779296,
0.014538751602172852,
0.014555071830749512,
0.014534655570983887,
0.014871552467346191,
0.015049728393554687,
0.015543295860290527,
0.014715904235839844,
0.01469644832611084,
0.014564352035522461,
0.014459903717041016,
0.014418944358825684,
0.014322688102722168,
0.014484448432922363,
0.014593024253845215,
0.014726143836975097,
0.01547059154510498,
0.014495743751525878,
0.01430835247039795,
0.014171135902404786,
0.014272512435913086,
0.01459712028503418,
0.014600192070007324,
0.01448960018157959,
0.014204928398132324,
0.01420083236694336,
0.01409945583343506,
0.014109696388244629,
0.01459404754638672,
0.014120896339416504,
0.014147616386413575,
0.014047231674194336,
0.014136320114135742,
0.014081024169921874,
0.014155776023864745,
0.014064640045166015,
0.01409126377105713,
0.014136320114135742,
0.014081024169921874,
0.01415987205505371,
0.01408512020111084
]
},
"throughput": {
"unit": "samples/s",
"value": 68.46205670728851
},
"energy": {
"unit": "kWh",
"cpu": 1.6701714492138522e-07,
"ram": 9.093868306232858e-08,
"gpu": 3.466360797777796e-07,
"total": 6.045919077614934e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1654008.2445074536
}
}
}
}