Once your customized algorithms is installed, you can use it in experiment configuration file the same way as other builtin tuners/assessors/advisors, for example:
Once your customized algorithms is installed, you can use it in experiment configuration file the same way as other builtin tuners/assessors/advisors, for example:
...
@@ -117,7 +121,7 @@ Once your customized algorithms is installed, you can use it in experiment confi
...
@@ -117,7 +121,7 @@ Once your customized algorithms is installed, you can use it in experiment confi
@@ -158,3 +162,61 @@ Run following command to uninstall an installed package:
...
@@ -158,3 +162,61 @@ Run following command to uninstall an installed package:
For example:
For example:
``nnictl algo unregister demotuner``
``nnictl algo unregister demotuner``
Porting customized algorithms from v1.x to v2.x
-----------------------------------------------
All that needs to be modified is to delete ``NNI Package :: tuner`` metadata in ``setup.py`` and add a meta file mentioned in `4. Prepare meta file`_. Then you can follow `Register customized algorithms as builtin tuners, assessors and advisors`_ to register your customized algorithms.
Example: Register a customized tuner as a builtin tuner