Skip to content

Commit

Permalink
[CLI] Setting capture output to False (#2239)
Browse files Browse the repository at this point in the history
* setting capture output to False

* Update trl/commands/cli.py

Co-authored-by: Quentin Gallouédec <[email protected]>

---------

Co-authored-by: Quentin Gallouédec <[email protected]>
  • Loading branch information
August-murr and qgallouedec authored Oct 17, 2024
1 parent 02f4e75 commit 494b4af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trl/commands/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def train(command_name):
encoding="utf-8",
cwd=os.getcwd(),
env=os.environ.copy(),
capture_output=True,
)
except (CalledProcessError, ChildProcessError) as exc:
console.log(f"TRL - {command_name.upper()} failed on ! See the logs above for further details.")
Expand Down

0 comments on commit 494b4af

Please sign in to comment.