Skip to content

Commit

Permalink
Fix PyTorch warning supression (learning-at-home#502)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex <alexandershulga.sh@gmail.com>
  • Loading branch information
borzunov and alex-snd authored Aug 23, 2022
1 parent 3267fc7 commit bb3aed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hivemind/compression/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from hivemind.utils.tensor_descr import TensorDescriptor

# While converting read-only NumPy arrays into PyTorch tensors, we don't make extra copies for efficiency
warnings.filterwarnings("ignore", message="The given NumPy array is not writeable", category=UserWarning)
warnings.filterwarnings("ignore", message="The given NumPy array is not writable", category=UserWarning)


Key = Any
Expand Down

0 comments on commit bb3aed6

Please sign in to comment.