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

perf: serve quantized Psyfighter2 #81

Merged
merged 2 commits into from
Mar 19, 2024
Merged

perf: serve quantized Psyfighter2 #81

merged 2 commits into from
Mar 19, 2024

Conversation

sambarnes
Copy link
Collaborator

Details

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I agree to license this contribution under the MIT LICENSE
  • I checked the current PR for duplication.

@sambarnes sambarnes marked this pull request as ready for review March 19, 2024 15:16
Comment on lines +136 to +143
_psyfighter2 = "TheBloke/LLaMA2-13B-Psyfighter2-GPTQ"
VllmContainer_KoboldAIPsyfighter2 = _make_container(
name="VllmContainer_KoboldAIPsyfighter2",
model_name="KoboldAI/LLaMA2-13B-Psyfighter2",
gpu=modal.gpu.A100(count=1, memory=40),
concurrent_inputs=32,
model_name=_psyfighter2,
gpu=modal.gpu.A10G(count=1),
concurrent_inputs=4,
max_containers=5,
quantization="GPTQ",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we get like max 10 requests a minute for this model. think this allocation should be more than enough, might be able to further reduce batch size for better throughput floor

will try this first tho

@sambarnes sambarnes merged commit 754d41f into main Mar 19, 2024
3 checks passed
@sambarnes sambarnes deleted the quantize-last-one branch March 19, 2024 15:19
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.

None yet

1 participant