Portuguese
mamba
mamba-3
ssm
muon
muonclip
qk-clip
adamw
optimizer
nope
hybrid-architecture
activation-checkpointing
3d-vision-language
depth-perception
point-cloud
diffusion
stable-diffusion
mixture-of-experts
kohonen
som-attention
random-forest
deep-neural-network
knowledge-distillation
bidirectional-distillation
engram-memory
multimodal
multi-token-prediction
dpo
rlhf
hh-rlhf
pcgrad
long-context
lra-qvit
engineer-agent
integral-state
cython
jev-classifiers
gumbel-softmax
quantization
riemannian-optimization
stiefel-manifold
cython-kernels
gradient-accumulation
vector-quantization
grayscale-detection
joint-perception
self-regulation
signal-table
abmo
ciar
growing-som
pt-br
File size: 955 Bytes
5e2c860 20672ab 5e2c860 20672ab 5e2c860 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # -*- coding: utf-8 -*-
"""Build do módulo IPC Cython (v18; v21 doc 33 §1). Compilar:
cd src/khtst/ipc && python setup.py build_ext --inplace
O .so resultante é COMMITADO ao repositório (praxe desde a v9.1 — os
artefatos acelerados acompanham o repo). v21: ÚNICA implementação de
produção — o crate Rust foi removido (DRY, Teo 33.1); a compilação
verifica o layout em compile-time (_Static_assert, Teo 33.1).
"""
from setuptools import setup, Extension
from Cython.Build import cythonize
ext = Extension(
"khtst_ipc", # nome TOP-LEVEL: compila ./khtst_ipc.so
sources=["khtst_ipc.pyx"],
extra_compile_args=["-O3", "-std=c11"],
)
setup(
name="khtst_ipc",
ext_modules=cythonize(
[ext],
compiler_directives={
"language_level": "3",
"boundscheck": False,
"wraparound": False,
"cdivision": True,
},
annotate=False),
)
|