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

How to start a model worker using multiple GPUs?And where is the "--num-gpus"? #82

Open
WZA-GH opened this issue Jul 8, 2024 · 1 comment

Comments

@WZA-GH
Copy link

WZA-GH commented Jul 8, 2024

We tried to launch the model worker on a machine with multiple RTX3090 GPUs, but we couldn't use this command python -m llava.serve.model_worker --host 0.0.0.0 --controller http://localhost:10000 --port 40000 --worker http://localhost:40000 --model-path microsoft/llava-med-v1.5-mistral-7b --multi-modal --num-gpus 2. But after running it we got an error: TypeError: LlavaMistralForCausalLM.__init__() got an unexpected keyword argument 'num_gpus'.

@thedaffodil
Copy link

did you solve the problem?

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