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:
Mert Can Demir 2023-11-20 04:22:08 +03:00 committed by GitHub
parent 4767902000
commit 6baa3bdde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -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]