hsuwill000 commited on
Commit
6daf3d6
·
verified ·
1 Parent(s): f8182c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"] = "-DLLAMA_AVX512=ON -DLLAMA_AVX512_VNNI=ON"
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) ---")