Skip to content

Commit

Permalink
Fix pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pskiran1 committed Oct 20, 2023
1 parent fe81e30 commit 7e8cd1b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
Empty file modified ci/L0_accuracy_test/test.sh
100644 → 100755
Empty file.
7 changes: 3 additions & 4 deletions ci/L0_accuracy_test/vllm_accuracy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import asyncio
import sys
import unittest
from functools import partial

import tritonclient.grpc as grpcclient
from tritonclient.utils import *

from vllm import SamplingParams
from vllm.engine.arg_utils import AsyncEngineArgs
from vllm.engine.async_llm_engine import AsyncLLMEngine
from vllm.utils import random_uuid
from vllm import SamplingParams
import asyncio

sys.path.append("../common")
from test_util import TestResultCollector, create_vllm_request, UserData, callback
from test_util import TestResultCollector, UserData, callback, create_vllm_request


async def generate_python_vllm_output(prompt, llm_engine):
Expand Down
2 changes: 1 addition & 1 deletion ci/L0_backend_vllm/vllm_backend_test.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from tritonclient.utils import *

sys.path.append("../common")
from test_util import TestResultCollector, create_vllm_request, UserData, callback
from test_util import TestResultCollector, UserData, callback, create_vllm_request


class VLLMTritonBackendTest(TestResultCollector):
Expand Down
Empty file modified ci/L0_multi_gpu/test.sh
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions ci/L0_multi_gpu/vllm_multi_gpu_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import sys
import unittest
from functools import partial

import nvidia_smi
import tritonclient.grpc as grpcclient
from functools import partial
import unittest
from tritonclient.utils import *

sys.path.append("../common")
from test_util import TestResultCollector, create_vllm_request, UserData, callback
from test_util import TestResultCollector, UserData, callback, create_vllm_request


class VLLMMultiGPUTest(TestResultCollector):
Expand Down
4 changes: 2 additions & 2 deletions ci/L0_stream_enabled/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ rm -rf models/
if [ $RET -eq 1 ]; then
cat $CLIENT_LOG
cat $SERVER_LOG
echo -e "\n***\n*** Strem Enabled test FAILED. \n***"
echo -e "\n***\n*** Straem Enabled test FAILED. \n***"
else
echo -e "\n***\n*** Strem Enabled test PASSED. \n***"
echo -e "\n***\n*** Straem Enabled test PASSED. \n***"
fi

exit $RET
3 changes: 2 additions & 1 deletion ci/common/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import json
import unittest
import queue
import unittest

import numpy as np
import tritonclient.grpc as grpcclient

Expand Down

0 comments on commit 7e8cd1b

Please sign in to comment.