Skip to content

The prompt is not converted to tokens #113

Closed

Description

@zhoujian1028

./main -m ./models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -t 8 -n 512
image

llama.cpp Is the latest version
Can anyone help me? Thanks!

Activity

  1. zhoujian1028 commented on Mar 15, 2023

    @zhoujian1028
    Author

    @ggerganov Please,Thanks!

  2. MillionthOdin16 commented on Mar 17, 2023

    @MillionthOdin16

    I'm seeing the same issue. Model works fine in f16 version, but doesn't work after quantization

  3. caseylai commented on Mar 17, 2023

    @caseylai

    Same issue here. Everything is fine on my mac laptop but after I deployed it on Linux (Centos 7), I found this issue.
    Have tried to change the version of gcc, python, torch, and tried to modify the source code of 'llama_tokenize' to make the tokenizer working as expected. But none of these works. And also checked md5 sum for all files, all of the md5 sum are right.

    Environment:
    Mac (works fine): gcc 9.4.0, Python 3.9.6, Torch 1.9.0
    Centos 7 (issue): gcc 9.3.1, Python 3.9.16, Torch 1.9.1

  4. MillionthOdin16 commented on Mar 17, 2023

    @MillionthOdin16
  5. caseylai commented on Mar 18, 2023

    @caseylai

    ./main -m ./models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -t 8 -n 512 image

    llama.cpp Is the latest version Can anyone help me? Thanks!

    @zhoujian1028 I tried to deploy on another machine and it worked smoothly, for your reference: Ubuntu 22.04 + gcc11.3.0 + python 3.10.9 + torch 1.13.1

  6. xlichao commented on Mar 18, 2023

    @xlichao

    ./main -m ./models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -t 8 -n 512 image

    llama.cpp Is the latest version Can anyone help me? Thanks!

    Centos 7 even with sudo yum install devtoolset-11-gcc* can't work and output nothing meaningful, but just using an docker conatiner base on ubuntu jemmy with sudo apt-get install build-essential everything works fine in fp16.

  7. ar-jan commented on Mar 20, 2023

    @ar-jan

    Give it another try now that #252 landed.

  8. sw commented on Apr 7, 2023

    @sw
    Contributor

    No complaints after three weeks, let's assume this is fixed, possibly by #252.

  9. added 3 commits that reference this issue on Jul 25, 2026
  10. 44 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions