Inquiry regarding reproducibility: Missing features and gradient disconnection in GPT-2 training
Hello authors, thanks for open sourcing MobileFineTuner. The on-device training approach is very interesting. I cloned the repo recently and tried to run some tests to reproduce the results, but I ran into a few issues and was hoping you could clarify.
The most critical issue I found is gradient disconnection during GPT-2 training. When testing Full-FT and QKV LoRA, some parameters didn't receive gradients at all (I noticed about 5 out of 16 parameter groups had no gradients). I saw there is an open PR (#6) fixing the reshape backward registration. Will merging that PR fully solve this, or are there other operators missing their backward passes?
Another thing is the memory-efficient attention mentioned in the paper. In the current code, the streaming attention path seems to lack gradient support and falls back to standard attention when training, which builds the full attention matrix. Is the backward pass implemented elsewhere, or is this feature not fully ready in the open-source version?
Also, I noticed some key features from the paper seem to be missing or removed. For example, parameter disk offloading and activation checkpointing directories are gone. The same goes for the Android health assistant app and the CHQA dataset—we only see the JNI and SDK parts. Are there plans to release these missing pieces, or the evaluation scripts, in the future?