Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
c3b84790
Commit
c3b84790
authored
Jan 22, 2025
by
Anant Sharma
Committed by
GitHub
Jan 22, 2025
Browse files
build: update isort known first party config (#50)
parent
63d178f1
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
3 deletions
+13
-3
worker/tests/python/integration/api_server/models/mock_disaggregated_serving/1/model.py
...n/api_server/models/mock_disaggregated_serving/1/model.py
+1
-0
worker/tests/python/integration/operators/add_multiply_divide.py
...tests/python/integration/operators/add_multiply_divide.py
+1
-0
worker/tests/python/integration/operators/identity.py
worker/tests/python/integration/operators/identity.py
+1
-0
worker/tests/python/integration/operators/mock_disaggregated_serving.py
...ython/integration/operators/mock_disaggregated_serving.py
+2
-1
worker/tests/python/integration/test_add_multiply_divide.py
worker/tests/python/integration/test_add_multiply_divide.py
+1
-0
worker/tests/python/integration/test_direct.py
worker/tests/python/integration/test_direct.py
+1
-0
worker/tests/python/integration/test_mock_disaggregated_serving.py
...sts/python/integration/test_mock_disaggregated_serving.py
+3
-2
worker/tests/python/integration/test_perf_benchmark.py
worker/tests/python/integration/test_perf_benchmark.py
+1
-0
worker/tests/python/unit/test_args.py
worker/tests/python/unit/test_args.py
+1
-0
worker/tests/python/unit/test_logger.py
worker/tests/python/unit/test_logger.py
+1
-0
No files found.
worker/tests/python/integration/api_server/models/mock_disaggregated_serving/1/model.py
View file @
c3b84790
...
...
@@ -23,6 +23,7 @@ import uuid
import
triton_python_backend_utils
as
pb_utils
import
ucp
from
triton_distributed.icp.nats_request_plane
import
NatsRequestPlane
from
triton_distributed.icp.ucp_data_plane
import
UcpDataPlane
from
triton_distributed.worker.remote_operator
import
RemoteOperator
...
...
worker/tests/python/integration/operators/add_multiply_divide.py
View file @
c3b84790
...
...
@@ -16,6 +16,7 @@
import
asyncio
import
numpy
from
triton_distributed.worker
import
Operator
,
RemoteInferenceRequest
,
RemoteOperator
...
...
worker/tests/python/integration/operators/identity.py
View file @
c3b84790
...
...
@@ -15,6 +15,7 @@
import
numpy
from
triton_distributed.worker
import
Operator
,
RemoteInferenceRequest
...
...
worker/tests/python/integration/operators/mock_disaggregated_serving.py
View file @
c3b84790
...
...
@@ -14,10 +14,11 @@
# limitations under the License.
from
tritonserver
import
TritonError
from
triton_distributed.worker.operator
import
Operator
from
triton_distributed.worker.remote_operator
import
RemoteOperator
from
triton_distributed.worker.remote_request
import
RemoteInferenceRequest
from
tritonserver
import
TritonError
class
MockDisaggregatedServing
(
Operator
):
...
...
worker/tests/python/integration/test_add_multiply_divide.py
View file @
c3b84790
...
...
@@ -23,6 +23,7 @@ import numpy
import
pytest
import
ucp
from
cupy_backends.cuda.api.runtime
import
CUDARuntimeError
from
triton_distributed.icp.nats_request_plane
import
NatsRequestPlane
from
triton_distributed.icp.ucp_data_plane
import
UcpDataPlane
from
triton_distributed.worker.deployment
import
Deployment
...
...
worker/tests/python/integration/test_direct.py
View file @
c3b84790
...
...
@@ -24,6 +24,7 @@ import numpy
import
pytest
import
ucp
from
cupy_backends.cuda.api.runtime
import
CUDARuntimeError
from
triton_distributed.icp.nats_request_plane
import
NatsRequestPlane
from
triton_distributed.icp.ucp_data_plane
import
UcpDataPlane
from
triton_distributed.worker.deployment
import
Deployment
...
...
worker/tests/python/integration/test_mock_disaggregated_serving.py
View file @
c3b84790
...
...
@@ -28,6 +28,9 @@ import tritonclient.grpc as grpcclient
import
ucp
from
cupy_backends.cuda.api.runtime
import
CUDARuntimeError
from
transformers
import
XLNetTokenizer
from
tritonclient.utils
import
InferenceServerException
from
tritonserver
import
Tensor
from
triton_distributed.icp.nats_request_plane
import
NatsRequestPlane
from
triton_distributed.icp.ucp_data_plane
import
UcpDataPlane
from
triton_distributed.worker.deployment
import
Deployment
...
...
@@ -36,8 +39,6 @@ from triton_distributed.worker.operator import OperatorConfig
from
triton_distributed.worker.remote_operator
import
RemoteOperator
from
triton_distributed.worker.triton_core_operator
import
TritonCoreOperator
from
triton_distributed.worker.worker
import
WorkerConfig
from
tritonclient.utils
import
InferenceServerException
from
tritonserver
import
Tensor
NATS_PORT
=
4223
MODEL_REPOSITORY
=
(
...
...
worker/tests/python/integration/test_perf_benchmark.py
View file @
c3b84790
...
...
@@ -31,6 +31,7 @@ import logging
import
numpy
import
pytest
import
ucp
from
triton_distributed.icp.nats_request_plane
import
NatsRequestPlane
from
triton_distributed.icp.ucp_data_plane
import
UcpDataPlane
from
triton_distributed.worker.deployment
import
Deployment
...
...
worker/tests/python/unit/test_args.py
View file @
c3b84790
...
...
@@ -14,6 +14,7 @@
# limitations under the License.
import
pytest
from
triton_distributed.worker.parser
import
Parser
"""
...
...
worker/tests/python/unit/test_logger.py
View file @
c3b84790
...
...
@@ -16,6 +16,7 @@
import
logging
import
pytest
from
triton_distributed.worker.log_formatter
import
LOGGER_NAME
,
setup_logger
logger
=
logging
.
getLogger
(
LOGGER_NAME
)
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment