Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ rouge-score>=0.1.2,<0.2.0
sentencepiece>=0.2.0,<0.3.0
tokenizers>=0.15.2,<0.16.0
toml>=0.10.2,<0.11.0
# Habana installer has 2.2.0a0+git8964477 with oneMKL
torch>=2.2.0a0,<3.0.0 ; python_version == '3.10'
torch>=2.2.1,<3.0.0 ; python_version != '3.10'
torch>=2.3.0,<3.0.0 ; python_version != '3.10'
tqdm>=4.66.2,<5.0.0
transformers>=4.30.0,<=4.38.2
transformers==4.38.1; sys_platform == 'darwin' and platform_machine == 'arm64'
transformers>=4.37.0,<=4.38.2; sys_platform != 'darwin' and platform_machine != 'arm64'
trl>=0.7.11,<0.8.0
wandb>=0.16.4,<0.17.0
langchain-text-splitters
Expand Down
2 changes: 1 addition & 1 deletion scripts/basic-workflow-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ test_train() {
task Train the model

# TODO Only cuda for now
TRAIN_ARGS="--device=cuda --4-bit-quant"
TRAIN_ARGS="--device=cuda --4-bit-quant --dtype=fp16"
if [ "$GRANITE" -eq 1 ]; then
TRAIN_ARGS="--gguf-model-path models/granite-7b-lab-Q4_K_M.gguf ${TRAIN_ARGS}"
fi
Expand Down
Loading