Skip to content

Instantly share code, notes, and snippets.

View umgefahren's full-sized avatar

Hannes Furmans umgefahren

View GitHub Profile
@heywoodlh
heywoodlh / configuration.nix
Created September 17, 2024 17:42
Don't use fprint on NixOS with lid closed (Dell XPS 13 9310)
{ config, pkgs, ... }:
{
# Fingerprint
services.fprintd = {
enable = true;
package = pkgs.fprintd-tod;
tod.enable = true;
tod.driver = pkgs.libfprint-2-tod1-goodix;
};
@pszemraj
pszemraj / USAGE.md
Last active March 10, 2025 05:41
how to use unsloth grad checkpointing

usage

Credit/source: here

how to use unsloth grad checkpointing

steps

To integrate the provided monkey patch for offloading gradient checkpointing into the Hugging Face transformers library, you need to follow these steps: