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

Enable input_degrees > 1 #11

Merged
merged 5 commits into from
Aug 23, 2023
Merged

Enable input_degrees > 1 #11

merged 5 commits into from
Aug 23, 2023

Conversation

anton-bushuiev
Copy link
Contributor

Currently, setting input_degrees > 1 and passing a fiber dict to forward leads to a bug because forward tries to apply token embedding and positional embedding to a dict rather than a tensor with type-0 features. This PR fixes this minor issue.

@lucidrains
Copy link
Owner

@anton-bushuiev thank you for this!

@lucidrains lucidrains merged commit 874fc0e into lucidrains:main Aug 23, 2023
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.

None yet

2 participants