{"slug": "peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset", "title": "Peanut v2 - A more stable Adam variant, tested on CPU only. Try it on your dataset?", "summary": "A developer publishing as dskc released Peanut v2, an Adam optimizer variant with two modifications, built and tested on a CPU-only laptop with no GPU. On Fashion-MNIST with a CNN, batch size 64, learning rate 0.01 and 3 seeds, Peanut v2 did not beat Adam by a large margin but never collapsed, while AdamW collapsed on some seeds at 0.8803 on the CNN and 0.8366 on the MLP. The developer is asking users to test Peanut v2 on their own datasets and to open GitHub issues with seed, dataset, learning rate and final accuracy, including negative results, for addition to the README.", "body_md": "Hi everyone,\n\nI just made public a small peanut project I built on a CPU-only laptop, no GPU.\n\nRepo: [https://github.com/dskc/peanut](https://l.meta.ai/?u=https%3A%2F%2Fgithub.com%2Fdskc%2Fpeanut&h=AUBzmfVeqgT0DDYXwOqyTMhbsX3D9gOzyZ4OzEHEu4B8FgYkOzUTf0mIfwA9xd4J-r0KJcgtihhFt1c4vTQ0HKZe7bv4GPyGEPdFqW_WF8r1CRmIVZrT8TFBcrVazf4MrBsI4-Z_uNlXfOh7osaPEzGugoWdd1jJINBwEQ)\n\nIdea is simple. Peanut v2 is Adam with two changes:\n\nEverything else is standard Adam.\n\nResults, Fashion-MNIST, CNN, batch 64, lr 0.01, 3 seeds:\n\nExperiment 01, 10 epochs:\n\nExperiment 02, 20 epochs, long training:\n\nPeanut does not beat Adam by a lot. The real win is stability.\n\nAdamW collapsed on some seeds in my tests, 0.8803 on CNN, 0.8366 on MLP.\n\nPeanut v2 never collapsed.\n\nLimits, to be honest:\n\nI kept the repo tiny on purpose:\n\nI would love your help to test it further:\n\nIf it fails, that is also useful. Open an issue with seed, dataset, lr, and final accuracy, and I will add it to the README.\n\nWelcome to experiment. All feedback welcome, especially negative results.\n\nPlease pay a visit to [dskc/peanut · Discussions · GitHub](https://github.com/dskc/peanut/discussions) share your thoughts there as well\n\nThanks!", "url": "https://wpnews.pro/news/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset", "canonical_source": "https://discuss.huggingface.co/t/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset/191809#post_1", "published_at": "2026-11-13 17:26:14+00:00", "updated_at": "2026-11-13 17:49:26.778294+00:00", "lang": "en", "topics": ["machine-learning", "ai-research", "neural-networks", "developer-tools"], "entities": ["Peanut v2", "Adam", "AdamW", "Fashion-MNIST", "dskc", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset", "markdown": "https://wpnews.pro/news/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset.md", "text": "https://wpnews.pro/news/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset.txt", "jsonld": "https://wpnews.pro/news/peanut-v2-a-more-stable-adam-variant-tested-on-cpu-only-try-it-on-your-dataset.jsonld"}}