ultralytics 8.0.213 NVIDIA Triton gRPC fix (#6443)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
4767902000
commit
6baa3bdde6
4 changed files with 5 additions and 4 deletions
|
|
@ -509,6 +509,6 @@ class AutoBackend(nn.Module):
|
|||
else:
|
||||
from urllib.parse import urlsplit
|
||||
url = urlsplit(p)
|
||||
triton = url.netloc and url.path and url.scheme in {'http', 'grfc'}
|
||||
triton = url.netloc and url.path and url.scheme in {'http', 'grpc'}
|
||||
|
||||
return types + [triton]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue