| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Before development, install all the required dependencies by pip install -r requirements.txt
And get the PPML Jar ready, cd BigDL/scala && ./make-dist -P spark_3.x, once finished, copy the jar by cp BigDL/scala/ppml/target/bigdl-ppml-*-jar-with-dependencies.jar BigDL/dist/lib/
In terminal, run source prepare_env.sh, you can see some environment variables printed. These are the environment variables used in developments.
In different IDE, you may need to copy these variables to some config file.
In terminal run
bash test/run-pytestsIf all the tests pass, your development environment is ready.
The protobuf source is in scala/ppml/src/main/proto. If you want to add or modify protobuf functions, first modify protobuf source file.
Then run bash generate-protobuf.sh, the generated Python protobuf files will be in py_proto, copy them to some directory in src and add the directory to PYTHONPATH in prepare_env.sh.
You can consider src/bigdl/ppml/fl/nn/generated as an example.
| Back | FazBrowse Home | New Git URL |