Dmitrii Fedorov (@by_zames) profile picture

Co-founder, Trinity (TRI-27) · Founder, Ternara (https://xitter.gq/t.co/YpNH5Ek0w4). Ternary compute: open toolchain from spec to RTL, FPGA pilots, chips in development.

São Paulo, Brazil
Joined July 2010
Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)Photo by Dmitrii Fedorov (@by_zames)
We put Trinity Check on Hugging Face Spaces. Paste a public GGUF link: your browser reads only the header (up to 256 MiB) and shows how llama.cpp, PrismML, bitnet.cpp and mortar.cpp read it. Nothing is uploaded. It doesn't run the model. huggingface.co/spaces/dmitri…
1
1
1
223
Here is how my ternary AI model Ternara T1 1.0.0 chooses its moves in a falling-blocks game on an FPGA board. One thread per candidate move; brighter means a higher value; the ring marks the move the board played.
1
55
My model for four in a row, Ternara G1 2.0.0, is there too, with its program, weights, measurement and board check: doi.org/10.5281/zenodo.24734… Q27 runs here as binary logic that stores each trit in 2 bits; this is not a ternary chip.
4
Our AI model Ternara G1 2.0.0 plays four in a row. In this video it wins a game on the board. The model and the game are one program in Q27. The laptop only listens.
1
2
2
74
220 openings never used to make training choices or to select the model; the positions with 4 to 7 discs that follow them were removed from training; positions with 8 or more discs come from random games and were not filtered.
1
2
Rounds 1 and 2 did not pass the pre-set bar. This one did. The model knows one game so far.
2
Launched Ternara FIR Fit — 0-DSP Verilog-2005 decimators (CSD+CSE). 16-bit M=8: 0 DSP48E1 vs 72 (Yosys pre-P&R). Measured (Icarus+Verilator): 0 mismatches / 50,340 outputs, 121.88 dB SFDR, 0.0894 µs GD. Live benchmark: ternara.net/fir-fit/
1
83
Estimated (Yosys 0.69+post pre-P&R): • M=4, 72 dB: 3,653 LUT_eff (−44.0% Base B, −38.9% CIC+HB) • M=4 Narrow 85 dB: 5,745 LUT_eff (−35.4% Base B; CIC+HB FAIL) Measured: Icarus+Verilator. Wide M=8 relaxed-GD favors CIC+HB; Vivado/Quartus P&R checked in pilot.
15
I finally managed to run my own ternary AI model on an FPGA board. A small network with weights −1, 0 and +1 plays Ternara Blocks, a falling-blocks game, by itself.
1
55
In a simulation of the game's rules (fall timer off), on 300 test games with random pieces (capped at 20,000 pieces, never reached), the network cleared 273.5 lines per game on average (95% interval 250.7 to 298.1), more than a formula player written by a person (191.9).
1
6
Next I will put the results on Zenodo so they can be cited, and then teach my AI models other tasks.
3