Comments (8)
Cc @@concretevitamin @Michaelvll, this looks like it might be an issue in the SkyPilot launch flow on Azure, any ideas?
from runhouse.
It may be related to Windows paths. Not sure if we tested Windows. Cc @romilbhardwaj
from runhouse.
We haven't tested running natively on Windows. However, I can confirm that SkyPilot works in a python environment inside Windows Subsystem for Linux (WSL). Perhaps windows users can use WSL as a workaround?
from runhouse.
@romilbhardwaj I did some more looking into the code and found that one of the issues appears to be from the temp yml file being generated that specifies the properties of the machine.
file_mounts: {
"~/.sky/sky_ray.yml": "C:\Users\stollbak\.sky\generated\test.yml.tmp",
"~/.sky/wheels/5f10c8a76630d0f617f0312055a347bf": "C:\Users\stollbak\AppData\Local\Temp\5f10c8a76630d0f617f0312055a347bf",
"~/.azure/azureProfile.json": "~/.azure/azureProfile.json",
"~/.azure/clouds.config": "~/.azure/clouds.config",
"~/.azure/config": "~/.azure/config",
"~/.azure/msal_token_cache.json": "~/.azure/msal_token_cache.json",
}
Looks like backslashes are creating issues since they are being treated as escape characters. Where is this file being generated in the library? I can take a look and see about a fix.
from runhouse.
Hi @BStoller, the tmp yml file is generated here.
This method fills in a template YAML. The offending paths in your example above are called sky_ray_yaml_local_path
and sky_local_path
in our template.
-
To fix
sky_ray_yaml_local_path
(i.e.,C:\Users\stollbak\.sky\generated\test.yml.tmp
in your example), you may want to modify_get_yaml_path_from_cluster_name
here. -
To fix
sky_ray_yaml_local_path
(i.e.,C:\Users\stollbak\AppData\Local\Temp\5f10c8a76630d0f617f0312055a347bf
in your example), you may want to modify thetemp_wheel_dir.absolute()
returned here.
We're very open to contributions and I look forward to your PR in the SkyPilot repo :)
from runhouse.
@BStoller , I'm happy to help write up a change if you'd test them on your windows box. I actually have a few other changes I was thinking to contribute up to SkyPilot shortly.
from runhouse.
@dongreenberg No problem, I can test the changes. Let me know if you need any more information.
from runhouse.
This is problem from os.devnull usage (in skypilot) in windows. Windows does not offer os.devnull at default, but WSL offers it. Thus the result is different.
import os
log_path = os.devnull
log_dir = os.path.expanduser(os.path.dirname(log_path))
This will result '' for some windows environment, but will work in linux or its subsystems.
It is headache for those windows systems- windows can't do that.
from runhouse.
Related Issues (20)
- [Doc] Issues with Inline Markup Rendering HOT 2
- How to use runhouse on my local server HOT 6
- I consistently see the user script hanging when copying a local package to the cluster.
- Need to support on HPU servers HOT 5
- Consistantly hit "http.client.BadStatusLine" issue in self-hosted tests. HOT 6
- Python 3.11 support
- Ease of porting an existing project to rh HOT 1
- Getting `ValueError: Error calling check on server: Internal Server Error` when checking server on an `aws` cluster HOT 13
- SSH ProxyCommand support HOT 10
- Need help with local gpu system HOT 7
- Consistently hit "BaseSSHTunnelForwarderError" HOT 2
- Hit "failed to rsync up" to test test_self_hosted_huggingface_instructor_embedding_documents() HOT 4
- Discord links in `README` are invalid HOT 2
- Uncaught error when bringing up on-demand GCP cluster with invalid `image_id`
- PX (P90) for inference Cold start HOT 1
- Secrets Management Overview + Tracker
- error when start with '--screen' option HOT 1
- How is this different then Modal? HOT 1
- Install fails with conda and python10 HOT 2
- Running into problems with runhouse in local mode - Very simple example HOT 5
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 runhouse.