~<==|
.====|====.
( ..::|::=% (
( ----+---- ( ~<=|
'====|====' .====|====.
=[#]= ( ..::|::=% (
.========|========. ( ----+---- (
( ...::: | :::=%# ( '====|===='
( ...:::: | :::%%# ( =[#]=
( --====--+--====- ( .======|======.
( ...::: | :::=%# ( ( ..:::|::=%# (
'========|========' ( ...:::|::%%# (
.===========|===========. ( --====+====- (
( ...:::: | :::==%# ( ( ...:::|::%%# (
( ....:::: | :::==%%# ( ( ..:::|::=%# (
( ---=====---+---=====-- ( '======|======'
( ...:::: | :::==%# ( |
'===========|===========' |
| | _.-''---..###########################..--''-._ _.--.
.-' ..::#########%***************%########::.. ''-._ .' .::/
.' .::###########################################::. '-._/ .::.'
/ .::########%%%%**********************%%%%##########::. .::/
/ .::######%%**====::::::::::::::::::::::====**%%#########::.::.'
| .:#####%*==:::::::::::::::::::::::::::::::===**%%###########::.'
| .:#####%*=::::::.......................::::===*%%#############'-.
|.:#####%*=:::::.........................::::==*%%############::.'-.
\ ':####%*==::::::...............::::::====*****%%###########:::. '. \
'. '':###%%***=====================********%%%########:::' '-'.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-._.-'~'-.
~ .-'~'-. ~ .-'~'-. ~ .-'~'-. ~ .-'~'-. ~ .-'~'-. ~ .-'~'-. ~ .-'~'-. ~
OchreML v0.3.7 · Rust + PyO3
Heavyweight ML, without the weight.
63 Classical ML estimators, ochreml.nn deep learning, a zero-Python CLI, and a pure-stdlib MCP server — in one 21.8 MB wheel.
uv add ochremlEverything in one wheel
Classical ML, Deep Learning, CLI & MCP
ochreml Core — 63 Classical ML Estimators
1-line Scikit-Learn migration with 100% CPU win rate (62/62), 4.03x median speedup, 0.61 ms PEP 562 cold import, and 100M-row streaming.
ochreml.nn
Zero-GIL Sequential.fit(), Conv2d without cuDNN, RNN/GRU/LSTM, and CausalLM + LoRA. Up to 80.2x vs PyTorch CUDA.
ochreml CLI
Profile CSV/Parquet, run CV AutoML with compare, verify .dit binaries, and serve HTTP /predict without writing Python.
ochreml mcp
Zero-dependency JSON-RPC 2.0 MCP server over stdio with 9 ML tools, 2 live API catalogs, and strict --root containment.
4 Hardware Backends
15 shared Rust primitives across CPU Rayon, CUDA Multi-GPU, wgpu, and Google Cloud TPU PJRT with automatic fallback.
.dit Binary Persistence
Custom DIT\x01 binary format with 102 additive tags, zero pickle RCE surface, and one ~21.8 MB zero-dependency wheel.
Measured .fit() Latency · CPU 4-Core (v0.3.7)
Life is too short to wait for .fit()
\ /
\ .-. /
@(o.o)@
( - )
| | .-.
| |\ / /
/ \ / \'-'-'
^ ^atar |
)
(
\ / \
\/ \
| |
/| |\
@(o^o)@
'---'aditfit() duration
Peak RAM Delta · CPU 4-Core (v0.3.7)
A mountain of RAM vs. a gentle ochre hill
#%
|%#\%
^ /// ::\%\#%%#:\ #%\
/-\ /#::-::/:-:::/-|\%%#%%::\\ -/#%\
//\\\ //%%-::/:-:::/-::\%#%%#\-/::\/://%#\\
/:::\\-%%#%:/:-:::/-:::|#%%#%\#:::-:/:/#%\#%\\
/::-:\%%#%%\:-:::/-::::/\%#%%\%%:-:/::-/%\%%#%%\
/:-:/:\#%%#\%:::/-::::/:||%%#\%#%:/::-::/\%#%%#\%\ ^
//-:/::-\###\##:/-::::/:::\###\####::-::/:/#####\###-#\
/-./..-../\#\###-..../....-|##\#####-../.-./####\#####\#\\
/./..-../.-\\####.../....-/.\#\#####\./.-.../###\#####\####\
///..-../.-..\#####./....-/...|\#####\#.-.../-/##\#####\#####\\\
//..-../.-.../\####\....-/...-.\#####\##.../-.//#\#####\#####\###\\
/:.:.:.:.:.:.:.:\#%#%:.:.:.:.:.:|#%#%#%#%:.:.:./%#%#%#%#%#%#%#%#%#%#\\
/.:.:.:.:.:.:.:.:\#%#%:.:.:.:.:.:\#%#%#%#%:.:.:./%#%#%#%#%#%#%#%#%#%#%# One AI brain. Eight tentacles on real ML.
Connect Claude, Cursor, or Antigravity directly to OchreML's zero-dependency MCP server. Hover or click any tentacle to inspect the live JSON-RPC call.
______________
/.:.::=:=%=%=%%#%#%#%#%\
/.:.:.::=:=:=%=%=%=#%#%#%#%#%\
/:.:.:.:.=:=:=:=%=%=%=#%#%#%#%#%#\
/:.:.:.:.::=:=:=:=%=%=%=#%#%#%#%#%#\
(:.:.:.:.:.=:=:=:=%=%=%=%%#%#%#%#%#%#)
(.:.:.:.:.::=:=:=:=%=%=%=#%#%#%#%#%#%)
(:.:.:.:.:.=:=:=:=%=%=%=%%#%#%#%#%#%#)
(:=:=:=:=:=:=:=:=:=%=%=%=#%#%#%#%#%#%)
(:=:=:=:=:=:=:=:=%=%=%=#%#%#%#%#%#%)
(=:=:=:=:=:=:=%=%=%=#%#%#%#%#%#)
\=:=:=:=:=:=:=%=%=#%#%#%#%#%#/
\=:=:=:=:=:=%=%=%%#%#%#%#%#/
\:=:=:=:=:=:=:=%=%=%%#%#%#%#%#%/
=:=:=:=:=:=:=:=:=%=%=%%#%#%#%#%#%#
:=:=:=:=:=:=:=:=%=%=%=#%#%#%#%#%#%
:=:=:=:=:=:=%=%=%=#%#%#%#%#%
{"method":"tools/call","params":{"name":"ochreml_compare","arguments":{"path":"housing.csv","target":"price","cv":5}}}{"best":"HistGradientBoostingRegressor","r2":0.9412,"runner_up":"RandomForestRegressor","saved":"best.dit"} |>~
_ _ _ _
| |_| |_| |_| |
|_____________|
_ _ _ | :: :: | _ _ _
| |_| |_| | | || || | | |_| |_| |
|_________| | ::::::: | |_________|
| ::|:: | _ _ | ::===:: | _ _ | ::|:: |
| ::::: |_| |_| || || |_| |_| ::::: |
| ::|:: |________| .---. |________| ::|:: |
| ::::: | ::[]:: | /#####\ | ::[]:: | ::::: |
| ::::: | :::::: | |#####| | :::::: | ::::: |
_|_______|________|__|#####|__|________|_______|_Sponsor & Donate · Independent Open Source
Keep the sails up.
OchreML is built and maintained independently with zero corporate backing. If this 21.8 MB wheel saves your team compute time, fuel the next release on Trakteer (^▽^)
ochreml · FUNDING.yml100% OSS ||
^ /\ ^
^ \\ /::\ // ^
\\ \\ /::\ // //
^ \:\ \::\. /::::\ ./::/ /:/ ^
\\ \:::\ \:::::. /::::::\ .:::::/ /:::/ //
\:::\ \%::::::. /%%:::::. /%%%%%%%%\ .:::::%%\ .::::::%/ /:::/
\::::\.. /###::::::. /#####::::::. /::::::::::\ .::::::#####\ .::::::###\ ../::::/
/%%:::::::. /%%%%%%%::::::. /%%%%%%%%:::::__/%%%%%%%%%%%%\__:::::%%%%%%%%\ .::::::%%%%%%%\ .:::::::%%\
/#######::::::./###########::::/#############::/::::::/\::::::\::#############\::::###########\.::::::#######\
/%%%%%%%%%%%%:/###%%%%%%%%%%%%/#####%%%%%%%%%%/######/::\######\%%%%%%%%%%#####\%%%%%%%%%%%%###\:%%%%%%%%%%%%\
/===##########/========#######/=========######/======/::::\======\######=========\#######========\##########===\
/#########%%%/###############/##############/#######/%%%%%%\#######\##############\###############\%%%#########\
/============/================/=============/======/::::::::::\======\=============\================\============\
/#############/###############/#############/#####/##############\#####\#############\###############\#############\
/============/===============/============/=====/------------------\=====\============\===============\============\
========================================================================================================================
\ :=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= | .------------. | =:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=: /
\ | .---. .---. .---. .---. .---. | | ::: ::: | | .---. .---. .---. .---. .---. | /
\ | |:::| |:::| |:::| |:::| |:::| | | ::: ::: | | |:::| |:::| |:::| |:::| |:::| | /
\| |===| |===| |===| |===| |===| | |============| | |===| |===| |===| |===| |===| |/
| |:::| |:::| |:::| |:::| |:::| | |============| | |:::| |:::| |:::| |:::| |:::| |
|==|===|===|===|===|===|===|===|===|===|=| |============| |=|===|===|===|===|===|===|===|===|===|==|
|| || || || || || |============| || || || || || ||
|| || || || || || |============| || || || || || ||
__________||_____||_____||_____||_____||_____||______|____________|______||_____||_____||_____||_____||_____||__________Something big is coming.
Beyond the horizon, the next chapter is already taking shape. Details remain sealed until launch.