Commit Graph

85 Commits (main)

Author SHA1 Message Date
Epiphany c4ea0e6d97
[Fix] fix ci (#3251)
* fix ci

* fix lint
2025-03-03 14:33:41 +08:00
Epiphany 23ec934b8f
fix the ci (#3246)
* fix-ci

* fix lint

* remove circleci
2025-02-19 11:41:27 +08:00
Mashiro 139325726b
[Fix] Fix ci (#3196)
* [Fix] Fix pre-commit-hook for python3.12

* [Fix] clang lint

* use ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION

* Add todo
2024-11-04 12:00:16 +08:00
Zaida Zhou c7b8ccc64d
Add torch2.1.0 checking in CI (#2955) 2023-10-11 15:42:51 +08:00
Zaida Zhou af0aaddf89
Install wheel package in CI to support bdist_wheel command (#2851) 2023-06-29 16:46:21 +08:00
Zaida Zhou 566f5fe91f
Drop the outdated torch versions in CI (#2830) 2023-06-14 14:29:44 +08:00
Zaida Zhou b4dee63ce1
[FIx] Build CUDA ops in CI (#2794) 2023-05-10 20:30:19 +08:00
Zaida Zhou 107f184386
[Fix] ops can not be built in github action (#2783)
* Fix CI

* Fix CI

* revert comments

* print cl

* use latest

* install wheel

* install wheel

* fix

* Update .github/workflows/pr_stage_test.yml
2023-05-10 16:01:00 +08:00
Zaida Zhou 89a264527e
Enhance issue templates (#2776) 2023-04-23 10:55:16 +08:00
Zaida Zhou 7c136e79d5
Update the supported torch and cuda versions in README (#2687)
* Update the supported torch and cuda versions in README

* update version.json

* use ubuntu-22.04

* refine
2023-04-06 19:22:57 +08:00
Zaida Zhou c74b488917
Remove two outdated files (#2740) 2023-04-06 17:01:01 +08:00
Zaida Zhou d429df1a8d
[Refactor] Refactor the pytorch and cuda combination for testing in CI (#2693)
* Refactor CI

* Upload coverage to Codecov

* update

* update

* update

* update

* test

* test

* fix typo

* fix

* fix

* fix

* fix circleci

* fix circleci

* revert comments

* add verpose

* install cuda

install cuda

install cuda

install cuda

install cuda

install cuda

install cuda

fix env

fix env

fix env

fix env

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix circleci

fix circleci

remove cuda11.1 test from windows

update ci

update ci

update ci

update ci

update ci

update ci

update ci

update ci

* do not test python3.11

* revert comments
2023-04-06 15:01:50 +08:00
Zaida Zhou 5a45fac989
Do not build pre-built pakcages for torch1.6 and 1.7 on macOS platform (#2678)
* build macos

* fix python version

* fix python version

* Do not build pre-built pakcages for torch1.6 and 1.7 in macOS platform
2023-03-21 13:54:00 +08:00
Zaida Zhou 91ed30dd53
Build macOS pre-built packages for PyTorch2.0 in CI (#2668)
* Add support for pytorch2.0

* minor fix

* update
2023-03-17 15:40:35 +08:00
CokeDong 78fdf17817
Update parrots image (#2538)
* Update image for 2.x

* Update install cmd for 2.x
2023-01-10 11:02:59 +08:00
Mashiro 4ae327f43c
Deprecate the support for python3.6 (#2525)
* [Fix] Adjust the minimum supported version of Python to 3.6

* refine the docs
2023-01-06 15:39:44 +08:00
q.yao 32cc2f7c72
[Fix] Fix the version of Windows OS to 2019 (#2503) 2022-12-20 22:50:57 +08:00
Zaida Zhou ac47088147
Add torch1.13 checking in CI (#2441)
* Add torch1.13 in CI

* swith to python3.7

* fix windows error
2022-11-22 14:52:00 +08:00
Zaida Zhou 3ffb2a7a9a
Build macOS wheel when updating version info (#2350)
* Build macos wheel on 2.x branch

* remove env

* fix python3.10 can not found error

* fix python3.10 can not found error

* comment config

* trigger on push action
2022-10-24 00:24:27 +08:00
zhouzaida 791f70fd12 resolve conflicts when picking commits from master branch 2022-10-22 13:39:50 +08:00
q.yao e0b3223baf fix ci 2022-10-22 13:39:50 +08:00
Zaida Zhou 2a82b52b8d
Update configs of circleci and github action (#2255)
* Update configs of circleci and github action

* fix base-revision

* remove psutil from ci

* fix ci

* update circleci

* update circleci

* fix typo

* fix typo

* fix typo

* fix ut

* install mmengine from main branch

* update github action

* update github action

* install git

* install git

* update ci

* update ci of merged stage

* fix typo

* fix typo

* fix onnx compilation error

* fix onnx compilation error

* use sudo to install packages

* fix onnx installation

* modify python version

* update

* install git in circleci

* use sudo

* install git

* update

* test on 2.x branch
2022-09-14 19:37:12 +08:00
Zaida Zhou 57ba4811f1
Rename mmcv package name (#2235)
* Rename mmcv package name

* fix typo

* fix typo

* fix typo
2022-08-30 16:24:06 +08:00
Zaida Zhou 2085d79ca9
Update CI (#2180)
* Install mmengine in CI

* fix

* fix version error

* update ci
2022-08-18 17:28:09 +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