-
Notifications
You must be signed in to change notification settings - Fork 589
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
Spot launch doesn't respect .gitignore
#1898
Comments
Thanks for reporting the issue @keirp! This has been an issue for a while. The inconsistency comes from the cloud bucket’s rsync interface misalign with the system’s rsync. As we are using cloud bucket as the backend for the files uploading to the spot job, instead of using the system’s rsync for normal jobs, the problem occurs. cc @romilb, maybe we can manually list all the files to be uploaded using rsync’s —dryrun and call the cloud bucket cli with a list of files?
…________________________________
From: keirp ***@***.***>
Sent: Tuesday, April 25, 2023 1:00:17 PM
To: skypilot-org/skypilot ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [skypilot-org/skypilot] Spot launch doesn't respect `.gitignore` (Issue #1898)
When launching an instance with sky launch, files included in the my .gitignore file are ignored during the rsync. However, when I launch a job with sky spot launch, it seems as though the files are included. Is this intended behavior?
—
Reply to this email directly, view it on GitHub<#1898>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABTQXJM3B7EHZDFZWHX7BHTXDAUNDANCNFSM6AAAAAAXLPCJG4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Another idea is to read |
Hit this myself. Current workdir has a bunch of "results" non-code files that should not be uploaded. Now every |
I'll take on this one. |
@concretevitamin Would you mind elaborating on what you meant by 'bunch of "results" non-code files'? I haven't encountered anything odd that got uploaded to the spot instance while running |
I think he was just providing an example - he has a some non-code files and dirs (e.g., experiment results) that are large and included in his gitignore, but they still get uploaded when running |
When launching an instance with
sky launch
, files included in the my.gitignore
file are ignored during the rsync. However, when I launch a job withsky spot launch
, it seems as though the files are included. Is this intended behavior?The text was updated successfully, but these errors were encountered: