Skip to content

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.

@github-actions
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.

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
@omrishiv omrishiv deleted the neuron-tensor-parallelism branch August 26, 2024 22:13
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
LeiWang1999 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-neuron Related to AWS 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