Skip to content

Commit

Permalink
Pass ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and samsja committed Jan 10, 2025
1 parent 818e671 commit be3ef20
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/zeroband/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


from typing import Literal

from pydantic import model_validator
Expand Down
2 changes: 1 addition & 1 deletion src/zeroband/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def load_all_datasets(
split_world_size = world_size


logger.info(f"Loading Train dataset(s)")
logger.info("Loading Train dataset(s)")

ds = _load_datasets(
dataset_names=data_config.dataset_name_or_paths,
Expand Down
2 changes: 1 addition & 1 deletion src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from zeroband.comms import ElasticDeviceMesh
from zeroband.loss import cross_entropy_max_z_loss
from zeroband.models.llama.model import create_block_mask_from_seqlens
from zeroband.config import Config, MemoryProfilerConfig
from zeroband.config import Config #, MemoryProfilerConfig

from zeroband.utils import (
FakeTokenizer,
Expand Down

0 comments on commit be3ef20

Please sign in to comment.