Commit Graph

13 Commits (6c5eebb823e3c9381d63fd0cd1873ed1bd9ee9de)

Author SHA1 Message Date
Mashiro 95d875832a
[Enhance] Support for installing minimal runtime dependencies (#1362) 2023-10-08 16:38:40 +08:00
Zaida Zhou 1ab646de17
Skip mmcv in CI when torch < 1.8 (#1199) 2023-06-15 14:15:00 +08:00
Mashiro eb79d64af1
[Fix] Add PyTorch 2.0 CI and fix unit tests (#1026)
* [Enhance] Make sure the FileHandler still alive after

* minor refine

* minor refine

* refine unit test

* update CI

* update CI

* Fix CI

* fix build_windows

* fix build_windows

* fix build_windows

* fix build_windows

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* test windows CI

* Fix

* Debug

* Fix unit test

* Fix unit test

* Fix CI

* update image version

* update action/checkout and action/setup-python

* add condition to skip test compile

* [Fix] Update CI and fix unit test

* check compiling by attempting compilation

* check compiling by attempting compilation

* check compiling by attempting compilation

* use windows-2022 in runs on

* Apply suggestions from code review

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

* update yml

* remove unnecessary assert

* assert grad is None according to the PyTorch version

* Fix code

---------

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-03-29 13:09:23 +08:00
Mashiro ad33a7d0e5
[Fix] Fix inferencer gets wrong configs path (#996)
* [Fix] Fix inferencer get wrong configs path

* Update CI

* Fix indent

* Fix CI arguments

* gpu test in CI

gpu test in CI

* require lint

* Adjust pytorch version and cuda version

* Fix docker

* Fix docker syntax

* Use bach -c

* Use bach -c

* Replace is_installed with is_imported

* Fix

* Fix PYTHONPATH
2023-03-14 18:28:33 +08:00
Mashiro 136b45317b
Deprecate the support for python3.6 (#863)
* prefer install binray for opencv

* clean the code

* rename BinaryPeferredPackageIndex

* adjust minimum version of python

* clean the code

* remove duplicated CI
2023-01-06 12:50:36 +08:00
Mashiro c22e900f2e
Add torch1.13 checking in CI (#752)
* Update CI

* Update CI

* restore python -m pip to pip

* refine
2022-12-07 20:58:57 +08:00
Zaida Zhou 19d4eba866
[Refactor] Update Github Action CI and CircleCI (#512)
* [CI] Update Github Action CI and CircleCI

* clear outdated commands in CI

* clear outdated commands in CI

* add '-r' when installing packages from txt

* update

* update circleci

* fix mismatch conflicts

* update

* install system dependencies

* update

* set env

* fix ut

* update cuda version on Windows

* update push action
2022-09-07 20:24:11 +08:00
yancong fe0eb0a5bb
fix(CircleCI): Set MKL_THREADING_LAYER=GNU in dockefile (#484) 2022-08-30 08:41:08 +08:00
Tong Gao a6dfde5e13
[CI] Full tests (#402)
* [CI] Full tests

* Add github tests

* fix

* fix typo

Co-authored-by: zhouzaida <zhouzaida@163.com>
2022-08-29 15:34:08 +08:00
Zaida Zhou 7e1d7af2d9
[Refactor] Refactor code structure (#395)
* Rename data to structure

* adjust the way to import module

* adjust the way to import module

* rename Structure to Data Structures in docs api

* rename structure to structures

* support using some modules of mmengine without torch

* fix circleci config

* fix circleci config

* fix registry ut

* minor fix

* move init method from model/utils to model/weight_init.py

* move init method from model/utils to model/weight_init.py

* move sync_bn to model

* move functions depending on torch to dl_utils

* format import

* fix logging ut

* add weight init in model/__init__.py

* move get_config and get_model to mmengine/hub

* move log_processor.py to mmengine/runner

* fix ut

* Add TimeCounter in dl_utils/__init__.py
2022-08-24 19:14:07 +08:00
Zaida Zhou f5867f8442
Replace markdownlint with mdformat to avoid installing ruby (#233)
* Replace markdownlint with mdformat to avoid installing ruby

* fix circleci
2022-05-17 20:52:22 +08:00
Wenwei Zhang 96f3d97fc4
Try to fix lint issue (#199)
* try to fix lint

* upgrade yapf version

* use another way to bypass yapf

* update docstring
2022-04-26 13:53:00 +08:00
Zaida Zhou 8b4d7ddaa2
Add circleci (#157)
* Add circleci

* fix typo

* lower required coverage

* support initialzing distributed environemtn without GPUs

* fix unit tests

* add approval for running gpu tests

* add approval for running gpu tests

* fix unit tests

* fix unit tests
2022-04-01 13:07:29 +08:00