add .isort.cfg (#378)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import unittest
|
||||
|
||||
import sglang as sgl
|
||||
from sglang.backend.base_backend import BaseBackend
|
||||
from sglang.lang.chat_template import get_chat_template
|
||||
|
||||
import sglang as sgl
|
||||
|
||||
|
||||
class TestTracing(unittest.TestCase):
|
||||
def test_few_shot_qa(self):
|
||||
@@ -111,7 +110,7 @@ class TestTracing(unittest.TestCase):
|
||||
forks = s.fork(3)
|
||||
for i in range(3):
|
||||
forks[i] += f"Now, expand tip {i+1} into a paragraph:\n"
|
||||
forks[i] += sgl.gen(f"detailed_tip")
|
||||
forks[i] += sgl.gen("detailed_tip")
|
||||
|
||||
s += "Tip 1:" + forks[0]["detailed_tip"] + "\n"
|
||||
s += "Tip 2:" + forks[1]["detailed_tip"] + "\n"
|
||||
|
||||
Reference in New Issue
Block a user