File type.Create training task by compressing your entire folder as one single .zip file. The compressed file will be sent directly to local container(virtual environment) in Orion GPU computing node and unzipped for execution.
Programming language.The only programming language Orion GPU client miner will accept and execute is python3.6.
Executed file.Directory structure for packaging your scripts and data within your task folder(e.g. /mytask) could be flexible, however, only one python script will be executed in working node. This executed file, must be located directly under your workspace directory as /mytask/file_name.py.
Parameter configuration.It is mandatory for users to submit a params.json file, to specify your task configuration information to computing node. This json file must be located directly under your workspace directory as /mytask/params.json.
Users need to define four parameters in params.json file:
Path.When importing data or modules under workspace directory /mytask, relative path is accepted. Path pointing upwards beyond /mytask will not be recognized and will lead to task termination.
Module Requirements.Users will need to list all required third-party python packages in a requirements text file requirements.txt. Orion will pip install the listed libraries in your client computing machine container as your task-execution environment. With one line per library, list the package name and optionally the version for the package (defaults to latest, if version not defined):
numpy==1.14.5 pandas matplotlib>=3.0.0 scikit-learn==0.19.2 nltk==3.3
Suggested Task Directory.When importing data or modules under workspace directory /mytask, relative path is accepted. Path pointing upwards beyond /mytask will not be recognized and will lead to task termination.
{ "exec_file_name": "file_name.py", "data_uri": "http://dataURL/data.zip" , "data_path": "datadir", "output_path":"result" }