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

arg['tensor_parallel_size'] is overrided by GPU's number #144

Open
hyeonu opened this issue Jan 20, 2025 · 0 comments
Open

arg['tensor_parallel_size'] is overrided by GPU's number #144

hyeonu opened this issue Jan 20, 2025 · 0 comments

Comments

@hyeonu
Copy link

hyeonu commented Jan 20, 2025

I want to set PIPELINE_PARALLEL_SIZE instead of TENSOR_PARALLEL_SIZE for multiple GPUs.

But tensor_parallel_size is always set to number of GPU.

It's needed to check whether the env was set or not in engine_args.py:

    num_gpus = device_count()
    if num_gpus > 1:
        args["tensor_parallel_size"] = num_gpus
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