diff --git a/dipu/torch_dipu/csrc_dipu/vendor/topsrider/TopsGeneratorImpl.cpp b/dipu/torch_dipu/csrc_dipu/vendor/topsrider/TopsGeneratorImpl.cpp index b324c66e1..52b2800a3 100644 --- a/dipu/torch_dipu/csrc_dipu/vendor/topsrider/TopsGeneratorImpl.cpp +++ b/dipu/torch_dipu/csrc_dipu/vendor/topsrider/TopsGeneratorImpl.cpp @@ -10,9 +10,6 @@ class TopsGeneratorImpl : public dipu::DIPUGeneratorImpl { TopsGeneratorImpl(at::DeviceIndex device_index): dipu::DIPUGeneratorImpl(device_index) { } - void init_state() const override { - } - void set_state(const c10::TensorImpl& state) override { } @@ -24,4 +21,4 @@ const at::Generator vendorMakeGenerator(at::DeviceIndex device_index) { return at::make_generator(device_index); } -} // namespace torch_dipu \ No newline at end of file +} // namespace torch_dipu