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
KHTST v23 — auditoria independente integrada: correções válidas aplicadas com provas (doc 35, Teos 35.1-35.14) e claims refutadas documentadas (doc 35 §11). PCGrad PROJETA (fator=dot/n2, g=gm+(ga-fator*gm) — 0 violações I1/I2/I3 em 100.083 pares; o antigo reescalava e violava a não-piora em 25,3%); RoPE com OFFSET de cache (desloc absoluto propagado — score de decode varia com t; era constante 2,756113); tronco 5:1 REAL (n_camadas=6, validação do campo que constrói o tronco; L=3 reprovado); checkpoint ATÔMICO (tmp+fsync+replace+fsync-dir, hash obrigatória, antigos por último); IPC lê a capacidade do HEADER (divergência=ValueError, fallback+Cython); dedup texto+entrada+saida+midia (29,5%->8,7%) + NFC; filtro P9 sem vazamento eval->treino (9 benchmarks pulados, hendrycks em train, Fable train); acumulação sem viés na retomada; hub com buffer + fechar(); mecanismo árvore VIVO (A-23, y+0*y_a=y bit a bit); erratas doc 26/28 (Sigma 1/tau diverge, T_tau=168,76, dH/dT=Var/T3, h^2/12 densidade contínua); auditoria HARDENED em auditoria_independente/ (4 scripts com assert+exit, 4/4 verdes); corpus real fresco 1612 registros com P9 (MATH-500 PULADA); A/B pareado 48 passos + grad peso_arvore vivo medido; suíte v23 35/35, regressão v1-v22 zero, verificar_tudo 49✓
b433ff3 verified Download tests/conftest.py from PowerMachine/khtst-multimodal-ptbr: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/PowerMachine/khtst-multimodal-ptbr/resolve/main/tests/conftest.py
- Command line
-
hf download hf://PowerMachine/khtst-multimodal-ptbr/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/PowerMachine/khtst-multimodal-ptbr/resolve/main/tests/conftest.py
1.38 kB
| # -*- coding: utf-8 -*- | |
| """conftest da suíte KHTST. | |
| v23 (P12 da auditoria independente — EXECUTAVEL.md §8 fase 1): a suíte era | |
| 100% torch-dependente — sem torch, os 20 arquivos falhavam NA COLEÇÃO por | |
| import (20/20 erros, nenhuma rede de segurança). Aqui a ausência de torch é | |
| detectada UMA vez e TODA a coleta vira skip com mensagem clara (pytest sai | |
| 0 com "skipped", em vez de 20 erros de importação); com torch presente, a | |
| coleta é idêntica à anterior (bit a bit — zero interferência). | |
| """ | |
| from __future__ import annotations | |
| import os | |
| import sys | |
| _RAIZ = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| for _caminho in (os.path.join(_RAIZ, "src"), | |
| os.path.join(_RAIZ, "src", "khtst", "acelerado")): | |
| if _caminho not in sys.path: | |
| sys.path.insert(0, _caminho) | |
| try: # torch é dependência dura da suíte | |
| import torch # noqa: F401 | |
| _SEM_TORCH = False | |
| except Exception: # ImportError e afins | |
| _SEM_TORCH = True | |
| def pytest_collection_modifyitems(config, items): | |
| if not _SEM_TORCH: | |
| return | |
| import pytest | |
| _skip = pytest.mark.skip( | |
| reason="torch ausente neste ambiente (P12) — a suíte KHTST é " | |
| "torch-dependente; instale torch para executar as provas") | |
| for item in items: | |
| item.add_marker(_skip) | |