<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pelloran</title>
    <description>The latest articles on DEV Community by Pelloran (@pelloran).</description>
    <link>https://dev.to/pelloran</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4229208%2Ff0cd5fc3-bfd9-4cc0-8651-87c9e58ded10.png</url>
      <title>DEV Community: Pelloran</title>
      <link>https://dev.to/pelloran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pelloran"/>
    <language>en</language>
    <item>
      <title>We Open-Sourced tritify: Deterministic AI Inference with Exact Integer Arithmetic</title>
      <dc:creator>Pelloran</dc:creator>
      <pubDate>Thu, 05 Nov 2026 20:09:54 +0000</pubDate>
      <link>https://dev.to/pelloran/we-open-sourced-tritify-deterministic-ai-inference-with-exact-integer-arithmetic-4ncc</link>
      <guid>https://dev.to/pelloran/we-open-sourced-tritify-deterministic-ai-inference-with-exact-integer-arithmetic-4ncc</guid>
      <description>&lt;p&gt;We just open-sourced &lt;strong&gt;tritify&lt;/strong&gt; — Pelloran’s deterministic AI inference runtime built around exact integer arithmetic.&lt;/p&gt;

&lt;p&gt;The core idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Same weights. Same input. Same execution schedule. Same bits.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;Typical optimized floating-point inference is not bit-identical across environments by default.&lt;/p&gt;

&lt;p&gt;Different hardware, compiler behavior, reduction order, threading, or math libraries can change the low-order bits of a result.&lt;/p&gt;

&lt;p&gt;For many workloads, that is acceptable.&lt;/p&gt;

&lt;p&gt;But if you want AI inference to be independently reproducible and verifiable, “almost the same” is not the same as “the same.”&lt;/p&gt;

&lt;p&gt;tritify takes a different approach.&lt;/p&gt;

&lt;p&gt;Its runtime inference path uses fully specified integer arithmetic so that the output can be reproduced exactly across supported environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we tested
&lt;/h2&gt;

&lt;p&gt;In our experiments, tritify demonstrated:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;bit-identical inference across tested CPU architectures&lt;/li&gt;
&lt;li&gt;deterministic integer execution with a floating-point reference for verification&lt;/li&gt;
&lt;li&gt;reproducible Mixture-of-Experts routing&lt;/li&gt;
&lt;li&gt;distributed inference where the gathered result exactly matches the single-host reference&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One of the larger demonstrations used &lt;strong&gt;GLM-4.5-Air&lt;/strong&gt;, a 106.9B-parameter Mixture-of-Experts model.&lt;/p&gt;

&lt;p&gt;The transformed model produced roughly &lt;strong&gt;427 GB of integer codes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We ran it across three machines, none of which could hold the full model codes in RAM.&lt;/p&gt;

&lt;p&gt;The distributed run produced the same result and the same SHA-256 as the single-host streamed reference.&lt;/p&gt;

&lt;p&gt;Different hardware.&lt;br&gt;&lt;br&gt;
Different locations.&lt;br&gt;&lt;br&gt;
Same bits.&lt;/p&gt;

&lt;h2&gt;
  
  
  What tritify is not
&lt;/h2&gt;

&lt;p&gt;This is &lt;strong&gt;not a speed claim&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Distribution adds communication overhead, and the integer runtime is not presented as faster than optimized floating-point inference.&lt;/p&gt;

&lt;p&gt;The goal is different:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;determinism&lt;/li&gt;
&lt;li&gt;reproducibility&lt;/li&gt;
&lt;li&gt;portability&lt;/li&gt;
&lt;li&gt;verifiability&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open source
&lt;/h2&gt;

&lt;p&gt;tritify is released under &lt;strong&gt;Apache 2.0&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The repository includes the inference engine, model-family plugins, verification tooling, reproducibility harnesses, and distributed coordinator/worker components.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/pelloran-inc/tritify" rel="noopener noreferrer"&gt;https://github.com/pelloran-inc/tritify&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Whitepaper:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://doi.org/10.5281/zenodo.23986737" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.23986737&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you work on AI infrastructure, deterministic inference, Mixture-of-Experts systems, or reproducibility, we’d be very interested in your feedback.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clone it. Run it. Verify the hash.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
