@@ -2484,6 +2484,11 @@ def get_scheduler_fix(args, optimizer: Optimizer, num_processes: int): lr_scheduler_kwargs[key] = value def wrap_check_needless_num_warmup_steps(return_vals): if num_warmup_steps is not None and num_warmup_steps != 0: raise ValueError(f"{name} does not...
nuts = MCMC( NUTS(model_logreg), num_warmup=2**13, num_samples=2**10, num_chains=2**5, chain_method="vectorized", ) nuts.warmup(jr.key(2), x_train, labels_train, extra_fields=("num_steps",)) warmup_steps = nuts.get_extra_fields()["num_steps"] print(f"num warmup steps...
TypeError: get_cosine_schedule_with_warmup() got an unexpected keyword argument 'num_decay_steps' Reinstalling did not solve the problem.