> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Tensward's Change Validation Process for AI Inference
- URL: https://www.stirup.si/tensward-s-change-validation-process-for-ai-inference-65490e54/
- Published: 2026-11-11T15:48:41.000Z
- Updated: 2026-11-11T15:48:41.000Z
- Description: Tensward's Change Validation Process ensures modifications to local AI inference are only adopted if they demonstrably improve performance and accuracy, using predefined checks and iterative testing.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Tensward's Change Validation Process

Tensward’s Change Validation Process ensures that modifications to local AI inference are only adopted if they demonstrably improve performance and accuracy. The tool measures how your LLM is served on your own machine and offers one change at a time. A change is only kept if it is faster and the answers pass your predefined checks. According to Tensward, a difference of a few percent between two single runs is not considered a finding. Instead, a change is only called real when it is bigger than the differences between identical runs, as detailed in the report. This approach minimizes the risk of adopting insignificant or unstable improvements, ensuring that only meaningful optimizations are applied. The process is designed to provide users with a reliable and repeatable way to refine their AI inference setup without unnecessary disruptions.

## Performance Optimization with Tensward

Tensward offers performance optimization for local AI inference by fine-tuning parameters such as `--load-mode none`, `--threads 16`, and memory allocation settings. According to user testing, using `--load-mode none` with `--n-gpu-layers all --n-cpu-moe 17` reduces setup time to about 11 minutes by leveraging memory-mapped file access. Further, increasing `--threads 16` improves performance by fully utilizing available CPU resources, cutting setup time to approximately 8 minutes. Additional optimizations, such as adjusting `--max-num-batched-tokens` and `--kv-cache-memory-bytes`, led to a 64% increase in requests per second and a 52% increase in output tokens per second. These improvements were measured on a system with specific configurations and do not guarantee identical results across all setups. The user also noted a significant reduction in the time taken for the slowest 1 in 20 first-word responses, decreasing by 99%.

## Implementation and Acceptance of Changes

Tensward enables users to implement and accept changes to local AI inference configurations through a structured process. When running experiments, users can compare different setups, such as adjusting the number of threads or memory allocation, and review the resulting changes in answers. If satisfied, they can use the `--keep` flag to retain the current configuration. For example, `tensward try --keep` preserves the selected settings, while `tensward try skip` allows exploration of alternative configurations like `--threads-batch 16`. Accepted changes can be finalized using `tensward set <run id> --accept-answer-changes`, ensuring that the preferred setup becomes the default. This approach allows users to iteratively refine their AI inference environments without disrupting ongoing workflows.

## Installation and System Requirements

Installation of Tensward requires Python 3.11 or newer, with `uv` used to manage dependencies. If `uv` is not installed, users can run `curl -LsSf https://astral.sh/uv/install.sh | sh` to install it, then open a new shell and execute `uv tool install tensward==0.4.2` to install the latest version of Tensward. For systems without a GPU, the `llama-b11669-bin-ubuntu-x64.tar.gz` package is recommended, and users must install `libgomp1` via `sudo apt install -y libgomp1`. On Mac systems, users should install `llama.cpp` using `brew`, and verify that `llama-server --version` shows build 11669 or newer.

## Supported Hardware and Model Formats

Tensward supports a range of hardware and model formats, ensuring flexibility for users. It runs one engine process (vllm or llama-server) on 127.0.0.1 at a free port, initiated by Tensward and terminated when it exits, fails, or when the user presses Ctrl-C. Supported hardware includes NVIDIA GPUs, Apple Silicon, and CPU-only systems. For model formats, vLLM supports safetensors with BF16, FP16, AWQ, GPTQ, FP8, and compressed-tensors, while llama.cpp supports GGUF on both CUDA and Metal builds. Specific examples include running Qwen3.8-27B int4 and LFM2-8B-A1B on vLLM, and Qwen3.5-35B-A3B (Q8\_0, Q4) and Qwen3.8-27B Q4 on llama.cpp. Tensward does not alter production setups or download models by default, pulling an engine image only after user confirmation or with the --yes flag.

## Sources and reporting notes

- [Hacker News Show](https://github.com/Tensward/tensward?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.