Skip to content

Commit 91ee9ad

Browse files
authored
Fix the vlm test (#1949)
The recent Flux model graudate PR breaks vlm
1 parent db47630 commit 91ee9ad

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/assets/cc12m_test/pack_test_dataset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ def pack_wds_dataset(tar_destination, source_folder, number_of_samples):
5353

5454

5555
if __name__ == "__main__":
56-
tar_destination = (
57-
"torchtitan/experiments/flux/tests/assets/cc12m_test/cc12m-train-0000.tar"
58-
)
56+
tar_destination = "tests/assets/cc12m_test/cc12m-train-0000.tar"
5957
source_folder = "cc12m_test"
6058
number_of_samples = 32
6159
pack_wds_dataset(tar_destination, source_folder, number_of_samples)

torchtitan/experiments/vlm/datasets/mm_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _process_cc12_wd_sample(
201201
),
202202
"cc12m-test": DatasetConfig(
203203
# TODO: move test cc12m dataset to core test folder
204-
path="torchtitan/experiments/flux/tests/assets/cc12m_test",
204+
path="tests/assets/cc12m_test",
205205
loader=lambda path: load_dataset(
206206
path, split="train", data_files={"train": "*.tar"}, streaming=True
207207
),

0 commit comments

Comments
 (0)