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

Model Do Not Respond [Bug] #665

Closed
bunnywaffle opened this issue Aug 4, 2023 · 4 comments
Closed

Model Do Not Respond [Bug] #665

bunnywaffle opened this issue Aug 4, 2023 · 4 comments
Labels
bug Confirmed bugs

Comments

@bunnywaffle
Copy link

🐛 Bug

I downloaded the model RedPajamas 3B, but when I try to chat with it, it does not respond.

Expected behavior

The model should respond to my chat requests.

Environment

  • Platform (Android):
  • Operating system (e.g. Ubuntu/Windows/MacOS/...):
  • Device (Samsung Galaxy M32)
  • How you installed MLC-LLM (APK):
  • Any other relevant information:

Additional context

WhatsApp Image 2023-08-04 at 20 31 12

@bunnywaffle bunnywaffle added the bug Confirmed bugs label Aug 4, 2023
@bunnywaffle bunnywaffle changed the title Model Do not Responds [Bug] Model Do Not Respond [Bug] Aug 4, 2023
@sherelynyap
Copy link

I have the same problem using Samsung Galaxy S21+

@cyx-6
Copy link
Contributor

cyx-6 commented Oct 3, 2023

Sorry for replying late! Please try new apk. It will show error message for information.

@sherelynyap
Copy link

Error message: InternalError: Check failed: (chat_ != nullptr) is false: Chat is not initialized via reload Stack trace: File "/Users/houbohan/mlc-llm/cpp/llm_chat.cc", line 1301

Got this error message

@junrushao
Copy link
Member

@sherelynyap I just tried again but couldn't reproduce this issue with my device. The particular lines you point to is:

mlc-llm/cpp/llm_chat.cc

Lines 1329 to 1330 in f0b1225

ICHECK(chat_ != nullptr) << "Chat is not initialized via reload";
return chat_.get();
, which means the chat_ field is not initialized yet, but we do already initialize it in the Android app in those lines:
fun startChat() {
chatState.requestReloadChat(
modelConfig.localId,
modelConfig.modelLib,
modelDirFile.absolutePath
)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs
Projects
None yet
Development

No branches or pull requests

5 participants