IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d113076
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+rocm5.7", | |
"_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": "5", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 969.162752, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43863.113728, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4435361328125, | |
"mean": 8.4435361328125, | |
"stdev": 0.0, | |
"p50": 8.4435361328125, | |
"p90": 8.4435361328125, | |
"p95": 8.4435361328125, | |
"p99": 8.4435361328125, | |
"values": [ | |
8.4435361328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1111.687168, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 291446.90688, | |
"max_reserved": 773.849088, | |
"max_allocated": 745.086976 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 75, | |
"total": 1.0064984035491942, | |
"mean": 0.01341997871398926, | |
"stdev": 0.0012380696574112002, | |
"p50": 0.013084443092346191, | |
"p90": 0.014443574905395508, | |
"p95": 0.014501830673217773, | |
"p99": 0.019788861465454107, | |
"values": [ | |
0.013793880462646485, | |
0.013188761711120605, | |
0.01323436164855957, | |
0.01342044162750244, | |
0.013084443092346191, | |
0.013108602523803711, | |
0.013580281257629395, | |
0.013075483322143555, | |
0.012938523292541504, | |
0.013002042770385741, | |
0.012969562530517578, | |
0.012881563186645508, | |
0.013447961807250976, | |
0.013111163139343261, | |
0.013191322326660156, | |
0.01291580295562744, | |
0.012914202690124511, | |
0.01366396141052246, | |
0.013129562377929687, | |
0.01314028263092041, | |
0.013310042381286621, | |
0.013147642135620117, | |
0.013227642059326172, | |
0.013462681770324707, | |
0.013222522735595703, | |
0.013269721984863281, | |
0.013312121391296387, | |
0.013140763282775879, | |
0.013077402114868164, | |
0.019476903915405273, | |
0.012786362648010254, | |
0.013065723419189454, | |
0.012770362854003906, | |
0.01277884292602539, | |
0.013016762733459473, | |
0.012757404327392578, | |
0.01273404312133789, | |
0.012694523811340333, | |
0.01270892333984375, | |
0.012930843353271484, | |
0.01292140293121338, | |
0.01337196159362793, | |
0.012754363059997558, | |
0.012757244110107422, | |
0.012745403289794921, | |
0.012742363929748535, | |
0.01272636318206787, | |
0.012733083724975586, | |
0.012774843215942383, | |
0.012769723892211914, | |
0.012747962951660157, | |
0.012733243942260742, | |
0.012742202758789062, | |
0.012753724098205566, | |
0.01273580265045166, | |
0.012727964401245117, | |
0.012755642890930176, | |
0.01362860107421875, | |
0.014491318702697754, | |
0.01393612003326416, | |
0.014411958694458007, | |
0.014526358604431152, | |
0.014428439140319825, | |
0.01444843864440918, | |
0.014349879264831543, | |
0.014436279296875, | |
0.014481078147888184, | |
0.014532599449157715, | |
0.014488598823547364, | |
0.020676740646362303, | |
0.013192601203918457, | |
0.01280972385406494, | |
0.012939323425292968, | |
0.01291196346282959, | |
0.013631641387939453 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 74.51576647864424 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |