Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 007ada5

Browse files
mgoinandy-neuma
and
andy-neuma
authored
Change magic_wand to nm-magic-wand (#86)
Co-authored-by: andy-neuma <andy@neuralmagic.com>
1 parent 9b8c474 commit 007ada5

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/actions/nm-build-vllm/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
COMMIT=${{ github.sha }}
2626
VENV="${{ inputs.venv }}-${COMMIT:0:7}"
2727
source $(pyenv root)/versions/${{ inputs.python }}/envs/${VENV}/bin/activate
28-
pip3 install --index-url http://${{ inputs.pypi }}:8080/ --trusted-host ${{ inputs.pypi }} magic-wand
28+
pip3 install --index-url http://${{ inputs.pypi }}:8080/ --trusted-host ${{ inputs.pypi }} nm-magic-wand
2929
pip3 install -r requirements.txt
3030
SUCCESS=0
3131
pip3 install -e . || SUCCESS=$?

.github/actions/nm-test-vllm/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
COMMIT=${{ github.sha }}
2929
VENV="${{ inputs.venv }}-${COMMIT:0:7}"
3030
source $(pyenv root)/versions/${{ inputs.python }}/envs/${VENV}/bin/activate
31-
pip3 install --index-url http://${{ inputs.pypi }}:8080/ --trusted-host ${{ inputs.pypi }} magic-wand
31+
pip3 install --index-url http://${{ inputs.pypi }}:8080/ --trusted-host ${{ inputs.pypi }} nm-magic-wand
3232
pip3 install -r requirements-dev.txt
3333
# run tests via runner script
3434
SUCCESS=0

.github/scripts/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ if [ -z "${VENV}" ]; then
5555
fi
5656

5757
source $(pyenv root)/versions/${PYTHON}/envs/${VENV}/bin/activate
58-
pip3 install --index-url http://${PYPI_IP}:8080/ --trusted-host ${PYPI_IP} magic-wand
58+
pip3 install --index-url http://${PYPI_IP}:8080/ --trusted-host ${PYPI_IP} nm-magic-wand
5959
pip3 install -r requirements.txt
6060
pip3 install -e .

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def get_requirements() -> List[str]:
436436
return requirements
437437

438438

439-
_sparsity_deps = ["magic_wand"]
439+
_sparsity_deps = ["nm-magic-wand"]
440440

441441

442442
def get_extra_requirements() -> dict:

vllm/model_executor/layers/parameters/lazy_compressed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __new__(cls,
2929
if not is_magic_wand_available:
3030
raise ValueError(
3131
"magic_wand is not available and required for sparsity "
32-
"support. Please install it with `pip install magic_wand`")
32+
"support. Please install it with `pip install nm-magic-wand`")
3333

3434
self = torch.Tensor._make_wrapper_subclass(
3535
cls,

vllm/model_executor/layers/sparsity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if not is_magic_wand_available:
66
raise ValueError(
77
"magic_wand is not available and required for sparsity "
8-
"support. Please install it with `pip install magic_wand`")
8+
"support. Please install it with `pip install nm-magic-wand`")
99

1010
from vllm.model_executor.layers.sparsity.base_config import SparsityConfig # noqa: E402
1111
from vllm.model_executor.layers.sparsity.sparse_w16a16 import SparseW16A16Config # noqa: E402

0 commit comments

Comments
 (0)