Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[WIP] Upgrade onmt to v.3.5.1 #7

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

[WIP] Upgrade onmt to v.3.5.1 #7

wants to merge 17 commits into from

Conversation

irinaespejo
Copy link
Member

@irinaespejo irinaespejo commented Apr 16, 2024

[WIP]

This is a sister PR with rxn4chemistry/rxn-onmt-models#6

The goal is to drop depedency of fork rxn-onmt-py for the official OpenNMT v.3.5.1 and upgrade to python 3.11

Changes:

  • Dropped python 3.7 from tests and added 3.11
  • Dropped depedency on rxn-onmt-py in setup.cfg
  • Modified OnmtTrainCommand.save_to_config_cmd to dump cli arguments to a config.yaml on disk.
    This is because onmt_train -config config,.yaml compared to onmt_train -- <all_arguments, even defaults with default values> complains less about missing values for new arguments in v.3.5.0 like lora_layers or quant_layers. It is also the way it is advised.

@cla-bot cla-bot bot added the cla-signed label Apr 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants