Skip to content

Commit

Permalink
chore: Fixup requirements and build
Browse files Browse the repository at this point in the history
  • Loading branch information
ditsuke authored and SomeoneSerge committed Jul 4, 2024
1 parent de14e2e commit 07786a6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/llava/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r ../../requirements/requirements-convert-legacy-llama.txt
pillow~=10.2.0
torch~=2.1.1
torch~=2.2.1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions requirements/requirements-convert_lora_to_ggml.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r ./requirements-convert.txt
torch~=2.1.1
-r ./requirements-convert-legacy-llama.txt
torch~=2.2.1

4 changes: 2 additions & 2 deletions requirements/requirements-convert_persimmon_to_gguf.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r ./requirements-convert.txt
torch~=2.1.1
-r ./requirements-convert-legacy-llama.txt
torch~=2.2.1

0 comments on commit 07786a6

Please sign in to comment.