chore: Fixup requirements and build

This commit is contained in:
ditsuke 2024-07-02 15:35:43 +05:30 committed by Someone
parent de14e2ea2b
commit 07786a61a2
6 changed files with 11 additions and 7 deletions

View File

@ -156,7 +156,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/llama-config.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/llama)
install(
FILES convert-hf-to-gguf.py
FILES convert_hf_to_gguf.py
PERMISSIONS
OWNER_READ
OWNER_WRITE
@ -165,6 +165,8 @@ install(
GROUP_EXECUTE
WORLD_READ
WORLD_EXECUTE
RENAME
convert-hf-to-gguf.py
DESTINATION ${CMAKE_INSTALL_BINDIR})
configure_file(cmake/llama.pc.in

View File

@ -1,3 +1,3 @@
-r ../../requirements/requirements-convert-legacy-llama.txt
pillow~=10.2.0
torch~=2.1.1
torch~=2.2.1

View File

@ -41,4 +41,4 @@ llama-convert-llama-ggml-to-gguf = "convert_llama_ggml_to_gguf:main"
llama-convert-lora-to-ggml = "convert_lora_to_ggml:main"
llama-convert-persimmon-to-gguf = "convert_persimmon_to_gguf:main"
llama-convert = "convert:main"
llama-ggml_vk_generate_shaders = "ggml_vk_generate_shaders:main"
llama-ggml-vk-generate-shaders = "ggml_vk_generate_shaders:main"

View File

@ -9,3 +9,5 @@
-r ./requirements/requirements-convert_hf_to_gguf.txt
-r ./requirements/requirements-convert_hf_to_gguf_update.txt
-r ./requirements/requirements-convert_llama_ggml_to_gguf.txt
-r ./requirements/requirements-convert_lora_to_ggml.txt
-r ./requirements/requirements-convert_persimmon_to_gguf.txt

View File

@ -1,3 +1,3 @@
-r ./requirements-convert.txt
torch~=2.1.1
-r ./requirements-convert-legacy-llama.txt
torch~=2.2.1

View File

@ -1,3 +1,3 @@
-r ./requirements-convert.txt
torch~=2.1.1
-r ./requirements-convert-legacy-llama.txt
torch~=2.2.1