Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename torch types #284

Merged
merged 6 commits into from
Jan 17, 2024
Merged

Conversation

danbraunai-apollo
Copy link
Contributor

@danbraunai-apollo danbraunai-apollo commented Jan 16, 2024

Rename torch types

NOTE: I recently turned CI off for PRs pointing at feature/unify because I was expecting to merge, but the --runslow tests pass on my machine

Description

Renames torch types. The most frequent changes are:

  • d_hidden -> orig
  • d_hidden_trunc -> orig_trunc
  • d_hidden_extra_trunc -> rib

as well as other changes that replace "hidden" with "orig" for dimensions that refer to the concatenation of inputs/outputs over their final dimensions, and "hidden" with "emb" for the final dimension of a single input/output of a module.

Does this PR introduce a breaking change?

No

rib/data_accumulator.py Outdated Show resolved Hide resolved
rib/hook_fns.py Outdated Show resolved Hide resolved
@danbraunai-apollo danbraunai-apollo merged commit 5e55800 into feature/unify Jan 17, 2024
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.

2 participants