Skip to content

Commit

Permalink
Merge pull request #143 from BharatSahAIyak/dev
Browse files Browse the repository at this point in the history
Adding onnx and whisper to main from dev before release
  • Loading branch information
Gautam-Rajeev authored Aug 28, 2024
2 parents 81e35d3 + 7c07fa7 commit 2e249e4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 33 deletions.
77 changes: 44 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ librosa = "^0.10.2.post1"
bitsandbytes = "^0.43.3"
onnx = "^1.16.2"
onnxruntime = "^1.18.1"
onnxconverter-common = ">=1.14.0"

[build-system]
requires = ["poetry-core"]
Expand Down
1 change: 1 addition & 0 deletions workflow/training/whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ def push_to_hub(self, trainer, save_path, hf_token=None):
trainer.model.push_to_hub(
save_path, commit_message="pytorch_model.bin upload/update"
)
self.processor.push_to_hub(save_path, token=hf_token)

0 comments on commit 2e249e4

Please sign in to comment.