Added build time warnings for llama-cpp-python package and updated dependencies in pyproject.toml and requirements.txt
This commit is contained in:
+1
-1
@@ -106,6 +106,7 @@ def install_package(package_name, extra_args=None):
|
||||
command = [sys.executable, "-m", "pip", "install", package_name, "--no-cache-dir"]
|
||||
if extra_args:
|
||||
command.extend(extra_args.split())
|
||||
print("WARNING: Building the llama-cpp-python wheels can take UP TO AN HOUR due to the specific build conditions. This is not an error, just wait.")
|
||||
subprocess.check_call(command)
|
||||
|
||||
def package_is_installed(package_name):
|
||||
@@ -154,7 +155,6 @@ def install_llama(system_info):
|
||||
|
||||
# Build from source with appropriate acceleration
|
||||
try:
|
||||
print("WARNING: Building the llama-cpp-python wheels can take UP TO AN HOUR due to the specific build conditions. This is not an error, just wait.")
|
||||
if system_info.get('metal', False):
|
||||
print("Building llama-cpp-python from source with Metal support")
|
||||
os.environ['CMAKE_ARGS'] = "-DGGML_METAL=on"
|
||||
|
||||
+4
-1
@@ -16,7 +16,10 @@ dependencies = [
|
||||
"timm>=0.4.12",
|
||||
"tqdm>=4.65.0",
|
||||
"fairscale>=0.4.4",
|
||||
"rembg>=2.0.66" ]
|
||||
"rembg>=2.0.66",
|
||||
"diskcache>=5.6.1",
|
||||
"jinja2>=2.11.3",
|
||||
"typing-extensions>=4.5.0" ]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/LevelPixel/ComfyUI-LevelPixel-Advanced"
|
||||
|
||||
@@ -12,4 +12,7 @@ tqdm>=4.65.0
|
||||
fairscale>=0.4.4
|
||||
rembg>=2.0.66
|
||||
matplotlib
|
||||
diskcache>=5.6.1
|
||||
jinja2>=2.11.3
|
||||
typing-extensions>=4.5.0
|
||||
ram @ git+https://github.com/xinyu1205/recognize-anything.git
|
||||
|
||||
Reference in New Issue
Block a user