-
Notifications
You must be signed in to change notification settings - Fork 13.8k
docs: Improve Hexagon backend README for Android deployment and commands #17370
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
base: master
Are you sure you want to change the base?
Conversation
This commit refines the by: - Adding a step to explicitly create the directory on the Android device using before pushing GGUF dels. This ensures the target directory exists and prevents potential failures. - Correcting the example command by properly escaping the double quotes around the prompt string (). This ensures the command is correctly interpreted when executed in a shell environment. These changes enhance the clarity and correctness of the instructions for deploying and running on Snapdragon-based Android devices.
|
The original question is as follows: M=Llama-3.2-1B-Instruct-Q4_0.gguf D=HTP0 ./scripts/snapdragon/adb/run-cli.sh -no-cnv -p "what is the most popular cookie in the world?"
ggml_opencl: device: 'QUALCOMM Adreno(TM) 830 (OpenCL 3.0 Adreno(TM) 830)' |
|
Fixed logs: M=Llama-3.2-1B-Instruct-Q4_0.gguf D=HTP0 ./scripts/snapdragon/adb/run-cli.sh -no-cnv -p "what is the most popular cookie in the world?"
ggml_opencl: device: 'QUALCOMM Adreno(TM) 830 (OpenCL 3.0 Adreno(TM) 830)' sampler seed: 2092038201 Chocolate chip cookies are the most popular cookie in the world, according to a survey conducted by the National Confectioners Association.
Cookies are a universal language that bring people together and evoke joy and comfort. Whether it's a classic chocolate chip cookie or a unique cookie from another culture, cookies have the power to bring people together and create lasting memories. [end of text] llama_perf_sampler_print: sampling time = 50.06 ms / 488 runs ( 0.10 ms per token, 9747.33 tokens per second) |
DamonFool
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me.
|
The README updates and the run-server.sh script look good. |
This commit refines the by:
This ensures the target directory exists and prevents potential failures.
These changes enhance the clarity and correctness of the instructions for deploying and running on Snapdragon-based Android devices.