diff --git a/syft/frameworks/torch/tensors/interpreters/large_precision.py b/syft/frameworks/torch/tensors/interpreters/large_precision.py
index f836022c4e..bbc46e6b7f 100644
--- a/syft/frameworks/torch/tensors/interpreters/large_precision.py
+++ b/syft/frameworks/torch/tensors/interpreters/large_precision.py
@@ -74,7 +74,8 @@ class LargePrecisionTensor(AbstractTensor):
 
         # floor is applied otherwise, long float is not accurate
         self_scaled = np.vectorize(math.floor)(self_scaled)
-        self_scaled %= self.field
+        # https://github.com/numpy/numpy/issues/6464
+        self_scaled = np.remainder(self_scaled, np.array(self.field), casting="unsafe")
 
         # self_scaled can be an array of floats. As multiplying an array of int with an int
         # still gives an array of int, I think it should be because self.child is a float tensor at this point.

Fix precision with large storage fails
**Describe the bug**
The following operation fails

`lpt = torch.Tensor([-2., 4]).fix_prec(storage="large")`

**To Reproduce**
Steps to reproduce the behavior:
Use the above expression in a test and see the result:
`TypeError`
**Expected behavior**
The expression should not crash
**Screenshots**

**Desktop (please complete the following information):**

**Additional context**

diff --git a/test/torch/tensors/test_large_precision.py b/test/torch/tensors/test_large_precision.py
index 74dc415f37..6eabf814f6 100644
--- a/test/torch/tensors/test_large_precision.py
+++ b/test/torch/tensors/test_large_precision.py
@@ -283,6 +283,14 @@ def test_share_sub(workers):
     assert torch.all(torch.eq(expected, y))
 
 
+def test_storage():
+    x = torch.tensor([1.0, 2.0, 3.0])
+    enlarged = x.fix_prec(storage="large")
+    restored = enlarged.float_precision()
+    # And now x and restored must be the same
+    assert torch.all(torch.eq(x, restored))
+
+
 # def test_share_mul(workers):
 #     alice, bob, james = (workers["alice"], workers["bob"], workers["james"])
 #

pip install -e .[TensorFlow]
parse_log_pytest
pytest
nose2 pytest
3.5
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
absl-py==1.4.0
astor==0.8.1
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
bidict==0.21.4
certifi==2021.5.30
click==8.0.4
dataclasses==0.8
Flask==2.0.3
Flask-SocketIO==5.5.0
gast==0.2.2
google-pasta==0.2.0
grpcio==1.48.2
h11==0.13.0
h5py==2.10.0
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
itsdangerous==2.0.1
Jinja2==3.0.3
joblib==1.1.1
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.2
lz4==3.1.10
Markdown==3.3.7
MarkupSafe==2.0.1
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
msgpack==1.0.5
nose2==0.13.0
numpy==1.18.5
opt-einsum==3.3.0
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
Pillow==8.4.0
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
protobuf==3.19.6
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==6.2.4
python-engineio==4.11.2
python-socketio==5.11.0
PyYAML==6.0.1
scikit-learn==0.24.2
scipy==1.5.4
simple-websocket==1.1.0
six==1.17.0
-e git+https://github.com/OpenMined/PySyft.git@6feeb9357b83615f5acc9cde6d05ff4a61263eaa#egg=syft
tblib==1.7.0
tensorboard==1.15.0
tensorflow==1.15.5
tensorflow-estimator==1.15.1
termcolor==1.1.0
tf-encrypted==0.8.0
threadpoolctl==3.1.0
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
torch==1.1.0
torchvision==0.3.0
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
websocket-client==1.3.1
websockets==9.1
Werkzeug==2.0.3
wrapt==1.16.0
wsproto==1.0.0
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
zstd==1.5.6.6

name: PySyft
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib-metadata=4.8.1=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - absl-py==1.4.0
      - astor==0.8.1
      - bidict==0.21.4
      - click==8.0.4
      - dataclasses==0.8
      - flask==2.0.3
      - flask-socketio==5.5.0
      - gast==0.2.2
      - google-pasta==0.2.0
      - grpcio==1.48.2
      - h11==0.13.0
      - h5py==2.10.0
      - itsdangerous==2.0.1
      - jinja2==3.0.3
      - joblib==1.1.1
      - keras-applications==1.0.8
      - keras-preprocessing==1.1.2
      - lz4==3.1.10
      - markdown==3.3.7
      - markupsafe==2.0.1
      - msgpack==1.0.5
      - nose2==0.13.0
      - numpy==1.18.5
      - opt-einsum==3.3.0
      - pillow==8.4.0
      - protobuf==3.19.6
      - python-engineio==4.11.2
      - python-socketio==5.11.0
      - pyyaml==6.0.1
      - scikit-learn==0.24.2
      - scipy==1.5.4
      - simple-websocket==1.1.0
      - six==1.17.0
      - tblib==1.7.0
      - tensorboard==1.15.0
      - tensorflow==1.15.5
      - tensorflow-estimator==1.15.1
      - termcolor==1.1.0
      - tf-encrypted==0.8.0
      - threadpoolctl==3.1.0
      - torch==1.1.0
      - torchvision==0.3.0
      - websocket-client==1.3.1
      - websockets==9.1
      - werkzeug==2.0.3
      - wrapt==1.16.0
      - wsproto==1.0.0
      - zstd==1.5.6.6
prefix: /opt/conda/envs/PySyft

test/torch/tensors/test_large_precision.py::test_storage
test/torch/tensors/test_large_precision.py::test_wrap test/torch/tensors/test_large_precision.py::test_fix_prec test/torch/tensors/test_large_precision.py::test_2d_tensors test/torch/tensors/test_large_precision.py::test_3d_tensors test/torch/tensors/test_large_precision.py::test_negative_numbers test/torch/tensors/test_large_precision.py::test_add_multiple_dimensions test/torch/tensors/test_large_precision.py::test_add_negative_values test/torch/tensors/test_large_precision.py::test_add test/torch/tensors/test_large_precision.py::test_iadd test/torch/tensors/test_large_precision.py::test_add_different_dims test/torch/tensors/test_large_precision.py::test_mul test/torch/tensors/test_large_precision.py::test_imul test/torch/tensors/test_large_precision.py::test_mul_multiple_dims test/torch/tensors/test_large_precision.py::test_concat_ops test/torch/tensors/test_large_precision.py::test_uint8_representation test/torch/tensors/test_large_precision.py::test_sub test/torch/tensors/test_large_precision.py::test_isub test/torch/tensors/test_large_precision.py::test_diff_dims_in_same_tensor test/torch/tensors/test_large_precision.py::test_mod test/torch/tensors/test_large_precision.py::test_types[x0-expected0] test/torch/tensors/test_large_precision.py::test_types[x1-expected1] test/torch/tensors/test_large_precision.py::test_types[x2-expected2] test/torch/tensors/test_large_precision.py::test_types[x3-expected3] test/torch/tensors/test_large_precision.py::test_types[x4-expected4] test/torch/tensors/test_large_precision.py::test_types[x5-expected5] test/torch/tensors/test_large_precision.py::test_types[x6-expected6] test/torch/tensors/test_large_precision.py::test_types[x7-expected7] test/torch/tensors/test_large_precision.py::test_types[x8-expected8] test/torch/tensors/test_large_precision.py::test_types[x9-expected9] test/torch/tensors/test_large_precision.py::test_share_and_get[x0-expected0] test/torch/tensors/test_large_precision.py::test_share_and_get[x1-expected1] test/torch/tensors/test_large_precision.py::test_share_and_get[x2-expected2] test/torch/tensors/test_large_precision.py::test_share_and_get[x3-expected3] test/torch/tensors/test_large_precision.py::test_share_and_get[x4-expected4] test/torch/tensors/test_large_precision.py::test_share_and_get[x5-expected5] test/torch/tensors/test_large_precision.py::test_share_and_get[x6-expected6] test/torch/tensors/test_large_precision.py::test_share_and_get[x7-expected7] test/torch/tensors/test_large_precision.py::test_share_and_get[x8-expected8] test/torch/tensors/test_large_precision.py::test_share_and_get[x9-expected9] test/torch/tensors/test_large_precision.py::test_share_add test/torch/tensors/test_large_precision.py::test_share_sub
syft/frameworks/torch/tensors/interpreters/large_precision.py
syft/frameworks/torch/tensors/interpreters/large_precision.py