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

Removes dependency on deprecated torchtext (refs #829) #853

Merged
merged 13 commits into from
Sep 24, 2024

Conversation

cwmeijer
Copy link
Member

@cwmeijer cwmeijer commented Sep 18, 2024

See #829.
This PR gets rid of:

  • uses of torchtext.get_tokenizer
  • uses of torchtext.vocab.Vector

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@cwmeijer cwmeijer marked this pull request as ready for review September 24, 2024 08:45
Copy link
Member

@loostrum loostrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good! Could you add pandas as a dependency to setup.cfg? Then it's good to go.

pyproject.toml Show resolved Hide resolved
@cwmeijer
Copy link
Member Author

The changes look good! Could you add pandas as a dependency to setup.cfg? Then it's good to go.

I added the dependency already for notebooks, but it was necessary for the dashboard and unit tests, too. I think strictly it shouldn't be necessary for DIANNA base install, but I'm not a 100% sure. As it is necessary for any other type of install, I made pandas a dependency for dianna base.

@cwmeijer cwmeijer merged commit 0beee8b into main Sep 24, 2024
18 checks passed
@cwmeijer cwmeijer deleted the 829-no-more-torchtext-dependency branch September 24, 2024 14:34
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