google-research/torchsde

Floating point precision warning in brownian_interval.py

Opened this issue · 2 comments

It's not stopping my generation, but I'm encountering the following warning when generating images using ComfyUI (which utilizes torchsde):

:\Users\Chris\miniconda3\envs\comfy_new\lib\site-packages\torchsde_brownian\brownian_interval.py:608: UserWarning: Should have tb<=t1 but got tb=14.614643096923828 and t1=14.614643.
warnings.warn(f"Should have {tb_name}<=t1 but got {tb_name}={tb} and t1={self._end}.")

Environment:

  • ComfyUI version: v0.1.x (Build 2621, Commit 6bbdcd, 2024-08-27, "Devil In the Details")
  • torchsde version: 0.2.6
  • Python version: 3.10.14
  • Operating System: Windows 10, Nvidia RTX 3090

Additional context:
This appears to be a floating point precision issue in the comparison between tb and t1.

Please let me know if you need any additional information.

Have the same issue and the same numbers lol

MrXsc commented

I have the same problem, but it seems to be just a warning, with no obvious error to infer or run