# Conceptual sketch — this is Chapter 2's FedAvg,
# applied only to LoRA adapter weights, not the
# full model, which stays frozen and unchanged.
for round in range(num_rounds):
    adapters = []
    for client in sample_clients():
        local_adapter = client_update(
            base_model,      # frozen, never touched
            global_adapter,  # small, sent every round
            client.data)
        adapters.append(local_adapter)
    global_adapter = federated_average(adapters, weights)
