Comments (1)
User using managed spot job asked:
I want to sync up my .git folder too to workdir, how I can do so? is there a way to include it? would a symlink work (then renaming it in setup section) or is there a cleaner way to do it
Currently in
storage.py
(bucket mounts) we ignore.git
. (cc @Michaelvll @romilbhardwaj do you remember why we did it this way?)Here's a workaround:
# Usage: # sky spot launch sky.yaml workdir: . file_mounts: ~/sky_workdir/.git: .git run: | set -ex ls -lthra .git git log git show
This was likely because .git
folder can easily have many small files, and can take a long time uploading the cloud bucket (object store is not very friendly with small files). Since most cloud bucket API does not support the rsync alike way to exclude folders in .gitignore
style argument, we removed it from our upload list.
This seems related to #3188, with which we can tar the folders to be uploaded to reduce the overhead for uploading small files.
from skypilot.
Related Issues (20)
- [cudo] Unable to setup credentials on cudo HOT 1
- [Forward compat] Clearly surface `older client -> newer cluster` error
- [Spot/UX] Make spot job name part of `SKYPILOT_TASK_ID`
- [UX/GCP] Explicit error when GCP reauth is set HOT 2
- [Doc] Reorganize multiple candidate resources page
- [AWS] Bucket on eu-south-1 fail to copy/mount
- Spot Training Controller Failed - vicuna-llama-2 HOT 5
- Cloud 'lambda_cloud' is not a valid cloud HOT 1
- [k8s] Investigate and document `podPidsLimit` kubelet arg
- [Observability] Expose new env vars for: cloud, region, cluster name
- [GCP] Add support for the Dynamic Workload Scheduler (GCE) HOT 1
- [Paperspace] Bug in stopping instance
- [Observability] Expose Prometheus Metrics (Spot Controller) HOT 1
- [Examples] TPU example fail `examples/tpu/tpuvm_mnist.yaml`
- Subprocess call hangs indefinitely in execution.py HOT 2
- [core] Make schemas more visible HOT 1
- [k8s] Log SkyPilot output to container stdout HOT 1
- [k8s] Run GPU labeller automatically on new nodes added to cluster
- [Example] Choose specific VM to run tasks HOT 7
- [Bug][UX] Meaning of `DEVICE_MEM` for multi-GPU instance type is not aligned in `sky show-gpus` HOT 1
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 skypilot.