Tlola ho litaba
Ho arola Model

06. Ho Arola Model

Maeto a encrypted a ho potoloha le ho kopanya linomoro li netefalitsoe

Compiler ea offline e bala config.json hammoho le model.safetensors kapa index ea eona, e fumana sebopeho sa lera, e arola li-stage tse tsoelang pele, e sebelisa liphetoho tse netefalitsoeng tsa dense/MoE, ‘me e arola moeli oa embedding/LM-head oa client. E hana lipopeho tse sa tšehetsoeng ho e-na le ho li kopitsa ka khutso.

Lisebelisoa tse nang le mofuta

Faele ea .xurcroh e na le magic ea li-byte tse 8, mofuta oa sebopeho, header ea JSON e tloaelehileng e lekantsoeng, nonce ea li-bit tse 96, le ciphertext ea ChaCha20-Poly1305. Header le prefix ke data e amanang e netefalitsoeng. Decryption e boetse e hlahloba digest ea plaintext. Li-DEK tsa stage ka ‘ngoe li kentsoe ka thoko ‘me ha li ke li bolokoe manifest e le plaintext.

SecureShardLoader e hloka senotlolo se nepahetseng le metadata ea stage, e decrypt ka RAM e fetohang e notletsoeng ka maqephe, e kenya safetensors ho tsoa ho li-byte, ebe e hlakola/e notlolla buffer ‘me e entse li-tensor tsa CPU zero. Linotlolo tse fosahetseng, ciphertext e fetotsoeng, ho khaola, lifaele tse sieo le li-stage tse sa lebelloang li hloleha ka mokhoa o koetsoeng. verify_manifest e netefatsa li-hash tsa artifact, boitsebiso bo tloaelehileng ba checkpoint le kakaretso e felletseng ea lera.

VerityPackager e fana ka automation ea ‘nete ea litaelo tsa EROFS/dm-verity. Ha e bolele botšepehi ba ts’ebetso; sena se hloka lihlahlobo tse arohaneng tsa mosebetsi le netefatso ea hardware. Sheba litšupiso tsa moahi le moeli oa client e tšesaane.

Ho kenya li-checkpoint tse quantized

Reader e sa tsejeng sebopeho e tšehetsa Safetensors, GGUF v1–v3, EXL2/GPTQ le EXL3 ho compiler e tšepehang. Ts’ebetso ea GGUF e koahela likhoutu tsohle tse 37 tsa mofuta tsa hajoale, li-manifest tsa shard, li-array tsa metadata, li-tokenizer tsa Hugging Face tse kentsoeng, le li-block tse quantized tsa little-/big-endian. Kaho hape ea EXL2 e sebetsana le li-bitrate tsa mela tse tsoakaneng, tatellano ea activation, litekanyo tse paketiloeng le padding; EXL3 e sebetsana le litekanyetso tsa trellis tsa linomoro tse felletseng/likarolo, li-codebook tsa 3INST/MCG/MUL1, le ho khutlisa Hadamard/matšoao. Kaho hape ea mohloli e latelloa ke quantization e ikemetseng ea Fortress, kahoo ho lekana ho nepahetseng ha quantized-reference le phoso ea boleng ba model ea mohloli ke litekanyo tse peli tse arohaneng.

Li-adapter tsa moaho tsa canonical li tsamaisa mabitso a ‘nete a GGUF, QKV e kopantsoeng le li-expert tse kentsoeng holim’a tse ling ho ts’ebetso ea Fortress ea logical ntle le ho decode li-weight nakong ea ho fumana sebopeho. GGUF ke setshelo, eseng graph ea likhomphutha: meaho e tlang e sa tsejoeng kapa li-tensor tse sa hlalosoang li hloleha ka mokhoa o koetsoeng ka CapabilityError ho e-na le ho akanngoa. Ngoliso ea SDK ea sechaba e khetha Fortress ka boyona bakeng sa mefuta ena ‘me e hana liphetoho tsa plaintext engine tse sa lumellaneng. Sheba laboratori ea mefuta e quantized.

Lipakete tsa karolo tsa Fortress

Fortress e sebelisa sebopeho se arohaneng sa role-artifact bakeng sa greid ea likarolo tsa additive. Compilation e nang le seed e sebelisa libaka tsa HKDF-SHA256 bakeng sa ts’ebetso, index ea karolo, morero oa basis le epoch. Artifact ea xurcroh-fortress-role-v2 e na le seed ea karolo e seng ea ho qetela le sebopeho sa matrix; worker e atolosa matrix ea eona ka ChaCha20. Karolo ea ho qetela e lula e le artifact e felletseng ea xurcroh-fortress-role-v1 AONT-RS hobane e itšetlehile ka weight e quantized le karolo e ‘ngoe le e ‘ngoe e e etellang pele. Likarolo tse atolositsoeng ka seed li fana ka obfuscation ea likhomphutha, eseng polokeho ea information-theoretic.

Nakong ea ho kenya tšebetsong, compiler e ngola li-artifact tsa karolo tsa ts’ebetso e ‘ngoe le e ‘ngoe hang-hang ebe e lahla li-matrix tsa worker le liphutheloana tsa dispersal. Mokhoa oa compilation o sa bolokeng letho o boetse o lahla boleng ba li-weight tse quantized ha o ntse o boloka litlhaloso tsa tensor, li-signed permutation tsa client feela le li-vector tsa phephetso tsa Freivalds. Lipalo tsa tšupiso li hana ts’ebetso e nang le litlhaloso feela ha ho hlokoa boleng bo bōpiloeng; palo eo e hloleha ka ho hlaka, ho e-na le ho fokotsa netefatso ka khutso. Compile ea semmuso ea Qwen3-0.6B e se nang li-matrix tsa worker kapa boleng bo quantized bo bolokiloeng e phethiloe ka lisekonding tse 108.79 ka RSS e kholo ka ho fetisisa ea 3,011,548 KiB ho host ea tsoelopele. Ena ke tekanyo ea ts’ebetso, eseng tiiso ea thin-client. Liphephetso tsa botšepehi ke lekunutu le lecha le hlahisoang ke OS, eseng boleng bo nkiloeng ho seed ea ho kenya tšebetsong. Lipalo le kaho hape li sebelisa likarolo tse tloaelehileng tsa field 232−52^{32}-5, ka mantsoe a transport a 32-bit a kopaneng. Tsela ea hōle ea model ea semmuso e sebelisa likhomphutha tsa nonlinear tsa FP32 ka lehlakoreng la client; FP64 e ntse e le teng bakeng sa netefatso ea tšupiso. Phatlalatso ea li-artifact e sebelisa SSH e netefalitsoeng, ‘me inference e sebelisa QUIC e netefatsanang; ts’ireletso ena ea transport e fapane le khopolo ea sephiri sa likarolo.

Kgetha puo ya hao

Dipuo tsohle di lekana. Kgetha eo o batlang ho e sebedisa ha o bala.

Yuropa

Middle East le Afrika Leboea

Asia Boroa

Asia Boroa-Botjhabela

Asia Botjhabela

Asia e Bohareng le Caucasus

Afrika

Oceania

Lipuo tse Entsoeng le tsa Khale