Skip to content
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

Readme cleanup, docs URL and CONTRIBUTING.md #1010

Merged
merged 14 commits into from
Jul 29, 2022
Merged

Readme cleanup, docs URL and CONTRIBUTING.md #1010

merged 14 commits into from
Jul 29, 2022

Conversation

romilbhardwaj
Copy link
Collaborator

@romilbhardwaj romilbhardwaj commented Jul 27, 2022

Cleaning up README.md for open source release and added and CONTRIBUTING.md.

  1. Updated all URLs to point to https://skypilot.readthedocs.io/
  2. Readme now includes an example YAML. Will add a terminal demo later. Needs more work, but this will do for now.

TODO:

  • Fix the huge SVG animation to be a gif instead Do in next PR
  • Add SVG/asciinema cast file to repo? Do in next PR
  • Change logo to the one chosen through voting

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for moving the readme and adding the figures @romilbhardwaj ! It looks good to me.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
* Examples
* Documentation
* Tutorials, blog posts and talks on SkyPilot

Copy link
Collaborator

@michaelzhiluo michaelzhiluo Jul 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add: Please read through this document before contributing so that there is all the necessary information needed for us to effectively respond to your contribution.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - makes the flow better. Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence unfortunately reads a bit too direct to me. I'd love to not include it. It is implied anyway.

* Documentation
* Tutorials, blog posts and talks on SkyPilot

## Contributing Code
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bit of confusion between the bullet points mentioned in Contributing to SkyPilot and the bullet points below. I thought the doc would be structured as:

  • Contributing Bug Reports
  • Contributing Pull Requests
  • Contributing Test cases
  • etc

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thinking maybe change the intro section to match the logical structure below.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
- `export SKYPILOT_MINIMIZE_LOGGING=1` to minimize the logging for demo purpose.

### Testing
To run smoke tests:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there is extra work needed to install Testing dependencies. Good to add that too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, those should be covered in pip install -r requirements-dev.txt above.. are there any other dependencies?

bash tests/run_smoke_tests.sh test_minimal
```

For profiling code, use:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe delete. First time I have seen this profiling text on a Contribution md file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's generally useful to have these snippets here and the contributing guide can be verbose in the interest of completeness. Also okay to remove if you feel strongly otherwise

CONTRIBUTING.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@romilbhardwaj romilbhardwaj changed the title Readme cleanup and CONTRIBUTING.md Readme cleanup, docs URL and CONTRIBUTING.md Jul 28, 2022
Copy link
Member

@concretevitamin concretevitamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @romilbhardwaj! Minor comments; otherwise mostly LGTM.

CONTRIBUTING.md Outdated Show resolved Hide resolved
* Examples
* Documentation
* Tutorials, blog posts and talks on SkyPilot

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence unfortunately reads a bit too direct to me. I'd love to not include it. It is implied anyway.

CONTRIBUTING.md Outdated
```
IMPORTANT: Please `export SKYPILOT_DEV=1` before running the CLI commands in the terminal, so that developers' usage logs do not pollute the actual user logs.

### Environment variables for developers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposal: how about we move this to the end of this doc? It's more important to read about things like Testing, style guide, etc.

Section order that feels more natural to me (from here on):

  • Submitting pull requests
  • Testing
  • Some general engineering practice suggestions
  • Environment variables for developers

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! I do want to keep testing before submitting pull requests, so the order now is:

  • Installing
  • Testing
  • Submitting pull requests
  • Some general engineering practice suggestions
  • Environment variables for developers

README.md Outdated
@@ -1,117 +1,69 @@
# SkyPilot

![logo](docs/source/images/SkyPilot-logo-wide.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use some markdown magic to limit the width? Currently it feels too wide compared to size of the text. E.g., https://github.com/ray-project/ray/

Copy link
Collaborator Author

@romilbhardwaj romilbhardwaj Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Set to 80% width

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@Michaelvll Michaelvll mentioned this pull request Jul 29, 2022
1 task
Copy link
Member

@concretevitamin concretevitamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md Outdated

![pytest](https://github.com/skypilot-org/skypilot/actions/workflows/pytest.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/skypilot/badge/?version=latest)](https://skypilot.readthedocs.io/en/latest/?badge=latest)

SkyPilot is a framework to run any workload seamlessly across different cloud providers through a unified interface. No knowledge of cloud offerings is required or expected – you simply define the workload and its resource requirements, and SkyPilot will automatically execute it on AWS, Google Cloud Platform or Microsoft Azure.
SkyPilot is a framework to run machine learning[^1] workloads seamlessly across different cloud providers through a unified interface. No knowledge of cloud offerings is required or expected – you simply define the workload and its resource requirements, and SkyPilot will automatically execute it on AWS, Google Cloud Platform or Microsoft Azure.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this first line to match our docs

SkyPilot is a framework for easily running machine learning projects on any cloud through a unified interface.

(with the footnote added)? A few words shorter. "workloads" vs "projects": either sounds good to me.

@romilbhardwaj romilbhardwaj merged commit 70021d4 into master Jul 29, 2022
@romilbhardwaj romilbhardwaj deleted the readme_oss branch July 29, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants