-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Importing sky
and sky.status(refresh=True)
takes about 65MB / 200MB memory
#4334
Comments
sky
takes about 65 MB memorysky
and sky.status(refresh=True)
takes about 65MB / 200MB memory
FWIW, I got slightly less drastic results on my mac:
Trying to gauge the headroom for improvement, I tried replacing
|
It might relates to how many clusters we have in the status table and which clouds are those clusters from; more clouds means more catalog to be loaded in memory |
If the catalog is actually a main cause of the memory consumption, we can make it a daemon service running in background and let the other skypilot process communicate with it using RESTful API or grpc. ; ) |
This affects both the unmanaged jobs on clusters and the managed jobs (each controller process has a ray driver, which consumes a lot of memory). It is also part of the reason why SkyPilot cannot run a large number of parallel-managed jobs.
To reproduce:
The text was updated successfully, but these errors were encountered: