Skip to content
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

Fix crlf quantize #143

Closed
wants to merge 2 commits into from
Closed

Fix crlf quantize #143

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 14, 2023

The quantize.sh script has CRLF line ending which means it can't be run on an actual Linux system (probably the author uses MSYS2?) - see https://unix.stackexchange.com/questions/577663/handling-bash-script-with-crlf-carriage-return-in-linux-as-in-msys2
image

Wait, let me actually test if this PR works or not, Git is really weird with those line endings

@Ronsor
Copy link
Contributor

Ronsor commented Mar 14, 2023

Are you sure it's not on your end? You seem to be using MSYS git yourself, which translates to CRLF automatically.

I checked my copy with a hex editor and it's fine, CR-free.

@ghost
Copy link
Author

ghost commented Mar 14, 2023

@Ronsor would be quite weird, as I'm on Arch, but let me check.

@ghost
Copy link
Author

ghost commented Mar 14, 2023

But yeah, you're right, it does seem to happen from my end somehow, the Curl-downloaded script is fine

@ghost ghost closed this Mar 14, 2023
@ghost ghost deleted the fix-crlf-quantize branch March 14, 2023 21:20
Deadsg pushed a commit to Deadsg/llama.cpp that referenced this pull request Dec 19, 2023
This pull request was closed.
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