-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main-dev' of https://github.com/unum-cloud/uform into m…
…ain-dev
- Loading branch information
Showing
15 changed files
with
298 additions
and
110 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ src/test.py | |
build/ | ||
package-lock.json | ||
*.egg-info | ||
*.oonx | ||
*.onnx |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
ci: | ||
autofix_commit_msg: "chore(pre-commit): autofix run" | ||
autoupdate_commit_msg: "chore(pre-commit): autoupdate hooks" | ||
|
||
default_install_hook_types: | ||
- pre-commit | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: name-tests-test | ||
- id: trailing-whitespace | ||
- repo: https://github.com/pappasam/toml-sort | ||
rev: v0.23.1 | ||
hooks: | ||
- id: toml-sort-fix | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v3.1.0 | ||
hooks: | ||
- id: add-trailing-comma | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.11 | ||
hooks: | ||
# Run the linter | ||
- id: ruff | ||
args: [--fix] | ||
# Run the formatter | ||
- id: ruff-format |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
"editor.defaultFormatter": "ms-python.black-formatter" | ||
}, | ||
"python.formatting.provider": "none" | ||
} | ||
} |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.2 | ||
0.3.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ table>tbody>tr>td:first-child { | |
|
||
#overview>p>a>img { | ||
height: 25px !important; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Overview | |
========== | ||
.. mdinclude:: ../README.md | ||
|
||
.. toctree:: | ||
.. toctree:: | ||
:hidden: | ||
|
||
self | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,72 @@ | ||
[build-system] | ||
requires = ["setuptools>=42"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project.scripts] | ||
uform-chat = "uform.chat:main" | ||
requires = ["setuptools>=42"] | ||
|
||
[project] | ||
name = "uform" | ||
version = "1.0.3" | ||
authors = [ | ||
{ name="Mikhail Kim", email="mike.kim@unum.cloud" }, | ||
{ name="Vladimir Orshulevich", email="vladimir.orshulevich@unum.cloud" }, | ||
{ name="Ash Vardanian", email="ash.vardanian@unum.cloud" }, | ||
{email = "ash.vardanian@unum.cloud", name = "Ash Vardanian"}, | ||
{email = "mike.kim@unum.cloud", name = "Mikhail Kim"}, | ||
{email = "vladimir.orshulevich@unum.cloud", name = "Vladimir Orshulevich"}, | ||
] | ||
maintainers = [ | ||
{ name="Unum Cloud", email="info@unum.cloud" }, | ||
] | ||
dependencies = [ | ||
"torch>=1.13.1", | ||
"tokenizers>=0.13.3", | ||
"huggingface_hub>=0.16.4", | ||
"transformers>=4.36.2", | ||
"torchvision" | ||
] | ||
description = "Multi-Modal Transformers library for Semantic Search and other Vision-Language tasks" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
|
||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Image Processing", | ||
"Topic :: Scientific/Engineering :: Image Recognition", | ||
|
||
"Natural Language :: Chinese (Simplified)", | ||
"Natural Language :: English", | ||
"Natural Language :: French", | ||
"Natural Language :: Korean", | ||
"Natural Language :: German", | ||
"Natural Language :: Italian", | ||
"Natural Language :: Polish", | ||
"Natural Language :: Spanish", | ||
"Natural Language :: Japanese", | ||
"Natural Language :: Korean", | ||
"Natural Language :: Polish", | ||
"Natural Language :: Russian", | ||
"Natural Language :: Spanish", | ||
"Natural Language :: Turkish", | ||
"Natural Language :: Chinese (Simplified)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Image Processing", | ||
"Topic :: Scientific/Engineering :: Image Recognition", | ||
] | ||
dependencies = [ | ||
"huggingface_hub>=0.16.4", | ||
"tokenizers>=0.13.3", | ||
"torch>=1.13.1", | ||
"torchvision", | ||
"transformers>=4.36.2", | ||
] | ||
description = "Multi-Modal Transformers library for Semantic Search and other Vision-Language tasks" | ||
maintainers = [ | ||
{email = "info@unum.cloud", name = "Unum Cloud"}, | ||
] | ||
name = "uform" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
version = "1.1.1" | ||
|
||
[project.scripts] | ||
uform-chat = "uform.chat:main" | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/unum-cloud/uform" | ||
"Homepage" = "https://github.com/unum-cloud/uform" | ||
|
||
[tool.ruff] | ||
ignore = ["C408", "C901", "E501", "E741"] | ||
ignore-init-module-imports = true | ||
select = ["C", "E", "F", "I", "UP", "W"] | ||
|
||
[tool.ruff.isort] | ||
lines-after-imports = 2 | ||
|
||
[tool.ruff.lint.isort] | ||
known-first-party = ["uform"] | ||
|
||
[tool.ruff.per-file-ignores] | ||
"__init__.py" = ["E401"] | ||
|
||
[tool.tomlsort] | ||
all = true | ||
in_place = true | ||
spaces_before_inline_comment = 2 | ||
spaces_indent_inline_array = 4 | ||
trailing_comma_inline_array = true |
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
Oops, something went wrong.