Skip to content

[WIP] Fix convert_models build and run issues #851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bplaxco
Copy link

@bplaxco bplaxco commented Feb 13, 2025

Status:

Fixing issues and errors as I come across them. Still working towards it converting a model.

Fixes:

STEP 7/10: RUN cd llama.cpp/ && make
Makefile:2: *** The Makefile build is deprecated. Use the CMake build instead. For more details, see https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md.  Stop.
Error: building at STEP "RUN cd llama.cpp/ && make": while running runtime: exit status 2
UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do
 not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.

And also permission denied errors when you have a restrictive umask on the build system.

@bplaxco bplaxco changed the title Switch to cmake build Fix convert_models build and run issues Feb 13, 2025
Fixes:

```
STEP 7/10: RUN cd llama.cpp/ && make
Makefile:2: *** The Makefile build is deprecated. Use the CMake build instead. For more details, see https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md.  Stop.
Error: building at STEP "RUN cd llama.cpp/ && make": while running runtime: exit status 2
```

Signed-off-by: Braxton Plaxco <[email protected]>
- Permission denied for builds done on systems with restrictive umask
- New location of llama-quantize

Signed-off-by: Braxton Plaxco <[email protected]>
Fixes

```
UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do
 not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
```

Signed-off-by: Braxton Plaxco <[email protected]>
@bplaxco bplaxco changed the title Fix convert_models build and run issues [WIP] Fix convert_models build and run issues Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant