Bump torch-harmonics to 0.8.0 and update constraint on imageio
#49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR ports the changes made in ai2cm/full-model#2286 to our public repository.
Changes:
torch-harmonicsto0.8.0.imageioto be greater than or equal to2.28.1. Per chore: update imagio.save to use duration argument when creating a gif wandb/wandb#9887 and an additional fix, this means videos logged to WandB will be displayed properly again.sht_fix.pyto account for the fact that quadrature functions intorch-harmonicsreturntorch.tensorobjects instead of NumPy arrays as of version0.7.6(Tkurth/torchification NVIDIA/torch-harmonics#66).imageioerror, and explicitly specifies the video format as"gif"to silence a warning. Relevantwandbandimageioissues and PRs:Resolves #48