Skip to content

Commit

Permalink
fix: remove detectron CI
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Jul 17, 2023
1 parent 27f77c9 commit 5770008
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 191 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ install: .pdm .pre-commit ## Install the package, dependencies, and pre-commit
pre-commit install --install-hooks
.PHONY: refresh-lockfiles
refresh-lockfiles: .pdm ## Sync lockfiles with requirements files.
# We need to set --no-isolation for detectron2 to work 😢
pdm update --update-reuse -d -G io -G grpc -G triton -G tracing -G monitor-otlp -G grpc-reflection -G grpc-channelz -G aws --no-isolation
pdm update --update-reuse -d -G io -G grpc -G triton -G tracing -G monitor-otlp -G grpc-reflection -G grpc-channelz -G aws
.PHONY: format format-proto lint lint-proto type style clean
format: ## Running code formatter: black and isort
@echo "(black) Formatting codebase..."
Expand Down
184 changes: 1 addition & 183 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,18 +220,13 @@ testing = [
"build[virtualenv]==0.10.0",
"Pillow<10",
]
dev = [
"-e git+https://github.com/facebookresearch/detectron2.git#egg=detectron2",
"fastapi",
]
[tool.pdm.scripts]
_run_test = "pytest --cov=bentoml --cov-report=term-missing --cov-config=pyproject.toml -vv"
tests = { composite = ["_run_test {args:tests}"] }
unit = { composite = ["tests tests/unit -n 3"] }
pre_integration = "pip install torch torchaudio torchvision --index-url https://download.pytorch.org/whl/cpu"
integration = { composite = [
"pip install -U tensorflow onnx onnxruntime",
"pip install git+https://github.com/facebookresearch/detectron2.git#egg=detectron2",
"tests tests/integration/frameworks/test_frameworks.py --framework {args}",
] }
monitoring = { composite = ["tests examples/monitoring/task_classification"] }
Expand All @@ -244,7 +239,6 @@ pre_all = "pdm sync -d -G io -G grpc -G triton -G tracing -G monitor-otlp -G grp
all = { composite = [
"unit",
"integration catboost",
"integration detectron",
"integration diffusers",
"integration easyocr",
"integration fastai",
Expand All @@ -259,6 +253,7 @@ all = { composite = [
"integration tensorflow",
"integration torchscript",
"integration xgboost",
"integration detectron",
"integration transformers",
"monitoring",
"e2e",
Expand Down

0 comments on commit 5770008

Please sign in to comment.