Files
Philipp Schmid a31e59edda Add ORT inference (#113)
* added gpu extras and added > transformers for token-classification pipeline issue

* added numpy and huggingface hub to required packages

* added modeling_* classes

* adding tests and pipelines

* remove vs code folder

* added test model and adjusted gitignore

* add readme for tests

* working tests

* added some documentation

* will ci run?

* added real model checkpoints

* test ci

* fix styling

* fix some documentation

* more doc fixes

* added some feedback and wording from michael and lewis

* renamed model class to ORTModelForXX

* moved from_transformers to from_pretrained

* applied ellas feedback

* make style

* first version of ORTModelForCausalLM without past-keys

* added first draft of new .optimize method

* added better quantize method

* fix import

* remove optimize and quantize

* added lewis feedback

* added style for test

* added >>> to code snippets

* style

* added condition for staging tests

* feedback morgan & michael

* added action

* forgot to install pytest

* forgot sentence piece

* made sure we won't have import conflicts

* make style happy
2022-04-28 15:02:51 +02:00

137 lines
1.9 KiB
Plaintext

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
*.DS_Store
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# Models
*.onnx
# include small test model for tests
!tests/assets/onnx/model.onnx
.vscode