summaryrefslogtreecommitdiff
path: root/examples/llava/llava-surgery.py
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2024-02-09 14:00:59 +0100
committerGitHub <noreply@github.com>2024-02-09 15:00:59 +0200
commite00d2a62dd1441e3b089570ec06d05c18800d368 (patch)
tree15463fdd08e00aa1a5df6a73976cbe74d8dd5cda /examples/llava/llava-surgery.py
parent7c777fcd5dd4af7079e33390cf6a19c328a2666f (diff)
llava : add requirements.txt and update README.md (#5428)
* llava: add requirements.txt and update README.md This commit adds a `requirements.txt` file to the `examples/llava` directory. This file contains the required Python packages to run the scripts in the `examples/llava` directory. The motivation of this to make it easier for users to run the scripts in `examples/llava`. This will avoid users from having to possibly run into missing package issues if the packages are not installed on their system. Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com> * llava: fix typo in llava-surgery.py output Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com> --------- Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'examples/llava/llava-surgery.py')
-rw-r--r--examples/llava/llava-surgery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/llava/llava-surgery.py b/examples/llava/llava-surgery.py
index 515f6b58..0a61efdf 100644
--- a/examples/llava/llava-surgery.py
+++ b/examples/llava/llava-surgery.py
@@ -42,5 +42,5 @@ if len(clip_tensors) > 0:
torch.save(checkpoint, path)
print("Done!")
-print(f"Now you can convert {args.model} to a a regular LLaMA GGUF file.")
+print(f"Now you can convert {args.model} to a regular LLaMA GGUF file.")
print(f"Also, use {args.model}/llava.projector to prepare a llava-encoder.gguf file.")