Jirka Borovec
6e124e7207
CI: precommit - docformatter ( #8584 )
...
* CI: precommit - docformatter
* fix deprecated
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-06 12:49:09 +00:00
Michele Sanna
9ff0c22e43
Handle the case with no queries in `GPUStatsMonitor` ( #9014 )
...
Co-authored-by: Michele Sanna <{ID}+{username}@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-21 05:22:33 +02:00
Carlos Mocholí
a64cc37394
Replace `yapf` with `black` ( #7783 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 13:37:35 +02:00
Xuehai Pan
2c5d94d98b
Fix: handle logical CUDA device IDs for GPUStatsMonitor if `CUDA_VISIBLE_DEVICES` set ( #8260 )
...
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-07-19 11:42:43 +00:00
deepsource-autofix[bot]
cbf71d0a14
Remove unnecessary comprehension ( #8405 )
2021-07-19 08:30:24 +00:00
Carlos Mocholí
8c0ea92af2
`TrainerState` refactor [5/5] ( #7173 )
...
* `TrainerState` refactor
* flake8
* Update finished check
* Test cleanup
* Fix tests
* Fixes
* Reorder
* flake8
* Update CHANGELOG
* Better docs
* Better docs
* Remove default
* Update tests
* Bad merge
2021-05-04 12:50:56 +02:00
Jirka Borovec
0f9134e043
Refactor: skipif for Windows 2/n ( #6268 )
...
* win
* isort
* flake8
2021-03-02 09:36:01 +00:00
Jirka Borovec
eb815000f6
Refactor: skipif for multi - gpus 1/n ( #6266 )
...
* ngpus
* gpu
* isort
* pt
* flake8
2021-03-02 09:03:32 +01:00
Rohit Gupta
6d1e055a32
Prune EvalModelTemplate from callbacks and utilities ( #6018 )
...
* boring
* boring
2021-02-16 19:59:57 +00:00
Jirka Borovec
91f63deabc
formatting tests: 5/5 ( #5848 )
...
* cb
* acc
* plug
* .
2021-02-06 07:28:26 -05:00
Arnaud Gelas
6d83d4457d
Fix pre-commit isort failure on tests/callbacks/*.py ( #5428 )
...
* Remove tests.callbacks from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/callbacks/*.py
2021-01-14 13:15:34 -05:00
Jirka Borovec
059f4630c8
prune check on Trainer fit result ( #5453 )
...
* prune check on Trainer fit result
* flake8
* Apply suggestions from code review
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* .
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-01-11 19:36:48 -05:00
Jirka Borovec
6d2c564bc6
refactor - check F841 ( #5202 )
2020-12-21 11:10:55 +05:30
Rohit Gupta
af449310aa
limit monitor callback with log_every_n_steps ( #3881 )
...
* limit monitor callback with row_log_interval
* try fix gpu test
* log_every_n_steps
* Apply suggestions from code review
* Apply suggestions from code review
* rebase and staticmethod
* suggestions
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-22 16:38:03 +05:30
William Falcon
09c2020a93
notices ( #4118 )
2020-10-13 07:18:07 -04:00
Carlos Mocholí
908382f196
Split GPUStatsMonitor function ( #3644 )
...
* Split function
* Add docstrings
* Add typing annotations
* Minor refactor
* Make static to add a test
2020-09-25 07:30:30 +02:00
Rohit Gupta
24809b0b26
Refactor GPUStatsMonitor to improve training speed ( #3257 )
...
* Refactor GPUMonitor to improve training speed
* added gpu ids to monitor
* update tests
* added deprecation warning
* pep
* fix test
* fix docs
* fix log_gpu_memory
* move deprecation check
* chlog
* Update CHANGELOG.md
* suggestions and fix
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-04 06:02:16 -04:00
Rohit Gupta
f03943ee94
Fix GpuUsageLogger to work on different platforms ( #3008 )
...
* Fix GpuUsageLogger
* docstrings
* misconfigexception
* add basic tests
* skip doctest
* fix parameter and docstring
* rm cl
* skip doctest
* cleanup
* chlog
* add suggestions from review
* add test from suggestions
* fix import
* fix test
* fix test
* fix test
* fix test
* rename GpuUsageLogger to GPUStatsMonitor
* doc fix
* Apply suggestions from code review
* update docs format
* update docs
* miss
* merge
* fix title formatting
* unindent
* punctuation
* simplify if statements
* fix test
* suggestions
* pep
* Update CHANGELOG.md
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
* fix on_train_batch_*
* use AttributeDict
* usage
* rank zero
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* import
* minor changes
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Adrian Wälchli <adrian.waelchli@inf.unibe.ch>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-08-27 19:50:32 +02:00