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

New Model and Cross-region inference feature support #53

Open
xufanglin opened this issue Nov 15, 2024 · 1 comment
Open

New Model and Cross-region inference feature support #53

xufanglin opened this issue Nov 15, 2024 · 1 comment

Comments

@xufanglin
Copy link

Customer need new model Haiku 3.5, and cross-region inference support under NO PG mode. Is there a roadmap?

@cloudbeer
Copy link
Contributor

There are two ways for cross-region reasoning:

  • Use the modelID for cross-region, and this modelID is only supported in certain regions. If you want to support it in no PG mode across all regions, then a lot of hard-coded combinations would be needed.
  • The application performs load balancing, but this depends on a custom model, so a database is required.

Hardcode approach:
Modify the code: Modify the getModelDataWithoutDB method in /src/util/helper.ts; modify /src/model_data.ts, and add the configurations in these two files.

Use Performance mode, which can maintain concurrency performance while allowing customization of the model.

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

No branches or pull requests

2 participants