Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nemo2riva/cookbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ def save_archive(model, save_path, cfg, artifacts, metadata):
logging.info("Saving to {}".format(save_path))
# Create EFF archive.
Archive.save_registry(
save_path=save_path, registry_name="artifacts", registry=artifacts, **metadata,
save_path=save_path, registry_name="artifacts", registry=artifacts,
tarfile_open_options={'compresslevel': 0, 'copybufsize': 64*1024*1024}, **metadata,
)
del artifacts
gc.collect()
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

pyarmor<8
nemo_toolkit>=1.6.0
nvidia-eff>=0.5.3,<=0.6.2
nvidia-eff>=0.5.3

Choose a reason for hiding this comment

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

Are you sure >=0.5.3 is ok? I think tarfile options were available from 0.6.4 onwards.
See https://gitlab-master.nvidia.com/dl/riva/riva-speech/-/merge_requests/1034

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, my new code did not break - but had no effect with 0.5.7.
Is it safe to enforce >=0.6.4 ?

onnxruntime-gpu>=1.13.1
onnx_graphsurgeon