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

Remove poetry #3258

Merged
merged 5 commits into from
Jun 9, 2023
Merged

Remove poetry #3258

merged 5 commits into from
Jun 9, 2023

Conversation

helpmefindaname
Copy link
Collaborator

@alanakbik and I agreed to remove poetry again as an environment handler.

The reasons are that:

  • There are several people who had issues setting up poetry, leading to a larger hurde for potential contributors.
  • poetry happens to uninstall torch-cuda versions and replaces them with torch cpu versions on windows

@@ -77,8 +77,8 @@ def __init__(self, embeddings: List[TokenEmbeddings], overwrite_names: bool = Tr
# IMPORTANT: add embeddings as torch modules
for i, embedding in enumerate(embeddings):
if overwrite_names:
embedding.name = f"{str(i)}-{embedding.name}"
self.add_module(f"list_embedding_{str(i)}", embedding)
embedding.name = f"{i!s}-{embedding.name}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

interesting, never came across this notation.

@alanakbik
Copy link
Collaborator

Thanks @helpmefindaname!

@alanakbik alanakbik merged commit 00a317c into master Jun 9, 2023
@alanakbik alanakbik deleted the remove_poetry branch June 9, 2023 09:05
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