llm, attempt to fix decimal values which are supposed to be integers, fix some spacing.

This commit is contained in:
me
2026-10-09 15:26:22 -07:00
parent 816ef4ddc6
commit 9e6e162b03
+2 -2
View File
@@ -33,9 +33,9 @@
zerocode: zerocode zerocode: zerocode
qwen_code: qwen-code qwen_code: qwen-code
# Good to keep low to prevent swap usage. # Good to keep low to prevent swap usage.
llm_concurrency: "{{ ansible_memtotal_mb / 64000 | round(0, method='ceil') | int }}" llm_concurrency: "{{ (ansible_memtotal_mb / 64000) | round(0, method='ceil') | int }}"
# Allow having multiple chats open without them just waiting each other. # Allow having multiple chats open without them just waiting each other.
llm_parallel: "{{ ansible_processor_vcpus / 8 | round(0, method='ceil') | int }}" llm_parallel: "{{ (ansible_processor_vcpus / 8) | round(0, method='ceil') | int }}"
# Most LLMs take a coefficient of about 1.2 to 1.5 of their file size in # Most LLMs take a coefficient of about 1.2 to 1.5 of their file size in
# RAM, which is usually less than guessing a usage of weight*1000. # RAM, which is usually less than guessing a usage of weight*1000.
# Example: # Example: