Skip to content

Commit

Permalink
revert #358 and #325 (#366)
Browse files Browse the repository at this point in the history
Because they broke CI
  • Loading branch information
renxida authored Oct 29, 2024
1 parent e4c7c20 commit 652c5ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 451 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
2 changes: 0 additions & 2 deletions shortfin/requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ wheel
# Deps needed for shortfin_apps.llm
dataclasses-json
tokenizers
numpy
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.

Loading

0 comments on commit 652c5ed

Please sign in to comment.