Closed JingyaHuang closed 3 months ago
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Update styling tool and fix style following this:
Run source venv/bin/activate
source venv/bin/activate
ruff .
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
- 'ignore' -> 'lint.ignore'
- 'select' -> 'lint.select'
- 'isort' -> 'lint.isort'
- 'per-file-ignores' -> 'lint.per-file-ignores'
text-generation-inference/server/text_generation_server/model.py:1[2](https://github.com/huggingface/optimum-neuron/actions/runs/8216181267/job/22470453310?pr=509#step:7:2)9:[5](https://github.com/huggingface/optimum-neuron/actions/runs/8216181267/job/22470453310?pr=509#step:7:5): E[7](https://github.com/huggingface/optimum-neuron/actions/runs/8216181267/job/22470453310?pr=509#step:7:7)22 Do not use bare `except`
Found 1 error.
What does this PR do?
Support phi family models on feature-extraction, text-classification, token-classification tasks.
Fixes #508
Export
Inference
Before submitting