CI: Add FlagGems-vllm checkout for test purpose - #388
Conversation
|
|
||
| print(f"vLLM import ok: {vllm.__version__}") | ||
| print(f"vLLM-FL import ok: {vllm_fl.__file__}") | ||
| print(f"FlagGems import ok: {getattr(flag_gems, '__version__', 'unknown')}") |
There was a problem hiding this comment.
import flag_gems
import flaggems_vllm
need to check flaggems_vllm
| @@ -3,6 +3,10 @@ | |||
| # Setup script for Ascend NPU CI environment. | |||
| set -euo pipefail | |||
|
|
|||
There was a problem hiding this comment.
Install FlagGems for test purpose
FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm"
git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}"
git -C "${FLAGGEMS_VLLM_DIR}" checkout main
pip install --no-build-isolation -e ${FLAGGEMS_VLLM_DIR}
Install vLLM-Plugin-FL
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main | ||
| pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}" |
There was a problem hiding this comment.
python -m pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}"
There was a problem hiding this comment.
it's already changed
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main | ||
| pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}" |
There was a problem hiding this comment.
python -m pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}"
There was a problem hiding this comment.
it's already changed
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main | ||
| pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}" |
There was a problem hiding this comment.
it's already changed
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main | ||
| pip install --no-build-isolation -e "${FLAGGEMS_VLLM_DIR}" |
There was a problem hiding this comment.
it's already changed
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| rm -rf "${FLAGGEMS_VLLM_DIR}" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main |
There was a problem hiding this comment.
git clone --branch ${FLAGGEMS_VERSION} --depth 1 https://github.com/flagos-ai/FlagGems /workspace/FlagGems
| FLAGGEMS_VLLM_DIR="$(cd .. && pwd -P)/FlagGems-vllm" | ||
| rm -rf "${FLAGGEMS_VLLM_DIR}" | ||
| git clone https://github.com/flagos-ai/FlagGems-vllm.git "${FLAGGEMS_VLLM_DIR}" | ||
| git -C "${FLAGGEMS_VLLM_DIR}" checkout main |
There was a problem hiding this comment.
git clone --branch ${FLAGGEMS_VERSION} --depth 1 https://github.com/flagos-ai/FlagGems /workspace/FlagGems
Summary
flagos-ai/FlagGems-vllmin each platform setup scriptmainbranch before platform-specific setup continuesTest
bash -n .github/scripts/ascend/setup.sh .github/scripts/cuda/setup.sh .github/scripts/enflame/setup.sh .github/scripts/hygon/setup.sh .github/scripts/metax/setup.sh .github/scripts/musa/setup.shgit diff --check