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

GPU Inference #25

Open
tpoisonooo opened this issue Jul 6, 2023 · 3 comments
Open

GPU Inference #25

tpoisonooo opened this issue Jul 6, 2023 · 3 comments

Comments

@tpoisonooo
Copy link
Owner

tpoisonooo commented Jul 6, 2023

llama.onnx is primarily used for understanding LLM and converting it to NPU.

If you are looking for inference on Nvidia GPU, we have released lmdeploy at https://github.com/InternLM/lmdeploy.

It supports:

  • Models similar to llama ranging from 7B to 100B in size, available in huggingface or meta format
  • Configurable batch_size and quantization, faster than some other implementations
  • Tensor parallelism, allowing you to run a 65B model on multiple 3090 GPUs
  • Interacting with WebUI or using command line interface
@tpoisonooo
Copy link
Owner Author

#19 #16 #15

@tpoisonooo
Copy link
Owner Author

#22 #15

@yiliu30
Copy link

yiliu30 commented Aug 8, 2023

  • Tensor parallelism

Nice work! Can tensor parallelism be implemented using both Torch and ONNX models?

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