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

make 2 instance. #617

Open
Alireza3242 opened this issue Oct 12, 2024 · 0 comments
Open

make 2 instance. #617

Alireza3242 opened this issue Oct 12, 2024 · 0 comments

Comments

@Alireza3242
Copy link

I have 2 3090. I want to launch tensorrt on every gpu separately.
For this i have to change several things:

1- in tensorrt_llm/config.pbtxt:

instance_group {
  count: 0
  kind: KIND_GPU
}

2- in tensorrt_llm/1/model.py:
add:

kwargs["device_ids"] = [int(self.args["model_instance_device_id"])]

in get_parallel_config function.

Can you add this feature such that i dont need to change model.py?

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

1 participant