Tlola ho litaba
Ho Kenya tšebetsong

18. Ho Kenya Tšebetsong

Li-skripte tse ka hlahisoang hape tsa build, tlhophiso le netefatso

Kenya tikoloho ea Python ka ./scripts/bootstrap-python.sh, toolchain e tlamiloeng ea Rust ho tsoa ho rust-toolchain.toml, le lockfile ea web ka npm ci. U se ke ua commit lisebelisoa tsa bafani, linotlolo tsa poraefete, li-checkpoint, li-shard tse encrypted kapa li-log tse nang le tlhahisoleseling e utloisang bohloko.

Tatellano ea ho qala

  1. Compile li-shard tsa model ‘me u netefatse manifest ho host e tšepehang ea build.
  2. Aha katoloso ea Rust le native allocator ho moaho oa GPU o reretsoeng.
  3. Qala controller e foufetseng le li-worker ka lisetifikeiti tse tlamiloeng le li-flag tse thata tse hlokahalang.
  4. Ngolisa li-worker ka li-signature tse ncha tsa Ed25519 ‘me u netefatse bokhoni.
  5. Theha circuit ea client ‘me u tsamaise lihlahlobo tsa linomoro, ho hlakola, ho hloleha le ho hloekisa pele ho sephethe sa tlhahiso.

Bakeng sa li-model tsa Fortress, li-host tse hlophisitsoeng ka SSH li lokisoa ka boiketsetso ntle le haeba provision_workers=false e hlakile; ha ho hlokahale endpoint e arohaneng ea controller. SDK e fumana li-GPU ka nvidia-smi, e rarolla li-checkpoint tse tlamiloeng, e compile li-artifact tsa karolo tse tiisitsoeng ho moamoheli, e kenya archive ea mohloli e commit-ileng, e hlahisa boitsebiso ba mutual TLS bo ikemetseng ho phatlalatsong, ‘me e qala li-worker tsa karolo tsa QUIC tse netefalitsoeng. Li-host tse nne li etsa greid ea kamehla ea likarolo tse peli, ‘me li-model tse ngata li fumana lipakete tsa karolo tse arohaneng le li-port. Lisebelisoa li tsamaea ka senotlolo/agent kapa li fanoa ka mokhoa o sa tobang ‘me ha li kenngoe litaelong. Ho tima ho letetse ho hlakola ho ntseng ho tsoela pele le ho tsoa ha karolo; ho hloleha ha ho tlosa SSH ho boloka sebaka sa ho khutlisa sa lehae bakeng sa ho leka close() hape. Li-worker tsa tlhahiso li ntse li hloka transport e thata le ho arola ho moamoheli; HTTP ea tsoelopele e lekanyelitsoe ho teko ea lehae. python -m xurcroh.stage_worker e kenya stage e le ‘ngoe e tiisitsoeng ho moamoheli ho tsoa ho manifest. Tlhaloso ea model ea sechaba e fana ka manifest_path, tsela ea tokenizer ea lehae le boundary_key_env e sa tobang; mokhoa o thata o hana li-checkpoint tse felletseng tsa model tsa hōle ho e-na le ho nka HTTPS feela e le tšireletso ea tlhokomelo ea model.

Polokelo e kenyelletsa Dockerfile e notletsoeng ea li-stage tse ngata, deploy/compose.yaml ea loopback feela le deploy/kubernetes.yaml e shebaneng le TLS. Compose e sebelisa ka boomo HTTP ea tsoelopele marang-rang a le mong; ha se ho kenya tšebetsong ha zero-trust. Kubernetes e hloka lisetifikeiti tsa CA tse fanoang ke moetsi, polokelo ea checkpoint, leano la ingress, attestation le tlhophiso e thata ea shard. Litaelo tse felletseng le lihlahlobo tsa lisebelisoa li ho docs/deployment.md; ha ho setshelo kapa cluster ea ‘nete e bolelloang e netefalitsoe lehae ho host ena.

Li-stage tsa TEE tsa hōle li pepesa /v1/attestation/challenge le /v1/attestation/evidence. Li-client li tlama nonce e ncha e ‘ngoe le e ‘ngoe ho li-hash tsa workload, artifact le senotlolo sa sechaba, ebe li netefatsa bopaki ba AMD/Intel lehae. NVIDIA e tšehetsa netefatso ea lehae le li-token tsa NRAS tsa hōle tse tlamiloeng ho nonce; ho amoheloa ha confidential-GPU e kopaneng ho hloka bopaki ba CPU le ba GPU ka bobeli. Liteko li sebelisa inference ea ‘nete ea stage le ho hana tamper ka li-verifier double tse hlakileng; katleho ea ‘nete ea TEE ha e e-so netefatsoe.

Matrix ea leru le lekunutu

Li-adapter tsa semmuso tsa API le liteko tsa potoloho ea bophelo/polokeho tsa mock; ha ho polelo ea mofani oa ‘nete
MofaniSethalaMoeliTlhoko ea netefatso
AzureNCC40ads H100 v5, SEV-SNP + H100 NVLGPU e lekunutuBopaki bo kopaneng ba CPU/GPU le li-CIDR tsa ingress tse hlakileng
Google CloudA3 HighGPU, TDX + H100GPU e lekunutuBopaki bo kopaneng, firewall e nang le sebaka, lipotso tsa billing-export tse nang le litekanyetso
Alibaba Cloudgn8v-tee, TDX + H100GPU e lekunutuAppraisal e saennoeng ea leano/runtime ea OIDC le setšoantšo sa Linux se amohetsoeng
OCIE5/E6 Flex, SEV-SNPCPU feelaSenotlolo sa Veraison se tlamiloeng, appraisal e ncha e tiisang, litekanyo tse lebelletsoeng
AWSNitro EnclavesCPU feela, ha ho marang-rang a kantle a enclaveCOSE/ES384, motso o tlamiloeng, li-PCR, nonce, leano la KMS, relay ea AF_VSOCK
IBM VPCLiprofaele tsa hajoale tse nang le TDXCPU feelaCollateral e felletseng ea Intel DCAP le tlamo ea workload/senotlolo

Litsela tsa CPU feela ha li ke li balloa e le bopaki ba confidential-GPU. GCP G4 e kheloha ho fihlela phallo ea eona e arohaneng ea bopaki ba AMD e kenngoa tšebetsong. Li-adapter tsohle tse tšeletseng li kenya tšebetsong likonteraka tsa potoloho ea bophelo, li-instance tse setseng le tlaleho ea litefiso ka ProviderRegistry.with_defaults(), empa ha ho mofani ea kileng a qalisoa kapa a netefatsoa ka ‘nete ke liteko tsena tsa lehae. Lisebelisoa tse nepahetseng, li-CIDR, maano le lihlahlobo tsa moemeli ea tšehetsoeng ka chelete li ngotsoe ho docs/deployment.md.

Sebelisa scripts/gpu/validate.sh bakeng sa lihlahlobo tsa native le tsa CPU. EROFS/dm-verity le attestation ea AMD/Intel/NVIDIA ke ts’ireletso e eketsehileng ea boikhethelo, eseng litlhoko tsa ho kenya tšebetsong tsa bohle. scripts/fortress/validate_handoff.py e netefatsa mefuta eohle ea litaelo tsa offline tse 22 ntle le ho ikopanya le mofani. Li-manifest tsa li-model tse ngata li hloka --model; liphetoho tse sa rarolloang le li-fingerprint tsa ho qetela tsa artifact tse zero ke maemo a ho ema. Moralo oa hardware o thathamisa liteko tsa kamohelo tsa Stage Two.

SHANNON Pontšo ea lenaneo la NVIDIA Inception SHANNON LAB LLC ke setho sa lenaneo la NVIDIA Inception.

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