chaton
829d90b257
activated color in all pytest runs ( #4254 )
...
* activated color in all pytest runs
* Update .drone.yml
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-20 16:38:17 +02:00
Jirka Borovec
3777988502
add test for model hooks ( #4010 )
2020-10-20 13:33:46 +01:00
Jirka Borovec
9edef4023c
prune ignore ( #4240 )
...
* prune ignore
* try drop loggers
2020-10-20 13:32:39 +01:00
Jirka Borovec
f37444fa3e
CI: add flake8 ( #4239 )
2020-10-19 21:20:17 +01:00
Jirka Borovec
7c4f80a1af
allow codecov upload to fail ( #4221 )
2020-10-19 09:28:17 +02:00
Jirka Borovec
d3567c33a6
move base req. to root ( #4219 )
...
* move base req. to root
* check-manifest
* check-manifest
* manifest
* req
2020-10-18 20:40:18 +02:00
Espen Haugsdal
66e58f5afb
Use checkpoint_connector.hpc_save in SLURM ( #4217 )
2020-10-18 10:13:56 -04:00
Jirka Borovec
2e9733bfff
remove unused folder ( #4211 )
2020-10-17 22:17:50 +02:00
Jirka Borovec
8838586aef
update PR template ( #4210 )
2020-10-17 22:01:49 +02:00
Elia Cereda
cf9fe4905e
Annotate return type of TrainerProperties.from_argparse_args(...) ( #4192 )
...
* Annotate return type of TrainerProperties.from_argparse_args(...)
* Added second empty line between class and typevar
* Renamed all uses of the typevar to _T
2020-10-17 20:00:50 +08:00
Abhinav Gupta
aca072a4bc
Update multi_gpu.rst ( #4201 )
...
torch.cuda.device_count() returns the number of available GPUs
2020-10-17 10:18:57 +02:00
khaitech
155f4e9aa5
fixed typos in style guide ( #4181 )
2020-10-16 22:21:47 +02:00
Teddy Koker
5c1eff351b
Add load_from_checkpoint function to Loading docs ( #4196 )
...
* add autodoc load_from_checkpoint to docs
* autofunction -> automethod
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-16 14:36:49 -04:00
Teddy Koker
827a557269
Add persistent flag to Metric.add_state ( #4195 )
...
* add persistant flag to add_state in metrics
* wrap register_buffer with try catch
* pep8
* use loose version
* test
* pep8
2020-10-16 14:36:03 -04:00
Jirka Borovec
3fe479f348
fix hparams assign in init ( #4189 )
2020-10-16 13:57:21 +01:00
Nathan Raw
130de22fd7
Fix broken trainer flags nb ( #4159 )
...
* 📝 add newline
* Created using Colaboratory
* Edited using Colaboratory
* Apply suggestions from code review
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* typo
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-15 23:04:54 +02:00
Akihiro Nitta
b45b57cc58
Use `Optional` for arguments set to `None` by default ( #4164 )
...
* Use `Optional` for variables set to `None` by default
* Use `Optional` instead of `Union[None, ...]` for consistency
2020-10-15 23:02:50 +02:00
Yigit Ozen
fc23c1be74
Fix 1.0.0 changelog ( #4180 )
2020-10-15 20:36:54 +02:00
Akihiro Nitta
1adac8f5cf
Fix docs ( #4174 )
2020-10-15 20:25:55 +02:00
Jirka Borovec
8f2bba10e1
update chlog ( #4177 )
2020-10-15 11:42:10 -04:00
William Falcon
5c153c2244
Update __init__.py
2020-10-15 10:58:32 -04:00
Jirka Borovec
4204ef7b53
Bugfix/4156 filter hparams for yaml - fsspec ( #4158 )
...
* add test
* fix
* sleepy boy
* chlog
* Apply suggestions from code review
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2020-10-15 16:53:42 +02:00
William Falcon
72f19768c8
remove duplicate metric vs step log for train loop ( #4173 )
...
* remove duplicate metric vs step log
* remove duplicate metric vs step log
* remove duplicate metric vs step log
* fix ddp index issue
2020-10-15 10:47:00 -04:00
Jirka Borovec
f976e85d3e
fix jit for PT1.7 ( #4172 )
2020-10-15 09:43:06 -04:00
William Falcon
45d05ff68d
Fixes #4141 ( #4169 )
...
* fix val epoch agg
* fix val agg metrics
* fix val agg metrics
* fix val agg metrics
2020-10-15 09:12:05 -04:00
Jirka Borovec
f064682786
save initial arguments ( #4163 )
...
* save initial arguments
* typing
* chlog
* .
2020-10-15 08:30:49 -04:00
Jirka Borovec
4290c9e1e8
Tests: clean metrics ( #4152 )
...
* namme inputs
* sk rename
* imports
2020-10-15 07:50:08 +02:00
Rohit Gupta
dec31b3e76
Call on_load_checkpoint before loading state_dict ( #4057 )
2020-10-14 23:26:04 +02:00
Jirka Borovec
f967fbba43
docs: fix fomatting
2020-10-15 00:21:31 +05:30
Nicki Skafte
edcb6e49b9
Speedup of metric tests ( #4122 )
...
* speedup
* something working
* update the rest
* more desc
* recurse tests/metrics again
* pep8
Co-authored-by: Teddy Koker <teddy.koker@gmail.com>
2020-10-14 13:51:58 -04:00
Nrupatunga
d7f567126b
[Doc] Lightning Module ( #4123 )
...
* make current_epoch and global_step to be same as trainer, after model restore.
* remove assignment here
* test
* minor modification
* merge with parent's master
* doc fix / improve
* doc fix!
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-14 19:43:58 +02:00
Paul
051d9b1d94
Add trainer flag step [ci skip] ( #4147 )
...
* Add trainer flag step
Add step to disable automatic optimization in the trainer
@justusschock
* Apply suggestions from code review
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
2020-10-14 19:14:40 +02:00
Jirka Borovec
2232d37225
new log section [skip ci] ( #4121 )
...
* new logs
* formatting
* 1.0.1
2020-10-14 19:13:37 +02:00
Jirka Borovec
2c3b512c50
reverted "temporary drop metrics tests while speeding them up" and SKIP ( #4115 )
...
* Revert "temporary drop metrics tests while speeding them up (#4071 )"
This reverts commit 86c70622fb
.
* skip metrics tests
* skipping
2020-10-14 19:01:43 +02:00
Stef | ステフ
fa737a5eb9
Add trace functionality to the function to_torchscript ( #4142 )
...
* Add trace functionality to the function to_torchscript
* used wrong parameter name in test
* fix indentation to confirm to code style
2020-10-14 09:20:52 -04:00
William Falcon
0474464c45
Update README.md
2020-10-13 21:13:45 -04:00
William Falcon
bbbc111d52
Update __init__.py
2020-10-13 20:46:10 -04:00
Sean Naren
98eb736496
Added getstate/setstate method for torch.save serialization ( #4127 )
...
* Added getstate/setstate method for torch.save serialization, added additional Optional Typing to results object
* Added tests to ensure torch.save does not fail
* Added flags to ensure compatible ddp cpu environment
* Removed torch version check due to minimum already being 1.3, reduced epochs for speed
* Moved tests to separate file
* Update to accelerator, move to ddp_spawn to prevent hanging ddp
2020-10-13 16:47:23 -04:00
Neven Miculinic
01402e3594
created minor doc fixes [ci skip] ( #3958 )
...
* created minor fixes
* adjusted the underline
* Update docs/source/amp.rst
* suggestion from code review
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-10-13 15:52:32 +02:00
William Falcon
19a9978702
Update README.md
2020-10-13 08:21:27 -04:00
William Falcon
09c2020a93
notices ( #4118 )
2020-10-13 07:18:07 -04:00
Jirka Borovec
19df091a3b
chlogs for 1.0 [skip ci] ( #3978 )
...
* chlogs
* logs
* space
* date
* logs
* logs
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* logs
* logs
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-13 06:52:11 -04:00
William Falcon
4ea31c2300
Update __init__.py
2020-10-13 06:51:33 -04:00
William Falcon
85f1000ef0
Update README.md
2020-10-13 06:50:23 -04:00
William Falcon
710604838b
Fixes broken LM links ( #4117 )
2020-10-13 06:42:33 -04:00
William Falcon
2d5a7f5e7d
Fixes #3276 ( #4116 )
2020-10-13 06:42:11 -04:00
Carlos Mocholí
eef1b5dbc8
Mention skipping steps in docs ( #4108 )
...
* Mention skipping in docs
* Use :class:
2020-10-13 05:52:04 -04:00
William Falcon
60bf48d3e0
Update callbacks.rst
2020-10-12 20:22:28 -04:00
William Falcon
3f0873b985
docs
2020-10-12 18:30:57 -04:00
William Falcon
9af0b0bdc8
docs ( #4107 )
2020-10-12 18:13:58 -04:00