Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
  • Loading branch information
fabianlim committed Aug 29, 2024
1 parent 00d17e7 commit 3b20f22
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/acceleration/test_acceleration_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
from typing import Annotated
from unittest.mock import patch
import copy
import os
import tempfile

# Third Party
import pytest
import torch

# First Party
from tests.data import TWITTER_COMPLAINTS_JSON_FORMAT, TWITTER_COMPLAINTS_TOKENIZED
from tests.test_sft_trainer import DATA_ARGS, MODEL_ARGS, PEFT_LORA_ARGS, TRAIN_ARGS

# Local
Expand Down Expand Up @@ -53,6 +53,14 @@
)
from tuning.utils.import_utils import is_fms_accelerate_available

TWITTER_COMPLAINTS_JSON_FORMAT = os.path.join(
os.path.dirname(__file__), "../data/twitter_complaints_json.json"
)
TWITTER_COMPLAINTS_TOKENIZED = os.path.join(
os.path.dirname(__file__),
"../data/twitter_complaints_tokenized_with_maykeye_tinyllama_v0.json",
)

# pylint: disable=import-error
if is_fms_accelerate_available():

Expand Down

0 comments on commit 3b20f22

Please sign in to comment.