You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tok_ids=llm_spec.tokenizer.encode("The future of AI is")
78
+
ifenable_chunked_prefill:
79
+
# Use a long prompt for chunked prefill tests.
80
+
prompts= [
81
+
"The capital of France is a city of romance, art, fashion, and cuisine. Paris is a must-visit destination for anyone who loves history, architecture, and culture. From the iconic Eiffel Tower to the world-famous Louvre Museum, Paris has something to offer for every interest and age.\nThe city is divided into 20 arrondissements, each with its own unique character and charm. The Latin Quarter is a popular area for students and young travelers, while the Champs-Élysées is a hub for shopping and dining. The Montmartre neighborhood is famous for its bohemian vibe and stunning views of the city.\nParis is also known for its beautiful parks and gardens, such as the Luxembourg Gardens and the Tuileries Garden. The city has a rich history, with landmarks like the Notre-Dame Cathedral and the Arc de Triomphe. Visitors can also explore the city's many museums, including the Musée d'Orsay and the Musée Rodin.\nIn addition to its cultural and historical attractions, Paris is also a great destination for foodies. The city is famous for its cuisine, including croissants, baguettes, and cheese. Visitors can sample the city's famous dishes at one of the many restaurants, cafes, and "
82
+
]
83
+
tok_ids=llm_spec.tokenizer.encode(prompts[0])
84
+
else:
85
+
prompts= [
86
+
"The capital of France is",
87
+
"The president of the United States is",
88
+
]
89
+
tok_ids=llm_spec.tokenizer.encode("The future of AI is")
0 commit comments