Skip to content

Commit

Permalink
Revert "Add Back LLM Server Test (nod-ai#358)"
Browse files Browse the repository at this point in the history
This reverts commit f6d54f3.
  • Loading branch information
renxida committed Oct 29, 2024
1 parent b8da0db commit a18297d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 176 deletions.
4 changes: 2 additions & 2 deletions shortfin/python/shortfin_apps/llm/components/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def start(self):
)
]
+ self.inference_modules,
devices=self.sysman.ls.devices,
fiber=self.main_fiber,
trace_execution=False,
)
# Resolve prefill entrypoints.
Expand Down Expand Up @@ -393,7 +393,7 @@ async def run(self):
"".join([f"\n {i}: {ary.shape}" for i, ary in enumerate(args)]),
)
# Invoke. Logits are of shape [bs, bsl, d].
(logits,) = await fn(*args, fiber=self.fiber)
(logits,) = await fn(*args)

# Return results.
for i in range(req_count):
Expand Down
1 change: 0 additions & 1 deletion shortfin/requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ wheel
# Deps needed for shortfin_apps.llm
dataclasses-json
tokenizers
sentencepiece

# Deps needed for shortfin_apps.sd
pillow
Expand Down
173 changes: 0 additions & 173 deletions shortfin/tests/apps/llm/cpu_llm_server_test.py

This file was deleted.

0 comments on commit a18297d

Please sign in to comment.