Skip to content

3.0 CI Bugs#1261

Merged
jlarson4 merged 4 commits intodevfrom
bug/ci-glitches-3.0
Apr 20, 2026
Merged

3.0 CI Bugs#1261
jlarson4 merged 4 commits intodevfrom
bug/ci-glitches-3.0

Conversation

@jlarson4
Copy link
Copy Markdown
Collaborator

Description

  • Updated utils imports to utilities
  • Updated CI to only run LLaMA notebooks when the HF_TOKEN is available (not available on Fork PRs)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

@jlarson4 jlarson4 changed the title Bug/ci glitches 3.0 3.0 CI Bugs Apr 20, 2026
@jlarson4 jlarson4 merged commit 98811df into dev Apr 20, 2026
43 of 44 checks passed
jlarson4 added a commit that referenced this pull request Apr 20, 2026
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant