Skip to content

Instantly share code, notes, and snippets.

@vikigenius
Created December 11, 2021 08:35
Show Gist options
  • Save vikigenius/c42efc2b9d35fa6dd3d98f1545e1b31d to your computer and use it in GitHub Desktop.
Save vikigenius/c42efc2b9d35fa6dd3d98f1545e1b31d to your computer and use it in GitHub Desktop.
Invalid hashes error on installing allennlp
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
[tool.nitpick]
style = "https://raw.githubusercontent.com/wemake-services/wemake-python-styleguide/master/styles/nitpick-style-wemake.toml"
[tool.poe.tasks]
setup-torch = "python -m pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html"
setup-allennlp = "python -m pip install allennlp==2.8.0"
setup-ml-gpu = ["setup-torch", "setup-allennlp"]
[tool.poetry]
name = "siamenc"
version = "0.1.0"
description = "Module for transformation of question embeddings to passage embeddings"
authors = []
readme = "README.org"
repository = "https://bitbucket.org/alexsei-team/lexml/"
keywords = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.scripts]
siamenc = 'siamenc.cli:main'
[tool.poetry.dependencies]
python="~3.9"
poethepoet = "^0.11.0"
arger = "^1.4.2"
allennlp = "^2.8.0"
[tool.poetry.dev-dependencies]
mypy = "^0.910"
wemake-python-styleguide = "^0.15"
flake8-pytest-style = "^1.5"
nitpick = "^0.29"
safety = "^1.9"
pytest = "^6.2"
pytest-cov = "^3.0"
pytest-randomly = "^3.10"
sphinx = "^4.3"
sphinx-autodoc-typehints = "^1.12"
doc8 = "^0.10"
m2r2 = "^0.3"
tomlkit = "^0.7"
python-lsp-server = "^1.3.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment