Skip to content

Commit

Permalink
Update content/support/what_will_happen_if_i_edit_my_python_files_whi…
Browse files Browse the repository at this point in the history
…le_a_sweep_is_running.md

Co-authored-by: Matt Linville <[email protected]>
  • Loading branch information
luisbergua and mdlinville authored Feb 6, 2025
1 parent 6d67d2b commit f601a75
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ tags:
- sweeps
---

There are two things could change:
- The `train.py` which the sweep uses
- The files that `train.py` references (such as other scripts, let’s say a `helper.py` with helper functions is imported in `train.py`)

If you change `train.py` during a sweep, the sweep will continue to use the original version of `train.py`. It will not use the updated version of `train.py`.

However, if you change `helper.py` during the sweep, the sweep will use the newer version of `helper.py`.
While a sweep is running:
- If the `train.py` script which the sweep uses changes, the sweep continues to use the original `train.py`
- If files that the `train.py` script references change, such as helper functions in the `helper.py` script, the sweep begins to use the updated `helper.py`.

0 comments on commit f601a75

Please sign in to comment.