Fix a bug in 1D input shape (#5)

This commit is contained in:
Woosuk Kwon
2023-03-06 10:05:27 -08:00
committed by GitHub
parent 3e9f991d6a
commit 04e5acc08e
3 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -57,11 +57,11 @@ def main():
'UC Berkeley is',
'The future of cloud computing is',
]
for prompt in test_inputs:
frontend.query(prompt)
# FIXME
while True:
if test_inputs:
frontend.query(test_inputs.pop())
scheduler.step()
if not scheduler.pending and not scheduler.running:
break