Add warning if a seemingly fairseq2 checkpoint is passed to model constructor
Summary: Add warning if a seemingly fairseq2 checkpoint is passed to model constructor but --fairseq2 was not specified. (Heuristic.) Reviewed By: larryliu0820 Differential Revision: D54209318 fbshipit-source-id: 37338bbf908ae7bcbf25d782b1e262c14a70dd25
M
Michael Gschwind committed
780b85e75481f0fc4f0aa3bd4fc02248d373dcd7
Parent: 74baa0a
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 2/29/2024, 7:05:53 PM