magma: 2.7.1 -> 2.7.2

Description of changes

Version bump.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Passed nix-cuda-test at https://github.com/connorbaker/nix-cuda-test.

$ nix run .#nix-cuda-test --override-input nixpkgs github:nixos/nixpkgs/d9faf957f472d8f40818ca16f6826cb3783e22f7 -L
warning: not writing modified lock file of flake 'git+file:///home/connorbaker/nix-cuda-test':
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cf795c35039b544a66a29a9ad3cd4d37bd1d6cb3' (2023-08-21)
  → 'github:nixos/nixpkgs/d9faf957f472d8f40818ca16f6826cb3783e22f7' (2023-08-28)
Global seed set to 42
Using bfloat16 Automatic Mixed Precision (AMP)
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Files already downloaded and verified
Files already downloaded and verified
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]

  | Name      | Type             | Params
-----------------------------------------------
0 | criterion | CrossEntropyLoss | 0
1 | model     | ViT              | 86.3 M
-----------------------------------------------
86.3 M    Trainable params
0         Non-trainable params
86.3 M    Total params
345.317   Total estimated model params size (MB)
Epoch 9: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 781/781 [01:17<00:00, 10.04it/s, v_num=4, train_loss=2.310, val_loss=2.310]`Trainer.fit` stopped: `max_epochs=10` reached.
 (I'm the only maintainer.)

@NixOS/rocm-maintainers I was unable to build 2.7.2 for ROCm with just the rocmSupport = true flag in nixpkgs.config. (So no change from 2.7.1, which also did not build.)
Is it possible the generated binary is large enough that it's failing to link? Is there a flag I can set in nixpkgs.config to reduce the number of GPU targets to build for? For example, with CUDA we use nixpkgs.config.cudaCapabilities as a list of targets to build for.

Is it possible the generated binary is large enough that it's failing to link?

It’s easily possible to run out of ram, but if there’s enough ram, linking shouldn’t fail.
A problem that we have been seeing is that derivations become too big to be stored on cache.nixos.org, but that doesn’t hinder local build.

Is there a flag I can set in nixpkgs.config to reduce the number of GPU targets to build for?

There are flags for individual packages, but I’m not aware of a global flag.
I’m not that familiar with all the ROCm libraries, so take my answers with a grain of salt.


Add backend tools for extensible iOS apps

Instead of embedding Flutter.framework and BuildFlutterApp in the Xcode
project, we store these in flutter.git, where we can reference them.

@chinmaygarde

lgtm