Added run_tokenizer
method in caikit_nlp/modules/text_generation/text_generation_local.py
#363
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: ["main", "release-*"] | |
paths: | |
- "caikit_nlp" | |
- "README.md" | |
- "pyproject.toml" | |
- "Dockerfile" | |
pull_request: | |
name: Build Image | |
jobs: | |
build-image: | |
name: Build Image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Reclaim space | |
run: | | |
sudo rm -rf /opt/hostedtoolcache | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
tags: "caikit-nlp:latest" | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |