text-generation-inference/server/text_generation_server
drbh 82d19d7723
Pr 2374 ci branch (#2378)
* Update __init__.py

Fix issue with NoneType comparison for max_input_tokens and sliding_window

- Add default values for max_input_tokens and sliding_window to handle None cases.
- Ensure the comparison between max_input_tokens and sliding_window is handled correctly to prevent TypeError.
- This change addresses the error: TypeError: '<=' not supported between instances of 'int' and 'NoneType'.

* Update __init__.py

Handle NoneType in sliding_window comparison to fix TypeError in __init__.py by ensuring the comparison logic accounts for NoneType values, preventing errors and improving code robustness.

* fix: syntax/style tweak

---------

Co-authored-by: Praz <prazanth2006@gmail.com>
2024-08-08 11:14:06 -04:00
..
adapters feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
layers fix: return the out tensor rather then the functions return value (#2361) 2024-08-06 13:49:53 +02:00
models Pr 2374 ci branch (#2378) 2024-08-08 11:14:06 -04:00
pb chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
utils Handle GPTQ-Marlin loading in GPTQMarlinWeightLoader (#2300) 2024-07-31 13:08:41 +02:00
__init__.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00
cache.py fix(server): decrease memory fragmentation (#557) 2023-07-06 14:28:33 +02:00
cli.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
interceptor.py v2.0.0 (#1736) 2024-04-12 18:38:34 +02:00
server.py Pr 2290 ci run (#2329) 2024-07-31 10:27:15 -04:00
tracing.py Add OTLP Service Name Environment Variable (#2076) 2024-06-25 09:33:01 +02:00