mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
28 lines
577 B
Markdown
28 lines
577 B
Markdown
![]() |
# Ray Streaming
|
||
|
|
||
|
1. Build streaming java
|
||
|
* build ray
|
||
|
* `sh build.sh -l java`
|
||
|
* `cd java && mvn clean install -Dmaven.test.skip=true`
|
||
|
* build streaming
|
||
|
* `cd ray/streaming/java && bazel build all_modules`
|
||
|
* `mvn clean install -Dmaven.test.skip=true`
|
||
|
|
||
|
2. Build ray will build ray streaming python.
|
||
|
|
||
|
3. Run examples
|
||
|
```bash
|
||
|
# c++ test
|
||
|
cd streaming/ && bazel test ...
|
||
|
sh src/test/run_streaming_queue_test.sh
|
||
|
cd ..
|
||
|
|
||
|
# python test
|
||
|
cd python/ray/streaming/
|
||
|
pushd examples
|
||
|
python simple.py --input-file toy.txt
|
||
|
popd
|
||
|
pushd tests
|
||
|
pytest .
|
||
|
popd
|
||
|
```
|