AdamW is a variant of the Adam optimizer that separates weight decay from the gradient update based on the observation that the weight decay formulation is different when…
AdamW
AdamW is a variant of the Adam optimizer that separates weight decay from the gradient update based on the observation that the weight decay formulation is different when applied to SGD and Adam.
bitsandbytes also supports paged optimizers which take advantage of CUDAs unified memory to transfer memory from the GPU to the CPU when GPU memory is exhausted.
AdamW[[api-class]]
[[autodoc]] bitsandbytes.optim.AdamW - init
AdamW8bit
[[autodoc]] bitsandbytes.optim.AdamW8bit - init
AdamW32bit
[[autodoc]] bitsandbytes.optim.AdamW32bit - init
PagedAdamW
[[autodoc]] bitsandbytes.optim.PagedAdamW - init
PagedAdamW8bit
[[autodoc]] bitsandbytes.optim.PagedAdamW8bit - init
PagedAdamW32bit
[[autodoc]] bitsandbytes.optim.PagedAdamW32bit - init
Source and license
Source: Bitsandbytes documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.