value for sliding_window in config.json updated

#55

Traceback (most recent call last):
File "/opt/conda/bin/text-generation-server", line 8, in
sys.exit(app())
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 83, in serve
server.serve(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 207, in serve
asyncio.run(
File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 159, in serve_inner
model = get_model(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/init.py", line 252, in get_model
return FlashMistral(
File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_mistral.py", line 312, in init
SLIDING_WINDOW_BLOCKS = math.ceil(config.sliding_window / BLOCK_SIZE)

By passing the Sliding window value we can update this
Screenshot 2024-03-01 at 2.00.08 AM.png

manaschauhan changed pull request title from sliding_window updated to value for sliding_window in config.json updated

I have pasted the error logs above for the model when sliding_window:"null".

But after adding the value for the sliding window we can resolve the error. I have successfully deployed the model now.
Screenshot 2024-03-01 at 3.53.02 AM.png

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment