Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def install_required_modules():
|
|
| 30 |
compile_env = os.environ.copy()
|
| 31 |
compile_env["FORCE_CMAKE"] = "1"
|
| 32 |
# Note: If your CPU does not support AVX512, this will cause a runtime error (Illegal instruction).
|
| 33 |
-
compile_env["CMAKE_ARGS"] = "-
|
| 34 |
# ----------------------------------------------------
|
| 35 |
|
| 36 |
print("--- Attempting Dynamic Installation/Upgrade (AVX-512 Compilation) ---")
|
|
|
|
| 30 |
compile_env = os.environ.copy()
|
| 31 |
compile_env["FORCE_CMAKE"] = "1"
|
| 32 |
# Note: If your CPU does not support AVX512, this will cause a runtime error (Illegal instruction).
|
| 33 |
+
compile_env["CMAKE_ARGS"] = "-DGGML_AVX512=ON -DGGML_AVX512_VNNI=ON -DGGML_AVX512_VBMI=ON -DLLAMA_CURL=OFF"
|
| 34 |
# ----------------------------------------------------
|
| 35 |
|
| 36 |
print("--- Attempting Dynamic Installation/Upgrade (AVX-512 Compilation) ---")
|