diff --git a/syft/tensor.py b/syft/tensor.py
index 553420c417..8c97892ea3 100644
--- a/syft/tensor.py
+++ b/syft/tensor.py
@@ -1160,6 +1160,37 @@ class TensorBase(object):
     def deserialize(b):
         return pickle.loads(b)
 
+    def remainder(self, divisor):
+        """
+        Computes the element-wise remainder of division.
+        The divisor and dividend may contain both for integer and floating point numbers.
+        The remainder has the same sign as the divisor.
+        When ``divisor`` is a Tensor, the shapes of ``self`` and ``divisor`` must be broadcastable.
+        :param divisor:  The divisor. This may be either a number or a tensor.
+        :return: result tensor
+        """
+        if self.encrypted:
+            return NotImplemented
+        if not np.isscalar(divisor):
+            divisor = _ensure_tensorbase(divisor)
+        return TensorBase(np.remainder(self.data, divisor))
+
+    def remainder_(self, divisor):
+        """
+        Computes the element-wise remainder of division.
+        The divisor and dividend may contain both for integer and floating point numbers.
+        The remainder has the same sign as the divisor.
+        When ``divisor`` is a Tensor, the shapes of ``self`` and ``divisor`` must be broadcastable.
+        :param divisor:  The divisor. This may be either a number or a tensor.
+        :return: self
+        """
+        if self.encrypted:
+            return NotImplemented
+        if not np.isscalar(divisor):
+            divisor = _ensure_tensorbase(divisor)
+        self.data = np.remainder(self.data, divisor)
+        return self
+
     def index_select(self, dim, index):
         """
         Returns a new Tensor which indexes the ``input`` Tensor along

Implement Default remainder Functionality for Base Tensor Type
**User Story A:** As a Data Scientist using Syft's Base Tensor type, I want to leverage a default method for computing operations on a Tensor of arbitrary type. For this ticket to be complete, remainder() should return a new tensor, but remainder_() should operate inline. For a reference on the operation this performs check out [PyTorch](http://pytorch.org/docs/master/tensors.html)'s documentation.

**Acceptance Criteria:**
- If the Base Tensor type's attribute "encrypted" is set to True, it should return a NotImplemented error.
- a unit test demonstrating the correct operation on the Base Tensor type implemented over int and float Tensors.
- inline documentation in the python code. For inspiration on inline documentation, please check out [PyTorch](http://pytorch.org/docs/master/tensors.html)'s documentation for this operator.
diff --git a/tests/test_tensor.py b/tests/test_tensor.py
index e8429080be..9eaf6c42c6 100644
--- a/tests/test_tensor.py
+++ b/tests/test_tensor.py
@@ -873,6 +873,23 @@ class scatterTests(unittest.TestCase):
             t.scatter_(dim=dim, index=idx, src=src)
 
 
+class remainderTests(unittest.TestCase):
+    def testRemainder(self):
+        t = TensorBase([[-2, -3], [4, 1]])
+        result = t.remainder(1.5)
+        self.assertTrue(np.array_equal(result.data, np.array([[1, 0], [1, 1]])))
+
+    def testRemainder_broadcasting(self):
+        t = TensorBase([[-2, -3], [4, 1]])
+        result = t.remainder([2, -3])
+        self.assertTrue(np.array_equal(result.data, np.array([[0, 0], [0, -2]])))
+
+    def testRemainder_(self):
+        t = TensorBase([[-2, -3], [4, 1]])
+        t.remainder_(2)
+        self.assertTrue(np.array_equal(t.data, np.array([[0, 1], [0, 1]])))
+
+
 class testMv(unittest.TestCase):
     def mvTest(self):
         mat = TensorBase([[1, 2, 3], [2, 3, 4], [4, 5, 6]])

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-flake8
apt-get update apt-get install -y musl-dev g++ libgmp3-dev libmpfr-dev ca-certificates
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
args==0.1.0
clint==0.5.1
exceptiongroup==1.2.2
flake8==7.2.0
iniconfig==2.1.0
line_profiler==4.2.0
mccabe==0.7.0
numpy==1.26.4
packaging==24.2
phe==1.5.0
pluggy==1.5.0
pycodestyle==2.13.0
pyflakes==3.3.2
pyRserve==1.0.4
pytest==8.3.5
pytest-flake8==1.3.0
scipy==1.13.1
-e git+https://github.com/OpenMined/PySyft.git@50c50da091ae6734237302efa5324d7dbed59164#egg=syft
tomli==2.2.1

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
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - args==0.1.0
      - clint==0.5.1
      - exceptiongroup==1.2.2
      - flake8==7.2.0
      - iniconfig==2.1.0
      - line-profiler==4.2.0
      - mccabe==0.7.0
      - numpy==1.26.4
      - packaging==24.2
      - phe==1.5.0
      - pluggy==1.5.0
      - pycodestyle==2.13.0
      - pyflakes==3.3.2
      - pyrserve==1.0.4
      - pytest==8.3.5
      - pytest-flake8==1.3.0
      - scipy==1.13.1
      - tomli==2.2.1
prefix: /opt/conda/envs/PySyft

tests/test_tensor.py::remainderTests::testRemainder tests/test_tensor.py::remainderTests::testRemainder_ tests/test_tensor.py::remainderTests::testRemainder_broadcasting
tests/test_tensor.py::scatterTests::testScatter_Numerical0 tests/test_tensor.py::scatterTests::testScatter_Numerical1 tests/test_tensor.py::scatterTests::testScatter_Numerical2 tests/test_tensor.py::scatterTests::testScatter_Numerical3 tests/test_tensor.py::scatterTests::testScatter_Numerical4 tests/test_tensor.py::scatterTests::testScatter_Numerical5 tests/test_tensor.py::scatterTests::testScatter_Numerical6
tests/test_tensor.py::DimTests::testAsView tests/test_tensor.py::DimTests::testDimOne tests/test_tensor.py::DimTests::testResize tests/test_tensor.py::DimTests::testResizeAs tests/test_tensor.py::DimTests::testSize tests/test_tensor.py::DimTests::testView tests/test_tensor.py::AddTests::testInplace tests/test_tensor.py::AddTests::testScalar tests/test_tensor.py::AddTests::testSimple tests/test_tensor.py::CeilTests::testCeil tests/test_tensor.py::CeilTests::testCeil_ tests/test_tensor.py::ZeroTests::testZero tests/test_tensor.py::FloorTests::testFloor_ tests/test_tensor.py::SubTests::testInplace tests/test_tensor.py::SubTests::testScalar tests/test_tensor.py::SubTests::testSimple tests/test_tensor.py::MaxTests::testAxis tests/test_tensor.py::MaxTests::testNoDim tests/test_tensor.py::MultTests::testInplace tests/test_tensor.py::MultTests::testScalar tests/test_tensor.py::MultTests::testSimple tests/test_tensor.py::DivTests::testInplace tests/test_tensor.py::DivTests::testScalar tests/test_tensor.py::DivTests::testSimple tests/test_tensor.py::AbsTests::testabs tests/test_tensor.py::AbsTests::testabs_ tests/test_tensor.py::ShapeTests::testShape tests/test_tensor.py::SqrtTests::testSqrt tests/test_tensor.py::SqrtTests::testSqrt_ tests/test_tensor.py::SumTests::testDimIsNotNoneInt tests/test_tensor.py::SumTests::testDimNoneInt tests/test_tensor.py::EqualTests::testEqOp tests/test_tensor.py::EqualTests::testEqual tests/test_tensor.py::EqualTests::testIneqOp tests/test_tensor.py::EqualTests::testNotEqual tests/test_tensor.py::IndexTests::testIndexing tests/test_tensor.py::sigmoidTests::testSigmoid tests/test_tensor.py::addmm::testaddmm1d tests/test_tensor.py::addmm::testaddmm2d tests/test_tensor.py::addmm::testaddmm_1d tests/test_tensor.py::addmm::testaddmm_2d tests/test_tensor.py::addcmulTests::testaddcmul1d tests/test_tensor.py::addcmulTests::testaddcmul2d tests/test_tensor.py::addcmulTests::testaddcmul_1d tests/test_tensor.py::addcmulTests::testaddcmul_2d tests/test_tensor.py::addcdivTests::testaddcdiv1d tests/test_tensor.py::addcdivTests::testaddcdiv2d tests/test_tensor.py::addcdivTests::testaddcdiv_1d tests/test_tensor.py::addcdivTests::testaddcdiv_2d tests/test_tensor.py::addmvTests::testaddmv tests/test_tensor.py::addmvTests::testaddmv_ tests/test_tensor.py::addbmmTests::testaddbmm tests/test_tensor.py::addbmmTests::testaddbmm_ tests/test_tensor.py::baddbmmTests::testbaddbmm tests/test_tensor.py::baddbmmTests::testbaddbmm_ tests/test_tensor.py::transposeTests::testT tests/test_tensor.py::transposeTests::testT_ tests/test_tensor.py::transposeTests::testTranspose tests/test_tensor.py::transposeTests::testTranspose_ tests/test_tensor.py::unsqueezeTests::testUnsqueeze tests/test_tensor.py::unsqueezeTests::testUnsqueeze_ tests/test_tensor.py::expTests::testexp tests/test_tensor.py::expTests::testexp_ tests/test_tensor.py::fracTests::testfrac tests/test_tensor.py::fracTests::testfrac_ tests/test_tensor.py::rsqrtTests::testrsqrt tests/test_tensor.py::rsqrtTests::testrsqrt_ tests/test_tensor.py::signTests::testsign tests/test_tensor.py::signTests::testsign_ tests/test_tensor.py::numpyTests::testnumpy tests/test_tensor.py::reciprocalTests::testreciprocal tests/test_tensor.py::reciprocalTests::testrsqrt_ tests/test_tensor.py::logTests::testLog tests/test_tensor.py::logTests::testLog1p tests/test_tensor.py::logTests::testLog1p_ tests/test_tensor.py::logTests::testLog_ tests/test_tensor.py::clampTests::testClampFloat tests/test_tensor.py::clampTests::testClampFloatInPlace tests/test_tensor.py::clampTests::testClampInt tests/test_tensor.py::clampTests::testClampIntInPlace tests/test_tensor.py::cloneTests::testClone tests/test_tensor.py::chunkTests::testChunk tests/test_tensor.py::chunkTests::testChunkSameSize tests/test_tensor.py::gtTests::testGtInPlaceWithNumber tests/test_tensor.py::gtTests::testGtInPlaceWithTensor tests/test_tensor.py::gtTests::testGtWithNumber tests/test_tensor.py::gtTests::testGtWithTensor tests/test_tensor.py::bernoulliTests::testBernoulli tests/test_tensor.py::bernoulliTests::testBernoulli_ tests/test_tensor.py::uniformTests::testUniform tests/test_tensor.py::uniformTests::testUniform_ tests/test_tensor.py::fillTests::testFill_ tests/test_tensor.py::topkTests::testTopK tests/test_tensor.py::tolistTests::testToList tests/test_tensor.py::traceTests::testTrace tests/test_tensor.py::roundTests::testRound tests/test_tensor.py::roundTests::testRound_ tests/test_tensor.py::repeatTests::testRepeat tests/test_tensor.py::powTests::testPow tests/test_tensor.py::powTests::testPow_ tests/test_tensor.py::prodTests::testProd tests/test_tensor.py::randomTests::testRandom_ tests/test_tensor.py::nonzeroTests::testNonZero tests/test_tensor.py::cumprodTest::testCumprod tests/test_tensor.py::cumprodTest::testCumprod_ tests/test_tensor.py::splitTests::testSplit tests/test_tensor.py::squeezeTests::testSqueeze tests/test_tensor.py::expandAsTests::testExpandAs tests/test_tensor.py::meanTests::testMean tests/test_tensor.py::notEqualTests::testNe tests/test_tensor.py::notEqualTests::testNe_ tests/test_tensor.py::index_selectTests::testIndex_select tests/test_tensor.py::gatherTests::testGatherNumerical1 tests/test_tensor.py::gatherTests::testGatherNumerical2 tests/test_tensor.py::scatterTests::testScatter_DimOutOfRange tests/test_tensor.py::scatterTests::testScatter_IndexOutOfRange tests/test_tensor.py::scatterTests::testScatter_IndexType tests/test_tensor.py::scatterTests::testScatter_index_src_dimension_mismatch tests/test_tensor.py::masked_scatter_Tests::testMasked_scatter_1 tests/test_tensor.py::masked_scatter_Tests::testMasked_scatter_braodcasting1 tests/test_tensor.py::masked_scatter_Tests::testMasked_scatter_braodcasting2 tests/test_tensor.py::eqTests::testEqInPlaceWithNumber tests/test_tensor.py::eqTests::testEqInPlaceWithTensor tests/test_tensor.py::eqTests::testEqWithNumber tests/test_tensor.py::eqTests::testEqWithTensor
syft/tensor.py
syft/tensor.py