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

AmazonBedrockChatGenerator is not working with the Mixtral model #743

Open
vish9812 opened this issue May 21, 2024 · 2 comments
Open

AmazonBedrockChatGenerator is not working with the Mixtral model #743

vish9812 opened this issue May 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working P1

Comments

@vish9812
Copy link
Contributor

Describe the bug
Calling run with the Mixtral model - mistral.mixtral-8x7b-instruct-v0:1 is failing with the following error message: Could not inference Amazon Bedrock model mistral.mixtral-8x7b-instruct-v0:1 due: An error occurred (ValidationException) when calling the InvokeModel operation: Validation Error.

While the code runs successfully with the Mistral model - mistral.mistral-7b-instruct-v0:2.

To Reproduce

AmazonBedrockChatGenerator(
            # model="mistral.mistral-7b-instruct-v0:2", It passes
            # model="mistral.mixtral-8x7b-instruct-v0:1", It fails
).run(prompt)

Describe your environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Haystack version: 2.1.2
  • Integration version: 0.7.1

PS: I've access to both the models, so, it's not an access issue.

@vish9812 vish9812 added the bug Something isn't working label May 21, 2024
@anakin87
Copy link
Member

duplicate of #732

@anakin87 anakin87 closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@vish9812
Copy link
Contributor Author

vish9812 commented May 21, 2024

@anakin87 Actually, this is a different issue. I'm able to run inference for the MiStral Model via HF access token.
But the issue here is that while the MiStral model works fine. The MiXtral model gives the above mentioned validation error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
None yet
Development

No branches or pull requests

4 participants