Skip to content

Commit

Permalink
add pytorch 2.5.0 base images (#1979)
Browse files Browse the repository at this point in the history
* add pytorch 2.5.0 base images

* make sure num examples for debug is zero and fix comparison
  • Loading branch information
winglian authored Oct 18, 2024
1 parent f62e237 commit 67f744d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
python_version: "3.11"
pytorch: 2.4.1
torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX"
- cuda: "124"
cuda_version: 12.4.1
cudnn_version: ""
python_version: "3.11"
pytorch: 2.5.0
torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/axolotl/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def load_datasets(
cli_args.debug
or cfg.debug
or cli_args.debug_text_only
or cli_args.debug_num_examples
or int(cli_args.debug_num_examples) > 0
):
LOG.info("check_dataset_labels...")
check_dataset_labels(
Expand Down
2 changes: 1 addition & 1 deletion src/axolotl/common/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TrainerCliArgs:

debug: bool = field(default=False)
debug_text_only: bool = field(default=False)
debug_num_examples: int = field(default=5)
debug_num_examples: int = field(default=0)
inference: bool = field(default=False)
merge_lora: bool = field(default=False)
prompter: Optional[str] = field(default=None)
Expand Down

0 comments on commit 67f744d

Please sign in to comment.