{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreif5jfkfdchh3vm6y7jmbecfk2oa5f4aed6f5eysrpi2ivweuv3enm",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3milavwlrnqq2"
},
"path": "/t/peft-0-18-1-crashing-when-fine-tuning/174916#post_1",
"publishedAt": "2026-04-03T07:10:20.000Z",
"site": "https://discuss.huggingface.co",
"textContent": "Hi, peft Version: 0.18.1 is crashing when attempting to fine-tune google/gemma-4-E2B. The error msg is shown below. I checked and 0.18.1 is the latest version. Will there be an update soon or is there a workaround? I’d appreciate any help. thanks!\n\nValueError: Target module Gemma4ClippableLinear(\n(linear): Linear(in_features=768, out_features=768, bias=False)\n) is not supported. Currently, only the following modules are supported: `torch.nn.Linear`, `torch.nn.Embedding`, `torch.nn.Conv1d`, `torch.nn.Conv2d`, `torch.nn.Conv3d`, `transformers.pytorch_utils.Conv1D`, `torch.nn.MultiheadAttention.`.",
"title": "Peft 0.18.1 crashing when fine-tuning"
}