You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LanguageID sample updates: IPEX, BF16, script clean up (#1411)
* Add new oneAPI Sample IPEX Inference Optimization
* Replacing random.randint() with random.sample()
* Add support for IPEX BF16 and INT8 model option
* Revert "Add support for IPEX BF16 and INT8 model option"
This reverts commit 2b987db.
* Add options for BF16 and INT8 model
* updates from latest testing, README updates
* fix typo
* update train_ecapa patch file
* apply torchscript to multiple model modules, update initialize scripts to PyTorch 1.13.1, IPEX 1.13.10
parser.add_argument('-d', type=int, default=3, help="Duration of each wave sample in seconds")
83
136
parser.add_argument('-s', type=int, default=5, help="Sample size of waves to be taken from the audio file")
84
137
parser.add_argument('--ipex', action="store_true", default=False, help="Enable Intel Extension for PyTorch (IPEX) optimizations")
138
+
parser.add_argument('--bf16', action="store_true", default=False, help="Use bfloat16 precision (supported on 4th Gen Xeon Scalable Processors or newer")
139
+
parser.add_argument('--int8_model', action="store_true", default=False, help="Run inference with INT8 model generated from Intel Neural Compressor (INC)")
parser.add_argument('-s', type=int, default=100, help="Sample size of waves to be taken from the audio file")
87
140
parser.add_argument('--vad', action="store_true", default=False, help="Use Voice Activity Detection (VAD) to extract only the speech segments of the audio file")
88
141
parser.add_argument('--ipex', action="store_true", default=False, help="Enable Intel Extension for PyTorch (IPEX) optimizations")
142
+
parser.add_argument('--bf16', action="store_true", default=False, help="Use bfloat16 precision (supported on 4th Gen Xeon Scalable Processors or newer")
143
+
parser.add_argument('--int8_model', action="store_true", default=False, help="Run inference with INT8 model generated from Intel Neural Compressor (INC)")
89
144
parser.add_argument('--ground_truth_compare', action="store_true", default=False, help="Enable comparison of prediction labels to ground truth values")
0 commit comments