Closed aishangcengloua closed 1 year ago
Thanks for reaching out.
From the provided output, it is unclear where the "float infinity to integer" error is raised.
Could you rerun it with pdb and provide more detailed information on the issue?
Thanks in advance!
@iurteaga Thank you very much for your prompt and patient response.
I have discovered that the issue mentioned above was due to an overflow that occurred during the calculation of the maximum memory. The line max_memory_in_bytes = 32 * np.power(1024, 3) # 32 GiB
was modified to max_memory_in_bytes = 32.0 * np.power(1024, 3) # 32 GiB
to address the overflow problem.
I look forward to your guidance. Additionally, I have learned a lot from the work of your team, and I am extremely grateful to all of you!
When I run the command
without modifying your code, I encounter the issue of exploding loss. Could you please explain why this is happening?