Comments (7)
from ray.
@xwu99 I tried it on latest master and this is what I got
Can you try with latest Ray 2.10.0 or nightly and see if you are still still this behavior?
from ray.
from ray.
I tried on another server and also run it as baremetal and inside a container, it still has the issue. already using latest Ray 2.10.
Dockerfile:
# Use an official Python runtime as a parent image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Install Ray and any other dependencies
RUN pip install ray[serve]
# Copy your application code into the container
COPY . /app
However, when I used my laptop's WSL environment, it worked without performance degradation:
Did you try it on a server or a desktop? Could you share your configs?
from ray.
Hi @xwu99 The original screenshot provided was from my local. I just built the image with the exact dockerfile you shared and this is the results
Seems to be consistent within some margin of error. I feel maybe there are something special in your hardware that's slowing down the computation? It also seemed to take a lot more time to even start up (~18s) in your vs even in the container I'm seeing ~5s start up time?
from ray.
Hi @xwu99 The original screenshot provided was from my local. I just built the image with the exact dockerfile you shared and this is the results Seems to be consistent within some margin of error. I feel maybe there are something special in your hardware that's slowing down the computation? It also seemed to take a lot more time to even start up (~18s) in your vs even in the container I'm seeing ~5s start up time?
Thanks for the update. the 18s comes from I changed the calculation range from this result.
for i in range(1, 200000000):
result = i**0.5
After changed back to 100000000, it's 5.856838226318359. I used htop to confirm there is no active processing in the background. But it's still weird to see the perf differences inside Ray deployment.
Could you share your CPU type and freq for your 5 sec result?
I would like to use an AWS instance to try this again.
from ray.
@GeneDer another round of testing. I found when Ray is running in the background. The standalone python script also slowed down.
Also if I disabled dashboard using ray start --head --include-dashboard False
, the performance is back to normal. But I can't imagine why background dashboard can impact another script's performance.
from ray.
Related Issues (20)
- [Ray Serve] Enhance and bug fix to experimental multi application in docker container guide
- Workflow: Reading workflow status can lead to corrupted json reads. HOT 1
- [Dashboard] Empty job task beakdown if the job task count > 10000 HOT 2
- ray.serve.batch return type problems with pylance and mypy HOT 2
- [Ray component: Train] Ray can integrate with Lightning or XLA, but not both HOT 3
- [Core/Data] Remote collate_fn in iter_batches
- [Dashboard | Core] Some Ray subprocesses exited unexpectedly: dashboard [exit code=-11] HOT 7
- [Data] Cache transformations without pre-materializing
- [core] GcsSubscriber hangs in shutdown if the connection broke on MacOS HOT 1
- Ray 2.12.0 not available for aarch64 HOT 6
- Release test single_node_oom.aws failed HOT 3
- [RLlib] ValueError in initialization of ImpalaTF2Policy HOT 3
- [Core | Ray on Spark] Allow cluster_mode='yarn' for Ray on Spark HOT 1
- [Core] Raylet may crash when the job exits HOT 3
- CI test windows://python/ray/tests:test_network_failure_e2e is consistently_failing HOT 2
- [Ray Serve] Running experimental multiple application in different containers on EKS HOT 3
- [core][accelerated DAGs] Assertion check fails when driver exits during teardown
- Serve: Add support for Podman 5.x for multi-container applications
- [Core] shall we document `__ray_call__` as a public API? HOT 2
- Serialization Issue HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ray.