forked from rapidsai/cugraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized directory structure to match cuDf, added in files to matc…
…h cudf. Some files are left blank to be filled in later
- Loading branch information
Showing
50 changed files
with
145 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Ignore cmake builds from local machine that might have occured before attempting Docker build. Including these files will cause CMake cache conflict issues | ||
/cpp/build |
Empty file.
Empty file.
Empty file.
This file contains 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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Contributing to cuGraph | ||
|
||
If you are interested in contributing to cuGraph, your contributions will fall | ||
into three categories: | ||
1. You want to report a bug, feature request, or documentation issue | ||
- File an [issue](https://github.com/rapidsai/cugraph/issues/new/choose) | ||
describing what you encountered or what you want to see changed. | ||
- The RAPIDS team will evaluate the issues and triage them, scheduling | ||
them for a release. If you believe the issue needs priority attention | ||
comment on the issue to notify the team. | ||
2. You want to propose a new Feature and implement it | ||
- Post about your intended feature, and we shall discuss the design and | ||
implementation. | ||
- Once we agree that the plan looks good, go ahead and implement it, using | ||
the [code contributions](#code-contributions) guide below. | ||
3. You want to implement a feature or bug-fix for an outstanding issue | ||
- Follow the [code contributions](#code-contributions) guide below. | ||
- If you need more context on a particular issue, please ask and we shall | ||
provide. | ||
|
||
## Code contributions | ||
|
||
### Your first issue | ||
|
||
1. Read the project's [README.md](https://github.com/rapidsai/cudf/blob/master/README.md) | ||
to learn how to setup the development environment | ||
2. Find an issue to work on. The best way is to look for the [good first issue](https://github.com/rapidsai/cugraph/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) | ||
or [help wanted](https://github.com/rapidsai/cugraph/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) labels | ||
3. Comment on the issue saying you are going to work on it | ||
4. Code! Make sure to update unit tests! | ||
5. When done, [create your pull request](https://github.com/rapidsai/cugraph/compare) | ||
6. Verify that CI passes all [status checks](https://help.github.com/articles/about-status-checks/). Fix if needed | ||
7. Wait for other developers to review your code and update code as needed | ||
8. Once reviewed and approved, a RAPIDS developer will merge your pull request | ||
|
||
Remember, if you are unsure about anything, don't hesitate to comment on issues | ||
and ask for clarifications! | ||
|
||
### Seasoned developers | ||
|
||
Once you have gotten your feet wet and are more comfortable with the code, you | ||
can look at the prioritized issues of our next release in our [project boards](https://github.com/rapidsai/cudf/projects). | ||
|
||
> **Pro Tip:** Always look at the release board with the highest number for | ||
issues to work on. This is where RAPIDS developers also focus their efforts. | ||
|
||
Look at the unassigned issues, and find an issue you are comfortable with | ||
contributing to. Start with _Step 3_ from above, commenting on the issue to let | ||
others know you are working on it. If you have any questions related to the | ||
implementation of the issue, ask them in the issue instead of the PR. | ||
|
||
## Attribution | ||
Portions adopted from https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md |
Empty file.
This file contains 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
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#!/usr/bin/env bash | ||
# Reports relevant environment information useful for diagnosing and | ||
# debugging cuGraph issues. | ||
# Usage: | ||
# "./print_env.sh" - prints to stdout | ||
# "./print_env.sh > env.txt" - prints to file "env.txt" | ||
|
||
echo "**git***" | ||
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" == "true" ]; then | ||
git log --decorate -n 1 | ||
else | ||
echo "Not inside a git repository" | ||
fi | ||
echo | ||
|
||
echo "***OS Information***" | ||
cat /etc/*-release | ||
uname -a | ||
echo | ||
|
||
echo "***GPU Information***" | ||
nvidia-smi | ||
echo | ||
|
||
echo "***CPU***" | ||
lscpu | ||
echo | ||
|
||
echo "***CMake***" | ||
which cmake && cmake --version | ||
echo | ||
|
||
echo "***g++***" | ||
which g++ && g++ --version | ||
echo | ||
|
||
echo "***nvcc***" | ||
which nvcc && nvcc --version | ||
echo | ||
|
||
echo "***Python***" | ||
which python && python --version | ||
echo | ||
|
||
echo "***Environment Variables***" | ||
|
||
printf '%-32s: %s\n' PATH $PATH | ||
|
||
printf '%-32s: %s\n' LD_LIBRARY_PATH $LD_LIBRARY_PATH | ||
|
||
printf '%-32s: %s\n' NUMBAPRO_NVVM $NUMBAPRO_NVVM | ||
|
||
printf '%-32s: %s\n' NUMBAPRO_LIBDEVICE $NUMBAPRO_LIBDEVICE | ||
|
||
printf '%-32s: %s\n' CONDA_PREFIX $CONDA_PREFIX | ||
|
||
printf '%-32s: %s\n' PYTHON_PATH $PYTHON_PATH | ||
|
||
echo | ||
|
||
|
||
# Print conda packages if conda exists | ||
if type "conda" &> /dev/null; then | ||
echo '***conda packages***' | ||
which conda && conda list | ||
echo | ||
# Print pip packages if pip exists | ||
elif type "pip" &> /dev/null; then | ||
echo "conda not found" | ||
echo "***pip packages***" | ||
which pip && pip list | ||
echo | ||
else | ||
echo "conda not found" | ||
echo "pip not found" | ||
fi |
This file contains 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
build: | ||
image: latest | ||
|
||
python: | ||
version: 3.5 | ||
|
||
conda: | ||
file: conda/environments/builddocs_py35.yml |
This file contains 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
exclude = img,notebooks,thirdparty,__init__.py,libgdf,build |
This file contains 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
Empty file.