Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
liuzhe-lz 6b91e6cdf2
fix install script (#4690) 2022-03-24 12:00:53 +08:00
liuzhe-lz 01e9a28fad
Doc for installation (#4630) 2022-03-19 16:47:40 +08:00
liuzhe-lz d1c6bbae60
HPO PyTorch Tutorial (#4653) 2022-03-18 17:43:50 +08:00
liuzhe-lz c56568c973
Bump Python version to 3.7~3.9 (#4475) 2022-01-21 18:39:38 +08:00
Johnsonms c5c3db2510
jupyter_ext_dev: pull request for jupyter extension 2.x and 3.x recap #4141 (#4167) 2021-09-16 17:05:01 +08:00
liuzhe-lz a9ebcf4bd6
Update docs of building from source (#4004) 2021-08-03 22:22:16 +08:00
98may 580c59791a
DNGO tuner (#3479)
Co-authored-by: Yuge Zhang <Yuge.Zhang@microsoft.com>
2021-05-28 09:19:21 +08:00
Yuge Zhang 65a2ceb8c8
[CI] Fast-test cross-platform speedup (#3364) 2021-02-09 16:59:25 +08:00
Yuge Zhang f11aea0ddb
[CI] Introduce multi-stage pipeline for speedup (#3313)
* Refactor fast-test

* Fix yaml syntax error

* Fix syntax issues

* Update requirements

* Update requirements

* Fix pylint

* Fix pylint

* Fix pylint

* Cache pip packages for lint

* Add wheel as dependency

* Isolate setup dependencies

* Isolate docs pipeline

* Fix swig issue
2021-01-25 11:17:02 +08:00
liuzhe-lz 56d8512ec4
Update dependencies (#3288) 2021-01-13 13:27:43 +08:00
J-shang 15da19d375
update statsmodels to 0.12 (#3239) 2020-12-30 16:27:21 +08:00
liuzhe-lz 9f9aa43e6d
Fix releasing (#3216) 2020-12-25 17:51:35 +08:00
liuzhe-lz e020814574
Fix bugs found in integration test (#3214) 2020-12-21 11:32:41 +08:00
chicm-ms 0d3f13a3e2
Refactor builtin/customized tuner installation (#3134) 2020-12-12 01:53:48 +08:00
liuzhe-lz 9710f170a1
Hotfix UT pipeline (#3180) 2020-12-11 18:07:12 +08:00
liuzhe-lz 765206cbd7
Create experiment from Python code (#3111) 2020-12-09 11:18:29 +08:00
liuzhe-lz 622e3331c9
improve setup.py (#3164)
Co-authored-by: liuzhe <zhe.liu@microsoft.com>
2020-12-09 07:18:52 +08:00
liuzhe-lz 580ce0a330
Integration test (#3088) 2020-12-05 15:54:12 +08:00
Yuge Zhang e12f6113a9
Fix numpy version for Python 3.6 (#3156)
* Fix numpy version for Python 3.6

* Limit version on Windows to <1.19.4
2020-12-05 15:51:49 +08:00
J-shang 95f731e481
experiment management backend (#3081)
* step 1 nnictl generate experimentId & merge folder

* step 2.1 modify .experiment structure

* step 2.2 add lock for .experiment rw in nnictl

* step 2.2 add filelock dependence

* step 2.2 remove uniqueString from main.js

* fix test bug

* fix test bug

* setp 3.1 add experiment manager

* step 3.2 add getExperimentsInfo

* fix eslint

* add a simple file lock to support stale

* step 3.3 add test

* divide abs experiment manager from manager

* experiment manager refactor

* support .experiment sync update status

* nnictl no longer uses rest api to update status or endtime

* nnictl no longer uses rest api to update status or endtime

* fix eslint

* support .experiment sync update endtime

* fix test

* fix settimeout bug

* fix test

* adjust experiment endTime

* separate simple file lock class

* modify name

* add 'id' in .experiment

* update rest api format

* fix eslint

* fix issue in comments

* fix rest api format

* add indent in json in experiments manager

* fix unittest

* fix unittest

* refector file lock

* fix eslint

* remove '__enter__' in filelock

* filelock support never expire

Co-authored-by: Ning Shang <nishang@microsoft.com>
2020-11-30 17:31:22 +08:00
colorjam b6233e524b
Refactor flops counter (#3048) 2020-11-23 10:21:13 +08:00
liuzhe-lz 16dc45b14f
Fix installation in conda (#3063)
* fix install in conda

* copy node.js permission mode

* bugfix
2020-11-05 14:56:45 +08:00
liuzhe-lz bc0f8f338b
Refactor code hierarchy part 3: Unit test (#3037) 2020-10-30 12:39:34 +08:00
liuzhe-lz e21a6984cc
[v2.0] Refactor code hierarchy (part 2) (#2987) 2020-10-26 23:21:59 +08:00
liuzhe-lz f98ee6721a
[v2.0] Refactor code hierarchy (part 1) (#2962) 2020-10-20 06:57:09 +08:00
SparkSnail 5d7c1cd87d
Add nnictl ut (#2912) 2020-09-28 10:40:52 +08:00
chicm-ms 07cb73b190
Update python version requirements to 3.6 (#2790) 2020-08-13 19:13:57 +08:00
lin bin bcefce6a81
Add supporting sklearn=0.23.2 for nni (#2777) 2020-08-12 10:53:01 +08:00
Chi Song 0b9d6ce6d1
Reuse OpenPAI jobs to run multiple trials (#2521)
Designed new interface to support reusable training service, currently only applies to OpenPAI, and default disabled.

Replace trial_keeper.py to trial_runner.py, trial_runner holds an environment, and receives commands from nni manager to run or stop an trial, and return events to nni manager.
Add trial dispatcher, which inherits from original trianing service interface. It uses to share as many as possible code of all training service, and isolate with training services.
Add EnvironmentService interface to manage environment, including start/stop an environment, refresh status of environments.
Add command channel on both nni manager and trial runner parts, it supports different ways to pass messages between them. Current supported channels are file, web sockets. and supported commands from nni manager are start, kill trial, send new parameters; from runner are initialized(support some channel doesn't know which runner connected), trial end, stdout ((new type), including metric like before), version check (new type), gpu info (new type).
Add storage service to wrapper a storage to standard file operations, like NFS, azure storage and so on.
Partial support run multiple trials in parallel on runner side, but not supported by trial dispatcher side.
Other minor changes,

Add log_level to TS UT, so that UT can show debug level log.
Expose platform to start info.
Add RouterTrainingService to keep origianl OpenPAI training service, and support dynamic IOC binding.
Add more GPU info for future usage, including GPU mem total/free/used, gpu type.
Make some license information consistence.
Fix async/await problems on Array.forEach, this method doesn't support async actually.
Fix IT errors on download data, which causes by my #2484 .
Accelerate some run loop pattern by reducing sleep seconds.
2020-06-30 12:54:35 +08:00
chicm-ms a576401673
Install builtin tuners (#2439) 2020-06-23 13:27:41 +08:00
SparkSnail 76586fcaf3
Check eth0 in nnictl (#2566) 2020-06-22 10:28:44 +08:00
chicm-ms 665790fc48 Update sklearn version (#1837)
* update sklearn version

* updates
2019-12-11 10:14:56 +08:00
chicm-ms 06b96d6087 Fix sklearn version (#1822)
* update sklean version

* updates

* updates

* updates
2019-12-05 13:22:47 +08:00
liuzhe-lz 587dd3af02
Update license header (#1757) 2019-11-25 15:02:23 +08:00
Yuge Zhang 1d960d45ad fix hyperopt version (#1625) 2019-10-18 17:48:50 +08:00
chicm-ms c181116276
Python wrapper for rest api (#1318) 2019-07-31 18:27:45 +08:00
SparkSnail ce2d8d9c1a Add sklearn installation in setup.py (#1157)
* fix remote bug

* add document

* add document

* update

* update

* update

* update

* fix remote issue

* fix forEach

* update doc according to comments

* update

* update

* update

* remove 'any more'

* add sklearn in setup.py

* remove sklearn in doc for MetisTuner
2019-06-05 12:44:44 +08:00
demianzhang cfda0dae8c NNI on Windows for NNI Local mode (#937) 2019-04-22 10:18:25 +08:00
SparkSnail d779dc9794
Refactor nnictl, show error message gracefully (#986)
Advisor and assessor could not be used simultaneously.
Refactor config file error message.
Support scientific notation, like 1e-2
2019-04-19 14:15:25 +08:00
Yan Ni 1362de020f fix dev-csv (#966)
add trial id to csv and remove pandas
2019-04-10 09:01:51 +08:00
Yan Ni 3beaa3fd8f
export trial status to csv (#905)
* export to csv core code done

* add nnictl trail export

* fix bug

* add dependency for pandas

* remove pandas from dependency

* add multi phase support

* add document
2019-04-09 12:19:46 +08:00
Zejun Lin f370e17189 Fix installation (#864)
* fix installation
2019-03-18 17:59:30 +08:00
SparkSnail 8f71e99f86
Update makefile (#831)
In current version of makefile, if user use make dev-install, they will install two packages "nni-sdk" and "nnictl" in their environment.
Now merge the two package to be one package "nni".
2019-03-12 16:09:16 +08:00
SparkSnail 8c4c0ef241
Support webhdfs path in python hdfs client (#722)
trial_keeper use 50070 port to connect to webhdfs server, and PAI use a mapping method to map 50070 port to 5070 port to visit restful server, this method has some risk for PAI may not support this kind of mapping in later release.Now use Pylon path(/webhdfs/api/v1) instead of 50070 port in webhdfs client of trial_keeper, the path is transmitted in trainingService.
In this pr, we have these changes:

1. Change to use webhdfs path instead of 50070 port in hdfs client.
2. Change to use new hdfs package "PythonWebHDFS", which is build to support pylon by myself. You could test the new function from "sparksnail/nni:dev-pai" image to test pai trainingService.
3. Update some variables' name according to comments.
2019-02-25 14:48:17 +08:00
SparkSnail 85d936d1ef
Fix pypi package (#727)
* add nni_gpu_tool in setup.py
* add exclude=['test'] in setup.py
2019-02-14 15:30:50 +08:00
goooxu b554fe80b4 Add yarn tslint command (#518) 2018-12-26 10:55:23 +08:00
Gems Guo 9210fd6b61 Integrate version number of NNI 2018-12-17 19:52:18 +08:00
fishyds 8f06383f2a NNI V0.4 Release: Update version from v0.3.4 to v0.4 (#446)
* Change version number from v0.3.4 to v0.4, for NNI v0.4 release
2018-12-05 18:03:20 +08:00
goooxu 53ed465a56 Update version number since v0.3.4 has been released (#342) 2018-11-09 10:08:08 +08:00
chicm-ms 370feb7fab
Merge v0.3 into master (#337)
* Fix pypi package missing python module

* Fix pypi package missing python module

* fix bug in smartparam example (#322)

* Fix nnictl update trialnum and document (#326)

1.Fix restful server of update
2.Update nnictl document of update
3.Add tensorboard in docement

* Update the version numbers from 0.3.2 to 0.3.3
2018-11-07 15:43:24 +08:00