diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0443e912..8005f6683 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,8 @@ on: push: branches: - "main" + tags: + - "v*" workflow_dispatch: jobs: @@ -45,6 +47,9 @@ jobs: images: | winglian/axolotl axolotlai/axolotl + tags: | + type=ref,event=tag + type=ref,event=push - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub @@ -58,7 +63,7 @@ jobs: with: context: . build-args: | - BASE_TAG=${{ github.ref_name }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }} + BASE_TAG=${{ github.ref_type == 'tag' && 'main' || github.ref_name }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }} CUDA=${{ matrix.cuda }} PYTORCH_VERSION=${{ matrix.pytorch }} AXOLOTL_ARGS=${{ matrix.axolotl_args }} @@ -121,7 +126,7 @@ jobs: with: context: . build-args: | - BASE_TAG=${{ github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }} + BASE_TAG=${{ github.ref_type == 'tag' && 'main' || github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }} CUDA=${{ matrix.cuda }} file: ./docker/Dockerfile-cloud push: ${{ github.event_name != 'pull_request' }} @@ -153,6 +158,9 @@ jobs: images: | winglian/axolotl-cloud-term axolotlai/axolotl-cloud-term + tags: | + type=ref,event=tag + type=ref,event=push - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -165,7 +173,7 @@ jobs: with: context: . build-args: | - BASE_TAG=${{ github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }} + BASE_TAG=${{ github.ref_type == 'tag' && 'main' || github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }} CUDA=${{ matrix.cuda }} file: ./docker/Dockerfile-cloud-no-tmux push: ${{ github.event_name != 'pull_request' }} diff --git a/.nojekyll b/.nojekyll index 5ce346a83..5a418ab94 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -1c2e13ec \ No newline at end of file +b42196b0 \ No newline at end of file diff --git a/docs/dataset-formats/index.html b/docs/dataset-formats/index.html index 6824929e9..5d3cf104d 100644 --- a/docs/dataset-formats/index.html +++ b/docs/dataset-formats/index.html @@ -363,7 +363,7 @@ Description - + Pre-training @@ -371,7 +371,7 @@ Description Data format for a pre-training completion task. - + Instruction Tuning @@ -379,7 +379,7 @@ Description Instruction tuning formats for supervised fine-tuning. - + Conversation @@ -387,7 +387,7 @@ Description Conversation format for supervised fine-tuning. - + Template-Free @@ -395,7 +395,7 @@ Description Construct prompts without a template. - + Custom Pre-Tokenized Dataset diff --git a/sitemap.xml b/sitemap.xml index b040ab2d7..b3599b54a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,110 +2,110 @@ https://axolotl-ai-cloud.github.io/axolotl/index.html - 2024-11-13T15:22:05.789Z + 2024-11-13T18:16:58.851Z https://axolotl-ai-cloud.github.io/axolotl/examples/colab-notebooks/colab-axolotl-example.html - 2024-11-13T15:22:05.781Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/amd_hpc.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/multipack.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/fsdp_qlora.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/batch_vs_grad.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/multimodal.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/unsloth.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/index.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/pretraining.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/inst_tune.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/debugging.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/faq.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/TODO.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/FAQS.html - 2024-11-13T15:22:05.773Z + 2024-11-13T18:16:58.835Z https://axolotl-ai-cloud.github.io/axolotl/docs/multi-node.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/mac.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/tokenized.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/conversation.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset-formats/template_free.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/config.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/rlhf.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/torchao.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/dataset_preprocessing.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/input_output.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/docs/nccl.html - 2024-11-13T15:22:05.777Z + 2024-11-13T18:16:58.839Z https://axolotl-ai-cloud.github.io/axolotl/src/axolotl/integrations/LICENSE.html - 2024-11-13T15:22:05.793Z + 2024-11-13T18:16:58.855Z