Skip to content

Commit 438c9ad

Browse files
committed
Remove manual mock file creation for debugging
1 parent fa3b178 commit 438c9ad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/pytorch/training/test_trl.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def test_trl(caplog: pytest.LogCaptureFixture, tmp_path: PosixPath) -> None:
2525
tmp_path.mkdir(exist_ok=True)
2626
tmp_path.chmod(0o775)
2727

28-
# Create an empty file named `model.safetensors`
29-
tmp_path.joinpath("model.safetensors").touch()
30-
3128
logging.info("Running the container for TRL...")
3229
container = client.containers.run(
3330
os.getenv(
@@ -97,10 +94,6 @@ def test_trl_peft(caplog: pytest.LogCaptureFixture, tmp_path: PosixPath) -> None
9794
tmp_path.mkdir(exist_ok=True)
9895
tmp_path.chmod(0o775)
9996

100-
# Create empty files named `adapter_config.json` and `adapter_model.safetensors`
101-
tmp_path.joinpath("adapter_config.json").touch()
102-
tmp_path.joinpath("adapter_model.safetensors").touch()
103-
10497
logging.info("Running the container for TRL...")
10598
container = client.containers.run(
10699
os.getenv(

0 commit comments

Comments
 (0)