Commit Graph
29 Commits
Author SHA1 Message Date
R. Ryantm 73e6e02274 python312Packages.accelerate: 0.34.2 -> 1.0.0 2024-10-09 04:28:22 +00:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Gaetan Lepage c0c7df1288 python312Packages.accelerate: 0.34.0 -> 0.34.2
Diff:
https://github.com/huggingface/accelerate/compare/refs/tags/v0.34.0...v0.34.2

Changelog:
https://github.com/huggingface/accelerate/releases/tag/v0.34.2
2024-09-14 20:42:25 +02:00
R. Ryantm 9e1fb6c3ab python312Packages.accelerate: 0.33.0 -> 0.34.0 2024-09-04 04:58:27 +00:00
R. Ryantm 4d9fb5f3c3 python312Packages.accelerate: 0.32.0 -> 0.33.0 2024-08-08 16:12:19 +00:00
R. Ryantm 407a07edd9 python312Packages.accelerate: 0.31.0 -> 0.32.0 2024-07-21 06:27:22 +00:00
Martin Weinelt a7faba0ad2 python3Packages.accelerate: 0.30.0 -> 0.31.0
https://github.com/huggingface/accelerate/releases/tag/v0.31.0
2024-06-24 12:14:40 +02:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Connor Baker b3e2432ca7 python312Packages.accelerate: disable test_dynamo_extract_model 2024-05-25 22:56:47 +00:00
Martin Weinelt 59b1aef590 python3Packages: format with nixfmt 2024-05-22 17:32:03 +02:00
Peder Bergebakken Sundt 74119392fc python311Packages.accelerate: disable nondeterministic test 2024-05-12 16:28:44 +02:00
Gaetan Lepage 654f69d29f python311Packages.accelerate: fix darwin tests 2024-05-11 18:55:42 +02:00
Gaetan Lepage 0587079462 python311Packages.accelerate: 0.29.3 -> 0.30.0
Diff: https://github.com/huggingface/accelerate/compare/refs/tags/v0.29.3...v0.30.0

Changelog: https://github.com/huggingface/accelerate/releases/tag/v0.30.0
2024-05-10 16:36:24 +02:00
seth e745fd5a47 python3Packages.accelerate: disable problematic tests on aarch64-linux 2024-05-09 14:46:34 -04:00
Martin Weinelt 9718b32dc6 python3Packages.accelerate: 0.27.0 -> 0.29.3
https://github.com/huggingface/accelerate/releases/tag/v0.29.3
2024-04-22 13:59:43 +02:00
Martin Weinelt 5680f319fd python311Packages.pytest7CheckHook: init
and migrate existing overrides.
2024-03-26 01:37:25 +01:00
Martin Weinelt 8e0a0f6322 python3Packages.accelerate: 0.26.1 -> 0.27.0
https://github.com/huggingface/accelerate/releases/tag/v0.27.0
2024-03-12 04:30:07 +01:00
Martin Weinelt 1e23fb9773 python311Packages.accelerate: make cudatoolkit usage conditional
Closes: #290035
2024-02-20 01:27:20 +01:00
Martin Weinelt 13973b5cf7 python311Packages.accelerate: fix build on linux 2024-02-16 03:37:42 +01:00
R. Ryantm a02cec94d8 python311Packages.accelerate: 0.25.0 -> 0.26.1 2024-01-13 06:47:28 +00:00
Ben Darwin 09ef967385 python311Packages.accelerate: 0.24.1 -> 0.25.0 2023-12-28 22:36:53 -05:00
OTABI TomoyaandGitHub c77c7b2aa3 Merge pull request #265566 from natsukium/accelerate/fix-darwin
python311Packages.accelerate: fix build when torch.distributed is disabled
2023-11-10 18:03:52 +09:00
natsukium 42baf8f175 python311Packages.accelerate: fix build when torch.distributed is disabled 2023-11-05 12:44:28 +09:00
R. Ryantm 5dcc69bd78 python310Packages.accelerate: 0.23.0 -> 0.24.1 2023-11-03 21:59:18 +00:00
Martin Weinelt 42323c673c python3Packages.accelerate: 0.21.0 -> 0.23.0 2023-09-27 15:32:45 +02:00
natsukiumandYt b5de13f73a python310Packages.accelerate: 0.19.0 -> 0.21.0
Diff: https://github.com/huggingface/accelerate/compare/refs/tags/v0.19.0...v0.21.0

Changelog: https://github.com/huggingface/accelerate/releases/tag/v0.21.0
2023-08-01 14:40:59 +08:00
Ben Darwin 27a64a90b7 python310Packages.accelerate: 0.18.0 -> 0.19.0 2023-05-13 15:22:53 -04:00
Ben Darwin c7383a8e78 python310Packages.accelerate: unbreak
Disable known failing test on torch>=2.0
2023-04-28 11:40:56 -04:00
Ben Darwin 71e8e2148d python310Packages.accelerate: init at 0.18.0 2023-03-30 14:46:29 -04:00