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

[Bugfix] neuron: enable tensor parallelism #7562

Merged
merged 8 commits into from
Aug 26, 2024

Conversation

omrishiv
Copy link
Contributor

@omrishiv omrishiv commented Aug 15, 2024

FILL IN THE PR DESCRIPTION HERE

FIX #6269

Following #7175, this enables tensor parallelism on neuron with vLLM > 0.5.0. The block-size choices are also reverted back to the previous values and vLLM will take the max-model-len as the block-size on neuron devices.

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which consists a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of default ones by unblocking the steps in your fast-check build on Buildkite UI.

Once the PR is approved and ready to go, please make sure to run full CI as it is required to merge (or just use auto-merge).

To run full CI, you can do one of these:

  • Comment /ready on the PR
  • Add ready label to the PR
  • Enable auto-merge.

🚀

Copy link
Collaborator

@simon-mo simon-mo left a comment

Choose a reason for hiding this comment

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

stamping args_utils changes.

@simon-mo simon-mo requested a review from liangfu August 15, 2024 17:30
Copy link
Contributor

@liangfu liangfu left a comment

Choose a reason for hiding this comment

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

Thanks @omrishiv for fixing the PP issue. The change looks good overall. I left the comment for a minor change.

@@ -40,6 +49,9 @@ def __init__(
self.is_driver_worker = True

def init_device(self) -> None:
os.environ["PJRT_DEVICE"] = "NEURON"
Copy link
Contributor

Choose a reason for hiding this comment

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

Help take this out?

@omrishiv
Copy link
Contributor Author

@liangfu Thank you, leftover from testing. Removed

@simon-mo simon-mo enabled auto-merge (squash) August 24, 2024 06:03
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Aug 24, 2024
auto-merge was automatically disabled August 26, 2024 18:12

Head branch was pushed to by a user without write access

@omrishiv omrishiv force-pushed the neuron-tensor-parallelism branch from b00c3fe to 6cfdae3 Compare August 26, 2024 18:18
@ywang96 ywang96 merged commit 760e9f7 into vllm-project:main Aug 26, 2024
44 checks passed
@omrishiv omrishiv deleted the neuron-tensor-parallelism branch August 26, 2024 22:13
hbikki pushed a commit to hbikki/vllm that referenced this pull request Aug 27, 2024
liangfu pushed a commit to liangfu/vllm that referenced this pull request Aug 27, 2024
triple-Mu pushed a commit to triple-Mu/vllm_official that referenced this pull request Sep 4, 2024
Jeffwan pushed a commit to aibrix/vllm that referenced this pull request Sep 19, 2024
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Inferentia/Trainium ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

f[Bug]: TypeError: Can't instantiate abstract class NeuronWorker with abstract method execute_worker
5 participants