import torch
from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
from kernels import get_kernel
optimizer = get_kernel("motif-technologies/optimizer")
model = None# your model here
fsdp_model = FSDP(model)
optim = optimizer.Muon(
fsdp_model.parameters(),
lr=0.01,
momentum=0.9,
weight_decay=1e-4,
)
Runs of Motif-Technologies optimizer on huggingface.co
922
Total runs
0
24-hour runs
-8
3-day runs
-12
7-day runs
348
30-day runs
More Information About optimizer huggingface.co Model
optimizer huggingface.co is an AI model on huggingface.co that provides optimizer's model effect (), which can be used instantly with this Motif-Technologies optimizer model. huggingface.co supports a free trial of the optimizer model, and also provides paid use of the optimizer. Support call optimizer model through api, including Node.js, Python, http.
optimizer huggingface.co is an online trial and call api platform, which integrates optimizer's modeling effects, including api services, and provides a free online trial of optimizer, you can try optimizer online for free by clicking the link below.
Motif-Technologies optimizer online free url in huggingface.co:
optimizer is an open source model from GitHub that offers a free installation service, and any user can find optimizer on GitHub to install. At the same time, huggingface.co provides the effect of optimizer install, users can directly use optimizer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.