prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Typehint of ignite._utils._to_hours_mins_secs  not satisfied with float
  ## 🐛 Bug description
  
  That is a so tiny bug. The `typehint` of the following function of `ignite._utils` is not satisfied with a `float` argument
  ``` python
  def _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:
      """Convert seconds to hours, mins, and seconds."""
      mins, secs = divmod(time_taken, 60)
      hours, mins = divmod(mins, 60)
      return hours, mins, secs
  ```
  We have
  ```python
  >>> divmod(10.0,2)
  (5.0, 0.0)
  ```
  
  ## Environment
  
   - PyTorch Version (e.g., 1.4): 1.4
   - Ignite Version (e.g., 0.3.0): 0.3.0
   - OS (e.g., Linux): Linux
   - How you installed Ignite (`conda`, `pip`, source): conda
   - Python version: 3.7
   - Any other relevant information:
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `ignite/_utils.py`
  Content:
  ```
  1 from typing import Union, Tuple
  2 
  3 # For compatibilty
  4 from ignite.utils import convert_tensor, apply_to_tensor, apply_to_type, to_onehot
  5 
  6 
  7 def _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:
  8     """Convert seconds to hours, mins, and seconds."""
  9     mins, secs = divmod(time_taken, 60)
  10     hours, mins = divmod(mins, 60)
  11     return hours, mins, secs
  12
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/ignite/_utils.py b/ignite/_utils.py
  --- a/ignite/_utils.py
  +++ b/ignite/_utils.py
  @@ -8,4 +8,4 @@
       """Convert seconds to hours, mins, and seconds."""
       mins, secs = divmod(time_taken, 60)
       hours, mins = divmod(mins, 60)
  -    return hours, mins, secs
  +    return round(hours), round(mins), round(secs)
  
verification_info: {"golden_diff": "diff --git a/ignite/_utils.py b/ignite/_utils.py\n--- a/ignite/_utils.py\n+++ b/ignite/_utils.py\n@@ -8,4 +8,4 @@\n     \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\n     mins, secs = divmod(time_taken, 60)\n     hours, mins = divmod(mins, 60)\n-    return hours, mins, secs\n+    return round(hours), round(mins), round(secs)\n", "issue": "Typehint of ignite._utils._to_hours_mins_secs  not satisfied with float\n## \ud83d\udc1b Bug description\r\n\r\nThat is a so tiny bug. The `typehint` of the following function of `ignite._utils` is not satisfied with a `float` argument\r\n``` python\r\ndef _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:\r\n    \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\r\n    mins, secs = divmod(time_taken, 60)\r\n    hours, mins = divmod(mins, 60)\r\n    return hours, mins, secs\r\n```\r\nWe have\r\n```python\r\n>>> divmod(10.0,2)\r\n(5.0, 0.0)\r\n```\r\n\r\n## Environment\r\n\r\n - PyTorch Version (e.g., 1.4): 1.4\r\n - Ignite Version (e.g., 0.3.0): 0.3.0\r\n - OS (e.g., Linux): Linux\r\n - How you installed Ignite (`conda`, `pip`, source): conda\r\n - Python version: 3.7\r\n - Any other relevant information:\r\n\r\n\n", "before_files": [{"content": "from typing import Union, Tuple\n\n# For compatibilty\nfrom ignite.utils import convert_tensor, apply_to_tensor, apply_to_type, to_onehot\n\n\ndef _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:\n    \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\n    mins, secs = divmod(time_taken, 60)\n    hours, mins = divmod(mins, 60)\n    return hours, mins, secs\n", "path": "ignite/_utils.py"}], "after_files": [{"content": "from typing import Union, Tuple\n\n# For compatibilty\nfrom ignite.utils import convert_tensor, apply_to_tensor, apply_to_type, to_onehot\n\n\ndef _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:\n    \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\n    mins, secs = divmod(time_taken, 60)\n    hours, mins = divmod(mins, 60)\n    return round(hours), round(mins), round(secs)\n", "path": "ignite/_utils.py"}]}