Commit b2c0033
Update broken Slack link again (#1339)
* Fix type of HookedTransformerConfig.device (#1230)
* Fix type of HookedTransformerConfig.device
This is typed as `Optional[str]` but sometimes returns `torch.device`.
Updated the code to just return the `str` instead of wrapping with a
device.
I'm not confident that every function which takes a device will
always be passed a string, so I didn't change functions like
warn_if_mps.
Found while working on #1219
* more cleanup
* 3.0 CI Bugs (#1261)
* Fixing `utils` imports
* skip gated notebooks on PR from forks
* Updating notebooks
* Ensure LLaMA only runs when HF_TOKEN is available
---------
Co-authored-by: jlarson4 <jonahalarson@comcast.net>
* Fix TransformerBridge backward hook cleanup (#1324)
* Fix TransformerBridge backward hook cleanup
* Preserve backward hooks in run_with_cache
* Updated broken Slack link
---------
Co-authored-by: Brendan Long <self@brendanlong.com>
Co-authored-by: jlarson4 <jonahalarson@comcast.net>
Co-authored-by: Samuele_Punzo <90847990+SamuelePunzo@users.noreply.github.com>1 parent cdfab1a commit b2c0033
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments