Skip to content

Synapse 1.15 addition#839

Merged
regisss merged 39 commits into
synapse_1.15from
synapse_1.15_addition
Mar 27, 2024
Merged

Synapse 1.15 addition#839
regisss merged 39 commits into
synapse_1.15from
synapse_1.15_addition

Conversation

@regisss
Copy link
Copy Markdown
Collaborator

@regisss regisss commented Mar 27, 2024

What does this PR do?

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

schoi-habana and others added 30 commits February 8, 2024 18:11
PR#15 reads a set of ckpt file names from the index json file.
When OH downloads files from the hub instead of loading from a cache dir, get_repo_root()
skips downloading the index json file. Thus the PR#15 fails to load file names.
This PR scans the path and returns a list of names that matches the pattern
Add disk_offload flag that controls device_map=auto. Setting this flag enbales weights
offload to disk when cpu memory runs OOM.
Add const serialization path flag that gets a path for where to serialize const sections,
so if there is no space on device to save all const sections they will be offloaded to disk.
@regisss regisss marked this pull request as ready for review March 27, 2024 15:14
@regisss regisss merged commit d6c9503 into synapse_1.15 Mar 27, 2024
@regisss regisss deleted the synapse_1.15_addition branch March 27, 2024 15:15
@libinta libinta restored the synapse_1.15_addition branch March 27, 2024 18:39
@libinta libinta deleted the synapse_1.15_addition branch March 27, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants