Commit 93d4d17
committed
fix: xfail AMPLIFY FSDP2 tests and remove stale ESM2 HF FSDP2 xfail
The AMPLIFY model on HuggingFace Hub (nvidia/AMPLIFY_120M) does not
implement get_input_embeddings(), which accelerate FSDP2 now requires
during model preparation (transformers>=5.6). The previous fix (#1563)
modified a local copy of amplify_te.py, but the test loads the model
from HuggingFace Hub, so the fix had no effect.
Also removes the stale xfail from test_hf_with_fsdp2_config (BIONEMO-3331)
since those ESM2 HF tests now pass with the current container.
Signed-off-by: svc-bionemo <267129667+svc-bionemo@users.noreply.github.com>1 parent 34aad73 commit 93d4d17
2 files changed
Lines changed: 10 additions & 4 deletions
File tree
- bionemo-recipes/recipes/esm2_accelerate_te/tests
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | | - | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
| |||
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
0 commit comments