Skip to content

Commit

Permalink
fix: add transformer overlay for processor support
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Feb 5, 2025
1 parent 76d526d commit 07c0080
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ final: prev: {
(
python-self: python-super: with python-self; {
# Python package override example:
# transformers = python-super.transformers.overrideAttrs (
# _: _: {
# src = final.fetchFromGitHub {
# owner = "huggingface";
# repo = "transformers";
# rev = "2bd4d5897dc73e8b172832070a6f9e567a0df017";
# hash = "sha256-JOIpKH9ssDEfI2Tf15e0iPKtThJwQ9GxMvRAnm+M2Pg=";
# };
# }
# );
transformers = python-super.transformers.overrideAttrs (
_: _: {
src = final.fetchFromGitHub {
owner = "huggingface";
repo = "transformers";
rev = "8d73a38606bc342b370afe1f42718b4828d95aaa";
hash = "sha256-MxroG6CWqrcmRS+eFt7Ej87TDOInN15aRPBUcaycKTI=";
};
}
);
}
)
];
Expand Down

0 comments on commit 07c0080

Please sign in to comment.