Commit
·
628cf4f
1
Parent(s):
66e3763
- .huggingface.yml +19 -0
.huggingface.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# .huggingface.yml
|
| 2 |
+
# Configures the Space build and runtime environment
|
| 3 |
+
|
| 4 |
+
sdk: python
|
| 5 |
+
python_version: "3.10"
|
| 6 |
+
|
| 7 |
+
env:
|
| 8 |
+
# Force oneDNN to use BF16 math when available
|
| 9 |
+
DNNL_DEFAULT_FPMATH_MODE: BF16
|
| 10 |
+
# Enable verbose oneDNN kernel logging (see logs at startup/inference)
|
| 11 |
+
ONEDNN_VERBOSE: "1"
|
| 12 |
+
# Optional: limit MKL threading to avoid oversubscription
|
| 13 |
+
OMP_NUM_THREADS: "16"
|
| 14 |
+
KMP_AFFINITY: "granularity=fine,compact,1,0"
|
| 15 |
+
|
| 16 |
+
# Optional: if you want deterministic installs, you can specify a custom pip index
|
| 17 |
+
# and requirements
|
| 18 |
+
# requirements_file: requirements.txt
|
| 19 |
+
|