-
Notifications
You must be signed in to change notification settings - Fork 7k
[core] Add .rayignore #58500
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
Merged
Merged
[core] Add .rayignore #58500
Changes from 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0299a04
[core] Add .rayignore
iamjustinhsu 25a305c
docstring + remove logging
iamjustinhsu f3dea2a
push include_gitignore flag up callstack
iamjustinhsu 06bd459
cursor
iamjustinhsu 1b18ff7
one more
iamjustinhsu a6079f4
add missing include_gitignore
iamjustinhsu 1830110
Merge branch 'master' of https://github.com/ray-project/ray into jhsu…
iamjustinhsu 8b1e060
update docstring
iamjustinhsu 68e2511
fix test
iamjustinhsu 4d525ab
fix test
iamjustinhsu 8d6a2d3
fix tests again :(
iamjustinhsu 2e9189a
cursor
iamjustinhsu 101443b
tenses + active
iamjustinhsu 71aab0d
Merge branch 'master' of https://github.com/ray-project/ray into jhsu…
iamjustinhsu 9a8f5a2
Merge branch 'master' of https://github.com/ray-project/ray into jhsu…
iamjustinhsu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -505,7 +505,7 @@ The ``runtime_env`` is a Python dictionary or a Python class :class:`ray.runtime | |
|
|
||
| Note: Setting a local directory per-task or per-actor is currently unsupported; it can only be set per-job (i.e., in ``ray.init()``). | ||
|
|
||
| Note: If the local directory contains a ``.gitignore`` file, the files and paths specified there are not uploaded to the cluster. You can disable this by setting the environment variable `RAY_RUNTIME_ENV_IGNORE_GITIGNORE=1` on the machine doing the uploading. | ||
| Note: By default, if the local directory contains a ``.gitignore`` and/or ``.rayignore`` file, the files and paths specified in both will not be uploaded to the cluster. To disable the ``.gitignore`` from being considered, set ``RAY_RUNTIME_ENV_IGNORE_GITIGNORE=1`` on the machine doing the uploading. | ||
|
|
||
| Note: If the local directory contains symbolic links, Ray follows the links and the files they point to are uploaded to the cluster. | ||
|
|
||
|
|
@@ -532,7 +532,8 @@ The ``runtime_env`` is a Python dictionary or a Python class :class:`ray.runtime | |
|
|
||
| Note: Setting options (1), (3) and (4) per-task or per-actor is currently unsupported, it can only be set per-job (i.e., in ``ray.init()``). | ||
|
|
||
| Note: For option (1), if the local directory contains a ``.gitignore`` file, the files and paths specified there are not uploaded to the cluster. You can disable this by setting the environment variable `RAY_RUNTIME_ENV_IGNORE_GITIGNORE=1` on the machine doing the uploading. | ||
| Note: For option (1), by default, if the local directory contains a ``.gitignore`` and/or ``.rayignore`` file, the files and paths specified in both will not be uploaded to the cluster. To disable the ``.gitignore`` from being considered, set ``RAY_RUNTIME_ENV_IGNORE_GITIGNORE=1`` on the machine doing the uploading. | ||
|
|
||
|
||
|
|
||
| - ``py_executable`` (str): Specifies the executable used for running the Ray workers. It can include arguments as well. The executable can be | ||
| located in the `working_dir`. This runtime environment is useful to run workers in a custom debugger or profiler as well as to run workers | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: In accordance with technical writing style guide:
Not sure if "Ray" is the right subject in "Ray doesn't upload". Might need to check me on that.