Skip to content

Commit

Permalink
Add liger kernel support for train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
crislmfroes authored Mar 3, 2025
1 parent 5e50592 commit 167a759
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lerobot/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from liger_kernel.transformers import apply_liger_kernel_to_gemma
apply_liger_kernel_to_gemma()
import logging
import time
from contextlib import nullcontext
Expand Down

0 comments on commit 167a759

Please sign in to comment.