Skip to content

Conversation

@Lunderberg
Copy link

This commit updates mlc_llm.cli.worker to be compatible with upstream TVM apache/tvm#17180, which adds a num_groups argument to the disco worker function.

To de-couple this compatibility from a general TVM version bump, this commit has a check on the number of worker.py arguments provided, to determine whether the num_groups argument is present. After the TVM version used by MLC-LLM is updated to include the upstream changes, this check can be removed.

This commit updates `mlc_llm.cli.worker` to be compatible with
upstream TVM apache/tvm#17180, which adds a
`num_groups` argument to the disco worker function.

To de-couple this compatibility from a general TVM version bump, this
commit has a check on the number of `worker.py` arguments provided, to
determine whether the `num_groups` argument is present.  After the TVM
version used by MLC-LLM is updated to include the upstream changes,
this check can be removed.
@Lunderberg
Copy link
Author

This is equivalent to the upstream PR mlc-ai#2712

@sunggg sunggg merged commit 6aeda51 into mlc-serve-v0.2.0 Jul 31, 2024
@Lunderberg Lunderberg deleted the lunderberg/octo_disco_worker_compatibility_with_tvm17180 branch July 31, 2024 22:41
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

Successfully merging this pull request may close these issues.

3 participants