Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vince62s committed Oct 20, 2023
1 parent 0d289c4 commit e380b43
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pip install -r requirements.opt.txt

## Manual installation of some dependencies

Apex is highly recommended to have fast performance (especially the legacy fusedadam optimizer)
Apex is highly recommended to have fast performance (especially the legacy fusedadam optimizer and FusedRMSNorm)

```shell
git clone https://github.com/NVIDIA/apex
Expand Down
2 changes: 1 addition & 1 deletion onmt/inputters/dynamic_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def __iter__(self):

class OnDeviceDatasetIter:
def __init__(self, data_iter, device):
self.data_iter = iter(data_iter)
self.data_iter = data_iter
self.device = device

def __iter__(self):
Expand Down
1 change: 0 additions & 1 deletion requirements.opt.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pyrouge
git+https://github.com/NVIDIA/apex.git@700d6825e205732c1d6be511306ca4e595297070
sentencepiece>=0.1.94,<0.1.98
subword-nmt>=0.3.7
rapidfuzz
Expand Down

0 comments on commit e380b43

Please sign in to comment.