IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8939b78 verified
raw
history blame
9.11 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": {},
"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,
"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": 703.045632,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2223671875,
"mean": 7.2223671875,
"stdev": 0.0,
"p50": 7.2223671875,
"p90": 7.2223671875,
"p95": 7.2223671875,
"p99": 7.2223671875,
"values": [
7.2223671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.055712832344903e-06,
"ram": 5.62556988565556e-07,
"gpu": 1.6888902400003306e-06,
"total": 3.3071600609107898e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 985.33376,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0046935348510742,
"mean": 0.01357693966014965,
"stdev": 0.0006760278572735628,
"p50": 0.013684703826904296,
"p90": 0.014230003070831299,
"p95": 0.014408755302429199,
"p99": 0.01539349519729614,
"values": [
0.01567232036590576,
0.01529036808013916,
0.013928447723388672,
0.01446399974822998,
0.014148608207702636,
0.014064640045166015,
0.014033920288085937,
0.01415782356262207,
0.014219264030456542,
0.013991935729980469,
0.014173184394836426,
0.014143487930297852,
0.014375935554504395,
0.014014464378356933,
0.014144512176513671,
0.0139683837890625,
0.014056447982788087,
0.013384703636169434,
0.013437952041625977,
0.013615103721618652,
0.013703104019165038,
0.013626367568969726,
0.013433856010437012,
0.013642751693725585,
0.013434880256652832,
0.013985792160034179,
0.013998080253601074,
0.014191616058349609,
0.01400115203857422,
0.013980671882629395,
0.01396019172668457,
0.01423151969909668,
0.014379008293151856,
0.014328864097595215,
0.013413375854492187,
0.014044159889221192,
0.0140830717086792,
0.013899776458740234,
0.013760512351989745,
0.01377791976928711,
0.013666303634643554,
0.01374617576599121,
0.014047231674194336,
0.01422646427154541,
0.0140830717086792,
0.01448140811920166,
0.013608960151672364,
0.012972031593322754,
0.012923904418945312,
0.012884991645812988,
0.01287782382965088,
0.012786687850952149,
0.012805120468139648,
0.012768256187438964,
0.012774399757385254,
0.012767231941223145,
0.01275494384765625,
0.012801024436950683,
0.012770303726196289,
0.012790783882141114,
0.012727295875549317,
0.012777471542358398,
0.01277337646484375,
0.01276518440246582,
0.012800000190734863,
0.012805120468139648,
0.012789759635925293,
0.01284819221496582,
0.012761088371276855,
0.012777471542358398,
0.01285324764251709,
0.012804096221923827,
0.01276416015625,
0.012747776031494141
]
},
"throughput": {
"unit": "samples/s",
"value": 73.65430097145895
},
"energy": {
"unit": "kWh",
"cpu": 1.5989283058378433e-07,
"ram": 8.736950216966888e-08,
"gpu": 3.463484252266835e-07,
"total": 5.936107579801367e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1684605.5880164183
}
}
}
}