Skip to content

Commit

Permalink
Merge branch 'main' into chuck/add_llama3_yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 authored Dec 5, 2024
2 parents 1e95ba0 + ff3d901 commit 0a2d30c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions llmfoundry/data/finetuning/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def build_finetuning_dataloader(
replication_factor if replication_factor > 1 else None,
rank=dist.get_global_rank() //
replication_factor if replication_factor > 1 else None,
seed=dataset_cfg.get('shuffle_seed', 0),
)

assert streaming_dataset is not None # for pyright
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
]

install_requires = [
'mosaicml[libcloud,wandb,oci,gcs,mlflow]>=0.27.0,<0.28',
'mosaicml[libcloud,wandb,oci,gcs,mlflow]>=0.28.0,<0.29',
'mlflow>=2.14.1,<2.19',
'accelerate>=0.25,<1.2', # for HF inference `device_map`
'transformers>=4.43.2,<4.47',
Expand Down Expand Up @@ -91,15 +91,15 @@
]

extra_deps['databricks'] = [
'mosaicml[databricks]>=0.27.0,<0.28',
'mosaicml[databricks]>=0.28.0,<0.29',
'numpy<2',
'databricks-sql-connector>=3,<4',
'databricks-connect==14.1.0',
'lz4>=4,<5',
]

extra_deps['tensorboard'] = [
'mosaicml[tensorboard]>=0.27.0,<0.28',
'mosaicml[tensorboard]>=0.28.0,<0.29',
]

# Flash 2 group kept for backwards compatibility
Expand All @@ -110,7 +110,7 @@
extra_deps['gpu'] = copy.deepcopy(extra_deps['gpu-flash2'])

extra_deps['peft'] = [
'mosaicml[peft]>=0.27.0,<0.28',
'mosaicml[peft]>=0.28.0,<0.29',
]

extra_deps['openai'] = [
Expand Down

0 comments on commit 0a2d30c

Please sign in to comment.