Commit Graph

69 Commits (master)

Author SHA1 Message Date
Zaida Zhou 04e8727adf
Remove unused files (#2586) 2023-02-06 12:50:07 +08:00
Zaida Zhou 18e8f32fff
Refactor the issue templates (#2585)
* Refactor the issue template

* fix links

* fix
2023-02-06 11:51:23 +08:00
CokeDong 64e739e002
Update parrots image (#2522)
* Update image

* Bugfix for parrots ext ops

* Move parrots ci task to build_pat.yml

* Fix on:push

* Remove commets and fix

* Fix beautiful job name
2023-01-09 19:41:48 +08:00
yancong 859d84c5b1
[Fix] Fix CI failed due to the version of setuptools (#2530)
* debug build_cu102 ci jobs

* debug build_cu102 ci jobs

* add tmate ssh

* add tmate ssh

* install specified version for setuptools

* revert comments of ci jobs

* revert comments of ci jobs

* specify setuptools version for build_cu116
2023-01-08 14:31:21 +08:00
Zaida Zhou eda3c57ea1
Add torch1.13 checking in CI (#2405)
* Add torch1.13 checking in CI

* swith to python3.10

* fix

* cancel comments
2022-11-17 11:28:52 +08:00
Zaida Zhou b51341909b
Build torch1.13 pre-built package for macOS in CI (#2366)
* Add torch1.13 for macOS in CI

* update

* fix typo

* Update
2022-10-31 14:28:30 +08:00
Zaida Zhou 6d9e4a9b78
Build macOS wheel in Github Action (#2311)
* Bump version to

* update
2022-10-24 12:38:40 +08:00
q.yao c001e2fcba
[Refactor] Refactor the nms3d op to support MLU (#2296)
* update iou3d

* fix parrot

* update to device

* replace count_nonzero with fill

* update build.yml
2022-10-11 10:24:46 +08:00
Zaida Zhou 6a03918f55
[Feature] Add support for mps (#2092)
* [Feature] Add support for MPS

* fix import error

* update ut

* fix error

* trigger CI

* use a unique basename for test file modules

* avoid bc-breaking
2022-07-07 16:05:49 +08:00
Zaida Zhou 9fffcbc9cd
[Feature] Add Dockerfile (#1974)
* Add Dockerfiles

remove Dockerfile in root directory

minor fix

minor fix

* improve dockerfile

* refine
2022-07-01 16:23:28 +08:00
Zaida Zhou c344c11004
Test torch1.12 in CI (#2088) 2022-06-30 21:57:09 +08:00
Philipp Allgeuer f5425ab761
Add torch_meshgrid wrapper due to PyTorch change (#2044)
* Add torch_meshgrid_ij wrapper due to PyTorch change

* Update torch_meshgrid name/doc/version implementation

* Make imports local

* add ut

* ignore ut when torch is not available

Co-authored-by: zhouzaida <zhouzaida@163.com>
2022-06-15 20:36:48 +08:00
Zaida Zhou 11d8554cf9
[Docs] Fix mdformat version to support python3.6 (#2014)
* [Docs] Refine documentation

* fix mdformat version to support python3.6

* remove ruby dependency from CI

* fix invalid links
2022-06-09 17:47:26 +08:00
Zaida Zhou b326a219a7
[Docs] Replace markdownlint with mdformat for avoiding installing ruby (#1936)
* Use mdformat pre-commit hook

* allows consecutive numbering

* improve .mdformat.toml

* test mdformat

* format markdown

* minor fix

* fix codespecll

* fix circleci

* add linkify-it-py dependency for cicleci

* add comments

* replace flake8 url

* add mdformat-myst dependency

* remove mdformat-myst dependency

* update contributing.md
2022-05-16 20:47:56 +08:00
Zaida Zhou 0cc84451df
[Fix] Fix GPG key error in CI (#1926) 2022-04-29 13:17:31 +08:00
Hu Di 5221a3883c
[Feature] Support MMCV on IPU (#1882)
* implement runner on IPU

* adjust import

* adjust import

* add ignore for ipu on without ipu

* remove compilation cache

* remove ipu from mmcv/runner.__all__

* adjust IS_IPU and IS_MLU

* adjust by isort

* add ipuHardwareIsAvailable

* remove engine_cache

* code review 9
2022-04-18 00:02:49 +08:00
Qiza-lyhm 4826a9b7e4
[Feature] Support PyTorch backend on MLU (#1770)
* feat(MLU): Support PyTorch backend on MLU

  * MMCV support PyTorch backend on MLU

  * Add MLUDataParallel and MLUDistributedDataParallel

  * Add MLU operator support

* [Fix]: Fix PR comments and add IS_MLU to get device available check

* [Fix]: fix PR comments of dist_utils.py

* [Doc] Rewrite annotations of functions.

* [Docs] Rewrite annotation in distributed.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* [Docs] Fix lint

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-04-14 21:48:18 +08:00
Jiazhen Wang e0eebebf50
[Fix] Fix Python3.10 CI (#1828)
* Fix python3.10 ci

* fix build ci

* fix build ci

* fix onnx build in ci

* remove onnx optimizer

* remove python3.10 ci

* special treatment for py3.10

* fix build ci

* special treatment for python3.10 in requirements/test

* fix requirements/test
2022-04-02 14:22:05 +08:00
Jiazhen Wang 42062eded5
[Enhancement] Add Python3.10 CI (#1815)
* add python3.10 ci

* fix github workflow
2022-03-22 23:03:21 +08:00
Jiazhen Wang 33e14deaea
[Enhancement] Add PyTorch1.11.0 CI (#1800)
* add pytorch1.11 ci

* fix test parallel

* fix test parallel
2022-03-15 12:38:30 +08:00
WRH 0394990a47
Include spconv header files in the sdist package (#1766)
* include spconv/**.h in MANIFEST.in

* add more headers

* fix

* build from sdist in cpu runner

* remove original copy of src code in ci

Co-authored-by: wangruohui <wangruohui@local>
2022-03-07 11:07:40 +08:00
Zaida Zhou e4b5348ebf
[Docs] Refactor the structure of documentation (#1580)
* [Docs] Refactor the structure of documentation

* [Docs] Refactor the structure of documentation

* fix symlink

* fix link

* fix typo

* polish docstring

* fix docstring
2021-12-15 17:01:09 +08:00
Zaida Zhou 44e7eee835
[Docs] Add the link of mmhuman3d (#1561)
* Add the link of mmhuman3d

* fix typo

* add link of mim

* add link of mim in docs

* improve the table format
2021-12-07 14:32:44 +08:00
Jiazhen Wang 709908a76b
[CI] Cancel previous runs that are not completed (#1537)
* [Impl] cancel previous runs that are not completed

* [Improve] use official method

* [Useless] just for test
2021-12-06 15:55:32 +08:00
Zaida Zhou 2442518f2c
Use the official markdownlint hook (#1535)
* Use the official markdownlint hook

* upgrade the version of ruby

* fix conflict
2021-11-30 13:17:25 +08:00
Zaida Zhou 20d4d20284
Skip CI when some specific files were changed (#1533)
* [Docs] Skip CI when some specific files were changed

* remove a unnecessary environment in lint.yml

* Use paths-ignore to ignore paths instead of paths

* fix typo
2021-11-29 22:06:05 +08:00
Zaida Zhou 990d8b6a83
[Fix] Add load_url to handle incompatibility of PyTorch versions (#1377)
* [Fix] Fix torch.load error

* [Fix] Fix torch.load error

* rename _save to _save_ckpt

* add load_url to handle imcompatibility of PyTorch versions

* add unittest for load_url

* fix typo

* print a friendly information when error occurred
2021-11-19 17:34:18 +08:00
Wenwei Zhang ef02219679
Add CI for pytorch 1.10 (#1431) 2021-10-24 13:32:31 +08:00
Zaida Zhou c934605e83
Switch to the docker image provided by PyTorch (#1376) 2021-10-03 10:29:05 +08:00
Zaida Zhou 5617ad72d0
[Feature] Add python3.9 in CI (#1291)
* [Feature] Add python3.9 in CI

* fix dependencies for compiling onnx
2021-08-27 16:25:30 +08:00
Wenwei Zhang 979a355d2a
[Feature] Add windows CI (#1023)
* add windows CI

* clean versions

* only allow pt1.7 on windows

* fix windows install issue

* add win cpu

* fix win command

* clean unnecessary command

* resolve turbojpeg & tempfile on win

* replace os.readlink with os.path.realpath

* fix windows ci

* close file before removing it

* fix windows ci

* fix symlink on windows

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* fix windows ci

* modify according to comment

Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-08-24 10:07:31 +08:00
Wenwei Zhang 3168ffa204
[Enhance]: update pr template (#1228)
* update pr template

* reformat

* update according to comments

* resolve comments
2021-08-23 10:37:03 +08:00
lizz 81777d1213
Use more cpus in building (#1046)
* Use more cpus in building

Signed-off-by: lizz <lizz@sensetime.com>

* Add psutil to requirements

Signed-off-by: lizz <lizz@sensetime.com>

* fix

Signed-off-by: lizz <lizz@sensetime.com>

* fix

Signed-off-by: lizz <lizz@sensetime.com>

* Hope faster

Signed-off-by: lizz <lizz@sensetime.com>

* fix macos

Signed-off-by: lizz <lizz@sensetime.com>
2021-08-18 19:37:18 +08:00
Haodong Duan 93418560d8
[Fix] Do not depend on setuptools>=52 (#1235)
* use packaging instead

* update

* update

* update

* update
2021-08-10 16:17:59 +08:00
Zaida Zhou 571e3e5fc7
[Fix] Fix CI of deploy (#1220) 2021-07-28 09:25:42 +08:00
Haodong Duan ef48a47389
[Improvement] Improve digit_version & use it for version_checking (#1185)
* improve digit_version & use it for version_checking

* more testing for digit_version

* setuptools >= 50 is needed

* fix CI

* add debuging log

* >= to ==

* fix lint

* remove

* add failure case

* replace

* fix

* consider TORCH_VERSION == 'parrots'

* add unittest

* digit_version do not deal with the case if 'parrots' in version name.
2021-07-23 21:03:33 +08:00
Ma Zerun 6659c38dd5
[Feature] Add `is_tracing` to wrap `torch.jit.is_tracing` in different versions. (#1187)
* Add `is_tracing` to wrap `torch.jit.is_tracing` in different versions.

* Remame `is_tracing` to `is_jit_tracing`

* Ignore `is_jit_tracing` tests in CI.
2021-07-13 14:42:50 +08:00
Zaida Zhou 23d7fc83cb
add CI for pt1.8 pt1.9 (#1141)
* add ci for pt1.8 pt1.9

* remove cp command

* change cuda verison

* fix typo

* fix ci

* fix typo
2021-07-06 15:40:56 +08:00
Junjun2016 f71e47c2f7
fix typos (#1124) 2021-06-22 23:41:32 +08:00
Zaida Zhou d3bbfdb899
fix parrots ci (#1032) 2021-05-23 15:23:58 +08:00
Wenwei Zhang 0dd0c49a5b
[Enhancement]: Add issue and PR template (#966)
* add issue and PR template

* rephrase

* fix lint

* resolve comments

* fix typo

* resolve comment
2021-04-22 14:38:42 +08:00
ZhangShilong 6fc6f75a76
use ubuntu-18.04 in ci (#883) 2021-03-10 12:51:44 +08:00
RunningLeon 72e4cc12bd
Fix pytorch2onnx failed for interpolate op with PyTorch==1.6.0(mmdet#4646) (#848)
* Fix pytorch2onnx for yolov3 with torch==1.6.0

* update and add test for F.interpolate

* add test_onnx.py with build_cuda
2021-02-26 10:49:12 +08:00
Kai Chen c1acedcc3b
Remove pytest from the runtime dependencies (#763)
* update the CI to avoid extra dependencies

* remove the dependency of pytest

* fix typo

* remove skip_no_parrots from __init__
2020-12-28 13:23:48 +08:00
lml131 9befc39811
Lml/jit decorator (#673)
* add jit decorator

* add parrots_jit.py

* modify test_parrots_jit.py

* modify for lint

* fix isort

* skip test_parrots_jit.py when build without pytorch

* try ci

* rm log

* fix double quote

* modify for comments and use partial_shape instead of full_shape

* fix for lint

* small modify for parrots 0.9.0rc0

* def skip no elena directly
2020-12-15 18:20:37 +08:00
Wenwei Zhang a0902e6de8
allow non-master build of parrots (#702) 2020-12-09 21:28:06 +08:00
Wenwei Zhang 1e925a05a2
Skip pat build in PR (#699)
* skip pat build in PR

* rename
2020-12-08 19:19:35 +08:00
wang shiguang 23ecd83d59
Add parrots ci (#662)
* add parrots ci

* update with ops build

* Update build.yml

* cridents env

* Update build.yml
2020-11-24 15:10:24 +08:00
Kai Chen 03214fd446
Support pytorch 1.7 and update the CI (#631)
* support pytorch 1.7 and update the CI

* fix CI

* fix onnxruntime version in macos
2020-10-31 17:58:15 +08:00
robin Han 23b2bdbf52
add unittest for onnx convert (#608)
* add unittest for onnx convert

* build onnx and onnxruntime in CI

* skip onnx op unit test while using CUDA

* fix offset==0 case in NMS

* remove tmp file used in test

* delete tmp file before assert so that we can remove the tmp file anyway
2020-10-26 11:33:35 +08:00