Release/1.2 (#198)
* update template to pytorch 1.10+ and lightning 1.5+ * add experiment mode to all experiment configs and implement special logging paths for experiment mode * add `MaxMetric` to model, for computation of best so far validation accuracy * add RichProgressBar to default callbacks * get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)` * add `self.save_hyperparameters()` to datamodule since lightinng now supports it * deprecate Apex support * deprecate bash script for conda setup * change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5 * specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5 * remove `configs/trainer/all_params.yaml` * make hyperparameter optimization compatible with lightning v1.5 * general documentation improvements
This commit is contained in:
1 parent
6159c413f2
commit
9468ef91c5
29 files changed
+278
-330
No files matched your search
@@ -12,7 +12,6 @@ Adapted from:
|
||||
"""
|
||||
|
||||
from tests.helpers.module_available import (
|
||||
_APEX_AVAILABLE,
|
||||
_DEEPSPEED_AVAILABLE,
|
||||
_FAIRSCALE_AVAILABLE,
|
||||
_IS_WINDOWS,
|
||||
@@ -40,7 +39,6 @@ class RunIf:
|
||||
min_torch: Optional[str] = None,
|
||||
max_torch: Optional[str] = None,
|
||||
min_python: Optional[str] = None,
|
||||
amp_apex: bool = False,
|
||||
skip_windows: bool = False,
|
||||
rpc: bool = False,
|
||||
fairscale: bool = False,
|
||||
@@ -53,7 +51,6 @@ class RunIf:
|
||||
min_torch: minimum pytorch version to run test
|
||||
max_torch: maximum pytorch version to run test
|
||||
min_python: minimum python version required to run test
|
||||
amp_apex: NVIDIA Apex is installed
|
||||
skip_windows: skip test for Windows platform
|
||||
rpc: requires Remote Procedure Call (RPC)
|
||||
fairscale: if `fairscale` module is required to run the test
|
||||
@@ -84,10 +81,6 @@ class RunIf:
|
||||
conditions.append(Version(py_version) < Version(min_python))
|
||||
reasons.append(f"python>={min_python}")
|
||||
|
||||
if amp_apex:
|
||||
conditions.append(not _APEX_AVAILABLE)
|
||||
reasons.append("NVIDIA Apex")
|
||||
|
||||
if skip_windows:
|
||||
conditions.append(_IS_WINDOWS)
|
||||
reasons.append("does not run on Windows")
|
||||
|
||||
Reference in new issue
Block a user