Skip to content

Conversation

@simpolism
Copy link

Was getting this error with mlc_llm serve via cpu:

error: BOOL
 --> /home/jake/github/mlc/models/.venv/lib/python3.10/site-packages/mlc_llm/compiler_pass/attach_logit_processor.py:148:21
     |
 148 |                      logits[seq_ids[pos2seq_id[vp]], token_ids[vp]] < 0,
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Similar to this issue with TVM (apache/tvm#18578).

My PR casts 0 into a proper tvm type via T.float32.

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