MobileFineTuner icon indicating copy to clipboard operation
MobileFineTuner copied to clipboard

Questions on reproducing the results: encountering gradient issues and missing features

Open szywmx opened this issue 3 weeks ago • 0 comments

Hello authors, thanks for sharing the MobileFineTuner codebase. The approach is very interesting and I'm eager to learn from it.

I recently tried to reproduce some of the training results but ran into a few roadblocks. I was wondering if you could point me in the right direction or share some insights: 1、GPT-2 training issue: When testing Full-FT and QKV LoRA, I noticed some parameters aren't receiving gradients (around 5 out of 16 groups in my test). I saw PR #6 is working on the reshape backward registration. Is this the main cause, or might I be missing some environment setup? 2、Streaming attention during training: The paper mentions memory-efficient attention. In the current code, it seems to fall back to standard attention when gradients are required. Is the backward pass implemented somewhere else, or is this feature still a work in progress? 3、Missing modules: I couldn't locate the directories for parameter disk offloading and activation checkpointing mentioned in the paper. Were these moved to a different branch? Also, for the Android health assistant case, I only found the JNI/SDK parts but not the full app or the CHQA dataset. I understand the open-source repo might not include everything from the paper. Any hints on where to look or whether these pieces will be released later would be super helpful. Thanks for your time and great work!

szywmx avatar Nov 05 '26 07:11 szywmx