IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
870cc25 verified
raw
history blame
7.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": "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": {},
"hub_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,
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.187392,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0094481916427611,
"mean": 0.013828057419763852,
"stdev": 0.000524276007705457,
"p50": 0.013813759803771973,
"p90": 0.014313472175598144,
"p95": 0.01499320316314697,
"p99": 0.01558552604675293,
"values": [
0.015321087837219239,
0.015568896293640137,
0.01562828826904297,
0.015215616226196289,
0.014110783576965331,
0.013884415626525879,
0.01420083236694336,
0.014844927787780762,
0.014370911598205567,
0.014386176109313965,
0.014109696388244629,
0.013880255699157715,
0.013993984222412109,
0.014191616058349609,
0.014065664291381836,
0.013813759803771973,
0.013923328399658203,
0.014142463684082032,
0.014082048416137695,
0.013999103546142578,
0.014004223823547364,
0.01387724781036377,
0.013910016059875489,
0.01399500846862793,
0.013827072143554688,
0.013780991554260253,
0.014105600357055664,
0.014211071968078613,
0.014019583702087402,
0.013859840393066406,
0.013947903633117676,
0.013727744102478028,
0.013845503807067871,
0.013601792335510255,
0.013552639961242676,
0.01394380760192871,
0.014152704238891601,
0.014339072227478027,
0.014101504325866699,
0.013966336250305175,
0.014003199577331543,
0.013811712265014648,
0.013805567741394043,
0.013789183616638183,
0.01339907169342041,
0.01335807991027832,
0.013360128402709961,
0.013364224433898926,
0.013415424346923829,
0.013340671539306641,
0.01337548828125,
0.013418496131896973,
0.013376511573791505,
0.013401087760925292,
0.013342783927917481,
0.013384703636169434,
0.013378560066223144,
0.013367360115051269,
0.013371456146240234,
0.013373439788818359,
0.013353919982910157,
0.013350879669189453,
0.01338368034362793,
0.013339648246765137,
0.013351936340332032,
0.013336607933044434,
0.013355008125305176,
0.013327360153198242,
0.013293567657470704,
0.013340671539306641,
0.013365247726440429,
0.013389823913574218,
0.013319168090820312
]
},
"throughput": {
"unit": "samples/s",
"value": 72.31673760413685
},
"energy": {
"unit": "kWh",
"cpu": 1.600326630804274e-07,
"ram": 8.738030096339772e-08,
"gpu": 3.615151040266736e-07,
"total": 6.089280680704987e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1642230.0965181077
}
}
}
}