mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-24 01:18:05 +00:00
chore: add mypy inference fp8_impls
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
This commit is contained in:
parent
d880c2df0e
commit
1c08a1cae9
7 changed files with 38 additions and 25 deletions
|
|
@ -54,6 +54,7 @@ class DistributionInspectImpl(Inspect):
|
|||
provider_types=[], # These APIs don't have "real" providers - they're internal to the stack
|
||||
)
|
||||
for e in endpoints
|
||||
if e.methods
|
||||
]
|
||||
)
|
||||
else:
|
||||
|
|
@ -63,10 +64,11 @@ class DistributionInspectImpl(Inspect):
|
|||
[
|
||||
RouteInfo(
|
||||
route=e.path,
|
||||
method=next(iter([m for m in e.methods if m != "HEAD"])),
|
||||
method=next(iter([m for m in e.methods if m != "HEAD"])) if e.methods else "POST",
|
||||
provider_types=[p.provider_type for p in providers],
|
||||
)
|
||||
for e in endpoints
|
||||
if e.methods
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue