Skip to content

Commit

Permalink
try remove all cygpath
Browse files Browse the repository at this point in the history
  • Loading branch information
JinBridger committed May 23, 2024
1 parent 2729f3b commit 7ceeff3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/llm_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ jobs:
# On Windows, we need to add "Python3_ROOT_DIR/bin" to path to make libuv work
if [[ "$RUNNER_OS" == "Windows" ]]; then
echo $Python3_ROOT_DIR'\bin\'
echo $Python3_ROOT_DIR'\bin\' >> $GITHUB_PATH
fi
Expand Down
6 changes: 0 additions & 6 deletions python/llm/test/run-langchain-upstream-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ export LLM_INFERENCE_TEST_DIR=${ANALYTICS_ZOO_ROOT}/python/llm/test/langchain_gp
export TEST_BIGDLLLM_MODEL_IDS=${VICUNA_7B_1_3_ORIGIN_PATH}
export TEST_IPEXLLM_MODEL_IDS=${VICUNA_7B_1_3_ORIGIN_PATH}

# Use Windows style path when running on Windows
if [[ $RUNNER_OS == "Windows" ]]; then
export TEST_BIGDLLLM_MODEL_IDS=$(cygpath -m ${VICUNA_7B_1_3_ORIGIN_PATH})
export TEST_IPEXLLM_MODEL_IDS=$(cygpath -m ${VICUNA_7B_1_3_ORIGIN_PATH})
fi

set -e

echo ">>> Testing LangChain upstream unit test"
Expand Down
6 changes: 1 addition & 5 deletions python/llm/test/run-llm-example-tests-gpu.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash

if [[ $RUNNER_OS == "Linux" ]]; then
export ANALYTICS_ZOO_ROOT=${ANALYTICS_ZOO_ROOT}
elif [[ $RUNNER_OS == "Windows" ]]; then
export ANALYTICS_ZOO_ROOT=$(cygpath -m ${ANALYTICS_ZOO_ROOT})
fi
export ANALYTICS_ZOO_ROOT=${ANALYTICS_ZOO_ROOT}

set -e

Expand Down
2 changes: 0 additions & 2 deletions python/llm/test/run-llm-inference-tests-gpu-434.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if [[ $RUNNER_OS == "Linux" ]]; then
export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
elif [[ $RUNNER_OS == "Windows" ]]; then
export ANALYTICS_ZOO_ROOT=$(cygpath -m ${ANALYTICS_ZOO_ROOT})
export LLM_INFERENCE_TEST_DIR=${ANALYTICS_ZOO_ROOT}/python/llm/test/inference_gpu
export SYCL_CACHE_PERSISTENT=1
fi

Expand Down
2 changes: 0 additions & 2 deletions python/llm/test/run-llm-inference-tests-gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if [[ $RUNNER_OS == "Linux" ]]; then
export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
elif [[ $RUNNER_OS == "Windows" ]]; then
export ANALYTICS_ZOO_ROOT=$(cygpath -m ${ANALYTICS_ZOO_ROOT})
export LLM_INFERENCE_TEST_DIR=${ANALYTICS_ZOO_ROOT}/python/llm/test/inference_gpu
export SYCL_CACHE_PERSISTENT=1
fi

Expand Down

0 comments on commit 7ceeff3

Please sign in to comment.