mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-29 07:34:31 +00:00
66 lines
1.1 KiB
TeX
66 lines
1.1 KiB
TeX
\section{Configuration Reference}
|
|
|
|
|
|
\subsection{HLLM Configuration}
|
|
|
|
\texttt{~/.hanzo/hllm.toml}:
|
|
|
|
\begin{lstlisting}
|
|
[hllm]
|
|
num_regimes = 4
|
|
transition_threshold = 0.15
|
|
energy_scale = 1.0
|
|
quantization_bits = 1
|
|
efe_precision = 0.01
|
|
db_path = "./hllm_storage.db"
|
|
vector_dim = 768
|
|
adapter_cache_size = 100
|
|
\end{lstlisting}
|
|
|
|
\subsection{PQC Configuration}
|
|
|
|
\texttt{~/.hanzo/pqc.toml}:
|
|
|
|
\begin{lstlisting}
|
|
[pqc]
|
|
default_kem = "ML-KEM-768"
|
|
default_dsa = "ML-DSA-65"
|
|
hybrid_mode = true
|
|
fips_mode = false
|
|
auto_privacy_tier = true
|
|
|
|
[kbs]
|
|
attestation_required = true
|
|
gpu_cc_enabled = true
|
|
tee_io_enabled = false
|
|
\end{lstlisting}
|
|
|
|
\subsection{Runtime Configuration}
|
|
|
|
\texttt{~/.hanzo/runtime.toml}:
|
|
|
|
\begin{lstlisting}
|
|
[runtime]
|
|
default_type = "docker"
|
|
max_concurrent_deployments = 100
|
|
|
|
[runtime.docker]
|
|
socket = "/var/run/docker.sock"
|
|
enable_gpu = true
|
|
|
|
[runtime.kubernetes]
|
|
kubeconfig = "~/.kube/config"
|
|
namespace = "hanzo"
|
|
|
|
[runtime.wasm]
|
|
engine = "wasmtime"
|
|
cache_size_mb = 512
|
|
|
|
[metering]
|
|
compute_unit_formula = "cpu*10 + mem_gb*5 + gpu*100"
|
|
billing_interval_blocks = 100
|
|
token_mining_rate = 10.0
|
|
validator_commission = 0.10
|
|
\end{lstlisting}
|
|
|