Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

fixed Encoder(When using vocab_expansion) and GensenSingle for CPU #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

najafmurtaza
Copy link

@najafmurtaza najafmurtaza commented Aug 18, 2020

  1. GensenSingle was loading model directly to GPU instead of checking with self.cuda().
  • When using vocab_expansion
  1. Encoder had bug with try,except where it was moving all tensors to GPU by default. Now added cuda attribute, which moves the data using self.cuda() checks.

1. GensenSingle was loading model directly to GPU instead of checking with self.cuda().
2. Encoder had bug with try,except where it was moving all tensors to GPU by default. Now added cuda attribute, which moves the data using self.cuda() checks.
@msftgits
Copy link

msftgits commented Aug 18, 2020

CLA assistant check
All CLA requirements met.

@najafmurtaza najafmurtaza changed the title fixed Encoder and GensenSingle for CPU fixed Encoder(When using vocab_expansion) and GensenSingle for CPU Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants