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

[RELEASE] cudf v0.14 #5310

Merged
merged 3,934 commits into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3934 commits
Select commit Hold shift + click to select a range
ab1133f
update doc for param stream in hash headers
karthikeyann May 19, 2020
e8f1bad
update doc for param stream in join headers
karthikeyann May 19, 2020
9cc2fb3
update doc for param stream in rolling, rank
karthikeyann May 19, 2020
bbfe3bf
update doc for param stream in search, replace headers
karthikeyann May 19, 2020
139df92
update doc for param stream in transform, hashing, unary op headers
karthikeyann May 19, 2020
4c09ab6
Merge branch 'branch-0.14' of github.com:rapidsai/cudf into doc-unifo…
karthikeyann May 19, 2020
9c00b83
Merge branch 'branch-0.14' into search-benchmark
devavret May 19, 2020
f1488b3
Merge pull request #5219 from devavret/jit-context-cache
devavret May 19, 2020
2788770
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 19, 2020
8547a9d
Apply suggestions from code review (Ram)
karthikeyann May 19, 2020
884597e
review changes to have nan_as_null=True for index
rgsl888prabhu May 19, 2020
2db931c
Merge branch 'branch-0.14' into remove-legacy-libcudf
devavret May 19, 2020
0d115c0
fix extra spacing in detail/transform.hpp
karthikeyann May 19, 2020
13f00c4
Merge branch 'branch-0.14' into doc-uniform-doc
karthikeyann May 19, 2020
237a216
Refactor 3 booleans to scoper enumerators
codereport May 19, 2020
70adae6
defaulting nan_as_null to None
rgsl888prabhu May 19, 2020
9c72780
Merge branch 'search-benchmark' into remove-legacy-libcudf
devavret May 19, 2020
696ef73
Update CHANGELOG
codereport May 19, 2020
b338cdc
Merge branch 'branch-0.14' into fea-gather-api
codereport May 19, 2020
165d35d
add missing docs for string apis
galipremsagar May 19, 2020
df52a13
Merge conflict fail fix
codereport May 19, 2020
b1fdc6d
fix formatting issues
galipremsagar May 19, 2020
dc663dc
Merge branch 'branch-0.14' into 5206_nan_as_null_from_pandas
May 19, 2020
24a58e6
Autocast datetime scalars to supported time_unit
ayushdg May 19, 2020
dea6e71
Add test for autocasting unsupported time_unit
ayushdg May 19, 2020
0fc7bc5
Remove all legacy benchmarks
devavret May 19, 2020
2e1877f
Merge branch 'branch-0.14' into bug-datetime-timeunit-cast
ayushdg May 19, 2020
b7850c4
Doc update changelog
ayushdg May 19, 2020
03d6b7f
Fix style
ayushdg May 19, 2020
40974ae
Remove cuIO's dependence on gdf_error
devavret May 19, 2020
af549ba
Fix wrong condition conversion
devavret May 19, 2020
3b7db3a
Remove legacy from cuIO
devavret May 19, 2020
725b71d
Merge pull request #5209 from rgsl888prabhu/5206_nan_as_null_from_pandas
May 19, 2020
903eebf
Merge branch 'branch-0.14' into branch-0.14
May 19, 2020
9542518
Remove legacy cudf.h and types.h headers
devavret May 19, 2020
fd153c8
Apply suggestions from code review
brandon-b-miller May 19, 2020
f0b2661
add copybutton to sphinx docs
galipremsagar May 19, 2020
73fd653
add .str support for StringIndex
galipremsagar May 19, 2020
855eee9
Remove remaining unused legacy files
devavret May 19, 2020
57f340e
changelog
devavret May 19, 2020
855648c
Merge pull request #5203 from razajafri/numeric_tests
razajafri May 19, 2020
3440bd7
Merge rapidsai/branch-0.14 into jakirkham/add_serializable
jakirkham May 19, 2020
3491152
Inherit from `Serializable` after other base class
jakirkham May 19, 2020
63cae9c
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 19, 2020
1f80f3a
Remove TODO and use `template... Args`
codereport May 19, 2020
278a741
Remove the TODO comment
codereport May 19, 2020
3644620
Merge branch 'branch-0.14' into fea-gather-api
codereport May 19, 2020
10a061a
add examples to more string apis
galipremsagar May 20, 2020
1979389
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 20, 2020
b519a0b
Merge remote-tracking branch 'upstream/branch-0.14' into to_datetime
galipremsagar May 20, 2020
d9629b1
Merge pull request #5139 from jakirkham/add_serializable
jakirkham May 20, 2020
d78c7ad
Merge pull request #5221 from magnatelee/resource_fix
vuule May 20, 2020
a0a8ca4
Merge branch 'remove-legacy-libcudf' of https://github.com/devavret/c…
harrism May 20, 2020
8158407
address some review comments
galipremsagar May 20, 2020
1668fc1
Merge remote-tracking branch 'upstream/branch-0.14' into to_datetime
galipremsagar May 20, 2020
f9b7cdf
add pip install for sphinx-copybutton
galipremsagar May 20, 2020
40fdf66
Remove unused legacy includes from gtests and benchmarks
harrism May 20, 2020
c333de0
Removed legacy headers from meta.yaml
harrism May 20, 2020
f65c845
Remove more legacy files from meta.yaml
harrism May 20, 2020
e1f105e
Fix blank lines to pass clang-format
harrism May 20, 2020
efc9445
Remove legacy cython
harrism May 20, 2020
d7df977
Merge pull request #5218 from philtrade/branch-0.14
May 20, 2020
4034124
Merge pull request #5228 from ayushdg/bug-datetime-timeunit-cast
May 20, 2020
33ef0e2
Remove legacy error from dask_cudf
harrism May 20, 2020
7ba31dd
cudf::experimental::table --> cudf::table
harrism May 20, 2020
bf5ce47
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 20, 2020
a02a5c7
update compute_result_col_names logic
brandon-b-miller May 20, 2020
c6fa31b
use sets and f-strings in compute_result_col_names
brandon-b-miller May 20, 2020
b70f889
[FEA] Make DataFrame.clean_renderable_dataframe() and DataFrame.get_r…
Liamdoult May 20, 2020
e95bd81
refactor DatetimeColumn.can_cast_safely
brandon-b-miller May 20, 2020
b543bcb
move join.Merge docstring under __init__
brandon-b-miller May 20, 2020
ca48ce6
NumericalColumn.can_cast_safely fills na when necessary only
brandon-b-miller May 20, 2020
cffa6b7
rework typecast_libcudf_to_output index iteration
brandon-b-miller May 20, 2020
1c66fa5
aggregation, hashing, null_mask, rolling, binaryop, partitioning, tra…
rgsl888prabhu May 20, 2020
07d056a
transpose.hpp, concatenate.hpp, filling.hpp, join.hpp, reduction.hpp,…
rgsl888prabhu May 20, 2020
fb23357
Update changelog.md with information on the PR
Liamdoult May 20, 2020
4060533
add support for _constructor_expanddim in StringIndex
galipremsagar May 20, 2020
4f3056f
remove unnecessary ops in DatetimeColumn.can_cast_safely
brandon-b-miller May 20, 2020
92697fc
main apis in include
rgsl888prabhu May 20, 2020
323d72c
Series -> cudf.Series
brandon-b-miller May 20, 2020
f749c96
Merge branch 'branch-0.14' into fix-joincast-column-agnostic
brandon-b-miller May 20, 2020
b16da18
changes src files
rgsl888prabhu May 20, 2020
521fe25
style
brandon-b-miller May 20, 2020
530f81b
*.pxd files and remaining cpp
rgsl888prabhu May 20, 2020
7afee4c
Remove experimental from type_dispatcher
devavret May 20, 2020
b1f8c52
Remove scalar traits from experimental
devavret May 20, 2020
62dbd02
Remove type-id conversion from experimental
devavret May 20, 2020
13f8d18
add docs and examples for string apis
galipremsagar May 20, 2020
86d231d
reformat few examples
galipremsagar May 20, 2020
82717d0
remove trailing newlines
galipremsagar May 20, 2020
612e4c9
remove legacy groupby from docs
galipremsagar May 20, 2020
5641563
all test cases are passing
rgsl888prabhu May 20, 2020
c759a35
Merge branch 'fea-remove-experimental-namespace' of https://github.co…
rgsl888prabhu May 20, 2020
a2fdb28
Add Categories to api.rst
galipremsagar May 20, 2020
54b5537
Merge branch 'branch-0.14' into remove-legacy-libcudf
devavret May 20, 2020
0ff93af
Remove clang-format on/off comments
codereport May 21, 2020
00b254d
Merge branch 'branch-0.14' into fea-gather-api
codereport May 21, 2020
97315ad
add docs for categorical apis
galipremsagar May 21, 2020
dd00417
Remove default parameter values on scoped enumerators on detail API
codereport May 21, 2020
9639b97
Remove experimental from JNI files.
harrism May 21, 2020
748ff67
Put back missing experimental from transition_guide where it should n…
harrism May 21, 2020
812f0d8
Changelog for 5233
harrism May 21, 2020
0fd6ca0
Combine check_bounds & out_of_bounds
codereport May 21, 2020
acd1c8c
Rename enum to negative_indices_policy & udpate docs
codereport May 21, 2020
8ed726f
Clarify docs
codereport May 21, 2020
5ff9b0b
Merge pull request #5235 from Liamdoult/branch-0.14
May 21, 2020
683f725
Merge pull request #4983 from rjzamora/from_cudf_fixes
May 21, 2020
d7c54b2
Merge pull request #4806 from galipremsagar/4741
May 21, 2020
1eb7907
add column's device memory in param mr doc
karthikeyann May 21, 2020
2acf660
add device memory to table param mr doc
karthikeyann May 21, 2020
2841464
Merge branch 'branch-0.14' of github.com:rapidsai/cudf into doc-unifo…
karthikeyann May 21, 2020
4fe6b24
Merge pull request #5208 from devavret/search-benchmark
harrism May 21, 2020
92a0f38
style
brandon-b-miller May 21, 2020
0dd37eb
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 21, 2020
76ec5d9
add docs and fix codes index in categorical accessor
galipremsagar May 21, 2020
24f7d26
more doc update for param mr
karthikeyann May 21, 2020
ba502c9
more doc update for param stream
karthikeyann May 21, 2020
7ff5189
chain in compute_result_col_names
brandon-b-miller May 21, 2020
c3f96a9
Fix comments
codereport May 21, 2020
925715e
Merge branch 'branch-0.14' into remove-legacy-libcudf
harrism May 21, 2020
45f8c2f
add all Index classes to docs
galipremsagar May 21, 2020
aa72229
fix argsort usage
galipremsagar May 21, 2020
170059f
fix Series.from_pandas doc
galipremsagar May 21, 2020
3efe491
add docs to Index apis
galipremsagar May 21, 2020
12d3916
Remove legacy benchmarks and references to GDF types in docs
harrism May 21, 2020
7afe14b
fix ngrams docs
galipremsagar May 21, 2020
6311a58
Remove horizontal rules from docs
harrism May 21, 2020
f59ce10
hide merge method form docs as it is an internal limited functionalit…
galipremsagar May 21, 2020
f5b93b6
add index to unit-tests in categories
galipremsagar May 21, 2020
d9805fa
Remove legacy benchmarks from cmake.
harrism May 22, 2020
08d63b3
Remove unused RMM_TRY from error.hpp
harrism May 22, 2020
54accc3
add tests related to index.str support
galipremsagar May 22, 2020
de08620
add multiindex tests
galipremsagar May 22, 2020
0da1542
add Index.argsort tests
galipremsagar May 22, 2020
afaf917
add Index.to_series tests
galipremsagar May 22, 2020
c13d3fb
add copybutton.js
galipremsagar May 22, 2020
24cf6fc
Merge pull request #4769 from devavret/remove-legacy-libcudf
harrism May 22, 2020
9483ac9
Merge branch 'branch-0.14' into fea-remove-experimental-namespace
harrism May 22, 2020
e5e5075
Use iobase_data_sink for to_csv with buffer input
trevorsm7 May 22, 2020
ac96082
add static files for newly added buttons
galipremsagar May 22, 2020
02cc887
Update changelog
trevorsm7 May 22, 2020
3a03901
Update CHANGELOG.md
galipremsagar May 22, 2020
335e453
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 22, 2020
4462f11
Merge branch 'docs' of https://github.com/galipremsagar/cudf into docs
galipremsagar May 22, 2020
feae539
more spell check fixes in cpp comments and strings
karthikeyann May 22, 2020
05c22f3
Add deprecation warnings to nvstrings, nvcategory, nvtext
harrism May 22, 2020
dfcac4e
add changelog entry for PR #5251
karthikeyann May 22, 2020
01ca9ed
Merge pull request #5233 from harrism/fea-remove-experimental-namespace
harrism May 22, 2020
c8f2d30
Fix import
harrism May 22, 2020
02c365d
Changelog for #5254
harrism May 22, 2020
0316e57
Merge branch 'branch-0.14' into fea-gather-api
codereport May 22, 2020
ce558b7
Merge branch 'branch-0.14' into docs
galipremsagar May 22, 2020
f8c89f7
remove pip install for two sphinx packages and replace with conda
galipremsagar May 22, 2020
a31472f
Merge branch 'docs' of https://github.com/galipremsagar/cudf into docs
galipremsagar May 22, 2020
78043b6
ORC reader: fix loading individual timestamp columns
OlivierNV May 22, 2020
ec4ee2e
Update changelog
OlivierNV May 22, 2020
c393877
Merge branch 'branch-0.14' into doc-spell-check2
karthikeyann May 22, 2020
ab3911d
Merge pull request #5251 from karthikeyann/doc-spell-check2
codereport May 22, 2020
fdbd873
Update cpp/include/cudf/detail/gather.hpp
codereport May 22, 2020
b516215
Rename NOT_ALLOWED to NOT_ALLOW
codereport May 22, 2020
4e00ad3
Update python/cudf/cudf/core/index.py
galipremsagar May 22, 2020
12d147e
Update python/cudf/cudf/core/index.py
galipremsagar May 22, 2020
03a7633
Update python/cudf/cudf/core/index.py
galipremsagar May 22, 2020
c1e2786
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 22, 2020
00cf799
move all class docs to class.__init__ methods
galipremsagar May 22, 2020
e487c43
make index assignment as shallow copy
galipremsagar May 22, 2020
6623c94
fix multiindex level names
galipremsagar May 22, 2020
8d816f9
Merge remote-tracking branch 'upstream/branch-0.14' into to_datetime
galipremsagar May 22, 2020
a4d5c28
Merge pull request #5256 from rapidsai/fix-orc-nametscol
OlivierNV May 22, 2020
d414d49
remove broadcasting to a column and replace with scalar type
galipremsagar May 22, 2020
126e430
Add to_csv buffer tests
trevorsm7 May 22, 2020
79215e0
Remove number types from make_sink_info sources
trevorsm7 May 22, 2020
0d958af
Simplify use of expanduser in make_sink_info
trevorsm7 May 22, 2020
fcd5025
Merge branch 'branch-0.14' of https://github.com/rapidsai/cudf into b…
trevorsm7 May 22, 2020
39cc06a
Address feedback
trevorsm7 May 22, 2020
b4e0dbc
add more tests
galipremsagar May 23, 2020
3e5c09a
change logic to only scale-down till ns if required only
galipremsagar May 23, 2020
8ef90f2
Merge remote-tracking branch 'upstream/branch-0.14' into to_datetime
galipremsagar May 23, 2020
fa13f7d
Update python/cudf/cudf/_lib/io/utils.pyx
trevorsm7 May 23, 2020
79cebfe
add check for None and NaT strings during datetime conversion
galipremsagar May 24, 2020
46f594e
add tests
galipremsagar May 24, 2020
3917d5e
Update CHANGELOG.md
galipremsagar May 24, 2020
aba55df
Clean up ALLOW scoped enumerator
codereport May 25, 2020
48b76c8
Merge branch 'branch-0.14' into fea-gather-api
codereport May 25, 2020
b98edd5
Merge remote-tracking branch 'upstream/branch-0.14' into docs
galipremsagar May 26, 2020
546a407
add GroupBy docs
galipremsagar May 26, 2020
b2c4811
Update CHANGELOG
codereport May 26, 2020
fbd0a0a
Merge pull request #5227 from codereport/fea-gather-api
codereport May 26, 2020
65ba848
Merge pull request #5023 from brandon-b-miller/fix-joincast-column-ag…
brandon-b-miller May 26, 2020
2653c0c
Merge branch 'branch-0.14' into to_datetime
galipremsagar May 26, 2020
1e722ed
Merge branch 'branch-0.14' into doc-uniform-doc
karthikeyann May 26, 2020
caff618
Fix compilation failure
codereport May 26, 2020
62a6864
Update CHANGELOG
codereport May 26, 2020
129edfa
Merge branch 'branch-0.14' of https://github.com/rapidsai/cudf into b…
trevorsm7 May 26, 2020
c50cab9
Merge branch 'bug-use-iobase-sink-with-csv-writer' of https://github.…
trevorsm7 May 26, 2020
d0849de
Update python/cudf/cudf/core/column/datetime.py
galipremsagar May 26, 2020
3687e9e
Update python/cudf/cudf/core/tools/datetimes.py
galipremsagar May 26, 2020
02f93eb
add unit to dtype map
galipremsagar May 26, 2020
314bc2e
add copyright
galipremsagar May 26, 2020
3a9d19f
Merge pull request #5213 from galipremsagar/docs
galipremsagar May 26, 2020
71c25f3
Merge branch 'branch-0.14' of https://github.com/rapidsai/cudf into f…
rgsl888prabhu May 26, 2020
66a77e3
Merge pull request #5192 from galipremsagar/to_datetime
galipremsagar May 26, 2020
e9c5b89
Implement Java bindings for replace_with_backrefs
andygrove May 26, 2020
6e34932
add null check, update CHANGELOG
andygrove May 26, 2020
cfc99b2
DeprecationWarning for nvstrings, nvcategory and nvtext
rgsl888prabhu May 26, 2020
23abde3
CHANGELOG.md
rgsl888prabhu May 26, 2020
d5eac9d
more tests
andygrove May 26, 2020
610da49
style and CHANGELOG
rgsl888prabhu May 26, 2020
c4c6c62
improve test
andygrove May 26, 2020
b765578
addressing reviews
rgsl888prabhu May 26, 2020
6baf369
Merge pull request #5250 from trevorsm7/bug-use-iobase-sink-with-csv-…
May 26, 2020
9a8b234
address feedback
andygrove May 26, 2020
cc414f9
Merge pull request #5270 from galipremsagar/5117
May 27, 2020
81b66d2
Merge branch 'branch-0.14' into bug-fp-debug-fail
codereport May 27, 2020
cfd4b33
Fix unit tests
codereport May 27, 2020
ad45fe2
Update cpp/tests/fixed_point/fixed_point_tests.cu
codereport May 27, 2020
954e1d5
Update cpp/tests/fixed_point/fixed_point_tests.cu
codereport May 27, 2020
2532487
Merge branch 'branch-0.14' into doc-uniform-doc
karthikeyann May 27, 2020
4472b99
Merge pull request #5293 from andygrove/java_replace_with_backrefs
revans2 May 27, 2020
eebed57
Step one remove unused libraries
revans2 May 27, 2020
2f41c1f
Cleanup java dependencies
revans2 May 27, 2020
c7065dd
Update changelog
revans2 May 27, 2020
312106c
Addressing reviews
rgsl888prabhu May 27, 2020
8f451e7
Merge branch 'branch-0.14' into fea-deprecate-nvstrings
rgsl888prabhu May 27, 2020
84d895d
addressing reviews
rgsl888prabhu May 27, 2020
4f0b409
Merge branch 'fea-deprecate-nvstrings' of https://github.com/harrism/…
rgsl888prabhu May 27, 2020
0f47cc6
Addressed review comments
revans2 May 27, 2020
1bc72f5
spell check
revans2 May 27, 2020
45858a6
moving the nvstring condition below
rgsl888prabhu May 27, 2020
4520d0f
Merge pull request #5216 from karthikeyann/doc-uniform-doc
karthikeyann May 27, 2020
888a60a
add support for user datasource classes to source_info; merge most re…
vuule May 20, 2020
4f9408a
Add CSV test for user datasource type
vuule May 20, 2020
d2f2e63
add missing docs for datasource
vuule May 21, 2020
ec48348
misc clean up
vuule May 21, 2020
47c3095
meta
vuule May 21, 2020
a196ee4
Update CHANGELOG.md
vuule May 21, 2020
7a22a31
Fix copy-paste error
vuule May 26, 2020
a17092c
Fix copy-paste error
vuule May 26, 2020
2faf2e6
remove experimental namespace
vuule May 26, 2020
9c64ff4
rename datasource::empty()
vuule May 27, 2020
917bf7e
rename datasource empty -> is_empty
vuule May 27, 2020
d9ec58d
rename empty -> is_empty
vuule May 27, 2020
9dca5ab
Merge pull request #5254 from harrism/fea-deprecate-nvstrings
May 27, 2020
4d2d4a8
Merge branch 'branch-0.14' of https://github.com/rapidsai/cudf into f…
vuule May 27, 2020
5a607ff
Merge pull request #5285 from codereport/bug-fp-debug-fail
codereport May 27, 2020
6cbef04
improve docs on supports_device_read and user_datasource_wrapper::source
vuule May 27, 2020
7d7904c
Merge branch 'branch-0.14' into fix-deps
revans2 May 27, 2020
f7470a8
Merge pull request #5298 from revans2/fix-deps
revans2 May 27, 2020
42f82a3
Merge pull request #5239 from vuule/fea-cuio-abstract-datasource
harrism May 28, 2020
6244cfc
Update CHANGELOG.md
raydouglass Jun 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ cudf.egg-info/
python/build
python/*/build
python/cudf/cudf-coverage.xml
python/cudf/*/_lib/**/*.cpp
python/cudf/*/_lib/**/*\.cpp
python/cudf/*/_lib/**/*.h
python/cudf/*/_lib/.nfs*
python/cudf/*/_libxx/**/*.cpp
python/cudf/*/_libxx/**/*.h
python/cudf/*/_libxx/.nfs*
python/cudf/*/_cuda/*\.cpp
python/cudf/*.ipynb
python/cudf/.ipynb_checkpoints
python/nvstrings/nvstrings-coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[submodule "thirdparty/jitify"]
path = thirdparty/jitify
url = https://github.com/rapidsai/jitify.git
branch = cudf
branch = cudf_0.14
[submodule "thirdparty/libcudacxx"]
path = thirdparty/libcudacxx
url = https://github.com/rapidsai/thirdparty-freestanding.git
Expand Down
20 changes: 17 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,30 @@ repos:
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
rev: 3.8.1
hooks:
- id: flake8
alias: flake8
name: flake8
args: ["--config=python/.flake8"]
types: [python]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
rev: 3.8.1
hooks:
- id: flake8
alias: flake8-cython
name: flake8-cython
args: ["--config=python/cudf/.flake8.cython"]
args: ["--config=python/.flake8.cython"]
types: [cython]
- repo: local
hooks:
- id: clang-format
name: clang-format
description: Format files with ClangFormat.
entry: clang-format -i
language: system
files: \.(cu|cuh|h|hpp|cpp|inl)$
args: ['-fallback-style=none']

default_language_version:
python: python3
344 changes: 343 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This project has adopted the [Contributor Covenant Code of Conduct](https://docs.rapids.ai/resources/conduct/).
34 changes: 24 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,25 @@ flake8 --config=python/cudf/.flake8.cython
Additionally, many editors have plugins that will apply `isort` and `Black` as
you edit files, as well as use `flake8` to report any style / syntax issues.

#### C++/CUDA

cuDF uses [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html)

In order to format the C++/CUDA files, navigate to the root (`cudf`) directory and run:
```
python3 ./cpp/scripts/run-clang-format.py -inplace
```

Additionally, many editors have plugins or extensions that you can set up to automatically run `clang-format` either manually or on file save.

#### Pre-commit hooks

Optionally, you may wish to setup [pre-commit hooks](https://pre-commit.com/)
to automatically run `isort`, `Black`, and `flake8` when you make a git commit.
to automatically run `isort`, `Black`, `flake8` and `clang-format` when you make a git commit.
This can be done by installing `pre-commit` via `conda` or `pip`:

```bash
conda install pre_commit
conda install -c conda-forge pre_commit
```

```bash
Expand All @@ -107,21 +120,21 @@ and then running:
pre-commit install
```

from the root of the cuDF repository. Now `isort`, `Black`, and `flake8` will be
from the root of the cuDF repository. Now `isort`, `Black`, `flake8` and `clang-format` will be
run each time you commit changes.

### Get libcudf Dependencies

Compiler requirements:

* `gcc` version 5.4+
* `nvcc` version 9.2+
* `nvcc` version 10.0+
* `cmake` version 3.12.4+

CUDA/GPU requirements:

* CUDA 9.2+
* NVIDIA driver 396.44+
* CUDA 10.0+
* NVIDIA driver 410.48+
* Pascal architecture or better

You can obtain CUDA from [https://developer.nvidia.com/cuda-downloads](https://developer.nvidia.com/cuda-downloads).
Expand Down Expand Up @@ -157,11 +170,12 @@ git submodule update --init --remote --recursive
- Create the conda development environment `cudf_dev`:
```bash
# create the conda environment (assuming in base `cudf` directory)
# note: RAPIDS currently doesn't support `channel_priority: strict`; use `channel_priority: flexible` instead
conda env create --name cudf_dev --file conda/environments/cudf_dev_cuda10.0.yml
# activate the environment
conda activate cudf_dev
```
- If using CUDA 9.2, create the environment with `conda env create --name cudf_dev --file conda/environments/cudf_dev_cuda9.2.yml` instead.
- If using CUDA 10.0, create the environment with `conda env create --name cudf_dev --file conda/environments/cudf_dev_cuda10.0.yml` instead.
- For other CUDA versions, check the corresponding cudf_dev_cuda*.yml file in conda/environments

- Build and install `libcudf` after its dependencies. CMake depends on the `nvcc` executable being on your path or defined in `$CUDACXX`.
Expand Down Expand Up @@ -290,8 +304,8 @@ A Dockerfile is provided with a preconfigured conda environment for building and
### Prerequisites

* Install [nvidia-docker2](https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)) for Docker + GPU support
* Verify NVIDIA driver is `396.44` or higher
* Ensure CUDA 9.2+ is installed
* Verify NVIDIA driver is `410.48` or higher
* Ensure CUDA 10.0+ is installed

### Usage

Expand All @@ -318,7 +332,7 @@ flag. Below is a list of the available arguments and their purpose:

| Build Argument | Default Value | Other Value(s) | Purpose |
| --- | --- | --- | --- |
| `CUDA_VERSION` | 9.2 | 10.0 | set CUDA version |
| `CUDA_VERSION` | 10.0 | 10.1, 10.2 | set CUDA version |
| `LINUX_VERSION` | ubuntu16.04 | ubuntu18.04 | set Ubuntu version |
| `CC` & `CXX` | 5 | 7 | set gcc/g++ version; **NOTE:** gcc7 requires Ubuntu 18.04 |
| `CUDF_REPO` | This repo | Forks of cuDF | set git URL to use for `git clone` |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# An integration test & dev container which builds and installs cuDF from master
ARG CUDA_VERSION=9.2
ARG CUDA_VERSION=10.0
ARG CUDA_SHORT_VERSION=${CUDA_VERSION}
ARG LINUX_VERSION=ubuntu16.04
FROM nvidia/cuda:${CUDA_VERSION}-devel-${LINUX_VERSION}
Expand Down
34 changes: 23 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,46 @@ Please see the [Demo Docker Repository](https://hub.docker.com/r/rapidsai/rapids

## Installation


### CUDA/GPU requirements

* CUDA 10.0+
* NVIDIA driver 410.48+
* Pascal architecture or better (Compute Capability >=6.0)

### Conda

cuDF can be installed with conda ([miniconda](https://conda.io/miniconda.html), or the full [Anaconda distribution](https://www.anaconda.com/download)) from the `rapidsai` channel:

For `cudf version == 0.10` :
For `cudf version == 0.13` :
```bash
# for CUDA 9.2
# for CUDA 10.0
conda install -c rapidsai -c nvidia -c numba -c conda-forge \
cudf=0.10 python=3.6 cudatoolkit=9.2
cudf=0.13 python=3.6 cudatoolkit=10.0

# or, for CUDA 10.0
# or, for CUDA 10.1
conda install -c rapidsai -c nvidia -c numba -c conda-forge \
cudf=0.10 python=3.6 cudatoolkit=10.0
cudf=0.13 python=3.6 cudatoolkit=10.1

# or, for CUDA 10.1
# or, for CUDA 10.2
conda install -c rapidsai -c nvidia -c numba -c conda-forge \
cudf=0.10 python=3.6 cudatoolkit=10.1
cudf=0.13 python=3.6 cudatoolkit=10.2

```

For the nightly version of `cudf` :
```bash
# for CUDA 9.2
# for CUDA 10.0
conda install -c rapidsai-nightly -c nvidia -c numba -c conda-forge \
cudf python=3.6 cudatoolkit=9.2
cudf python=3.6 cudatoolkit=10.0

# or, for CUDA 10.0
# or, for CUDA 10.1
conda install -c rapidsai-nightly -c nvidia -c numba -c conda-forge \
cudf python=3.6 cudatoolkit=10.0
cudf python=3.6 cudatoolkit=10.1

# or, for CUDA 10.2
conda install -c rapidsai-nightly -c nvidia -c numba -c conda-forge \
cudf python=3.6 cudatoolkit=10.2
```

Note: cuDF is supported only on Linux, and with Python versions 3.6 or 3.7.
Expand Down
10 changes: 7 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ BUILD_DIRS="${LIB_BUILD_DIR} ${NVSTRINGS_BUILD_DIR} ${CUDF_BUILD_DIR} ${DASK_CUD
VERBOSE=""
BUILD_TYPE=Release
INSTALL_TARGET=install
BENCHMARKS=OFF
BUILD_BENCHMARKS=OFF
BUILD_ALL_GPU_ARCH=0
BUILD_NVTX=ON
BUILD_TESTS=OFF
Expand Down Expand Up @@ -106,7 +106,7 @@ if hasArg --allgpuarch; then
BUILD_ALL_GPU_ARCH=1
fi
if hasArg benchmarks; then
BENCHMARKS="ON"
BUILD_BENCHMARKS=ON
fi
if hasArg tests; then
BUILD_TESTS=ON
Expand Down Expand Up @@ -151,7 +151,7 @@ if buildAll || hasArg libnvstrings || hasArg libcudf; then
-DCMAKE_CXX11_ABI=ON \
${GPU_ARCH} \
-DUSE_NVTX=${BUILD_NVTX} \
-DBUILD_BENCHMARKS=${BENCHMARKS} \
-DBUILD_BENCHMARKS=${BUILD_BENCHMARKS} \
-DBUILD_LEGACY_TESTS=${BUILD_LEGACY_TESTS} \
-DDISABLE_DEPRECATION_WARNING=${BUILD_DISABLE_DEPRECATION_WARNING} \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
Expand Down Expand Up @@ -196,6 +196,10 @@ if buildAll || hasArg libcudf; then
if [[ ${BUILD_TESTS} == "ON" ]]; then
make -j${PARALLEL_LEVEL} build_tests_cudf VERBOSE=${VERBOSE}
fi

if [[ ${BUILD_BENCHMARKS} == "ON" ]]; then
make -j${PARALLEL_LEVEL} build_benchmarks_cudf VERBOSE=${VERBOSE}
fi
fi

# Build and install the cudf Python package
Expand Down
25 changes: 25 additions & 0 deletions ci/checks/headers_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION.
#####################################
# conda existence test for headers #
#####################################

RETVAL=0
for LIBNAME in cudf nvstrings; do
# existence tests for lib${LIBNAME}
HEADERS=`cd cpp && find include/${LIBNAME}/ -type f \( -iname "*.h" -o -iname "*.hpp" \) -printf " - test -f \\\$PREFIX/%p\n" | sort`
META_TESTS=`grep "test -f .*\.h\(pp\)\?" conda/recipes/lib${LIBNAME}/meta.yaml | sort`
HEADER_DIFF=`diff <(echo "$HEADERS") <(echo "$META_TESTS")`
LIB_RETVAL=$?

if [ "$LIB_RETVAL" != "0" ]; then
echo -e "\n\n>>>> FAILED: lib${LIBNAME} header existence conda/recipes/lib${LIBNAME}/meta.yaml check; begin output\n\n"
echo -e "$HEADER_DIFF"
echo -e "\n\n>>>> FAILED: lib${LIBNAME} header existence conda/recipes/lib${LIBNAME}/meta.yaml check; end output\n\n"
RETVAL=1
else
echo -e "\n\n>>>> PASSED: lib${LIBNAME} header existence conda/recipes/lib${LIBNAME}/meta.yaml check\n\n"
fi
done

exit $RETVAL
23 changes: 20 additions & 3 deletions ci/checks/style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@ BLACK=`black --check python`
BLACK_RETVAL=$?

# Run flake8 and get results/return code
FLAKE=`flake8 python`
FLAKE=`flake8 --config=python/.flake8 python`
FLAKE_RETVAL=$?

# Run flake8-cython and get results/return code
FLAKE_CYTHON=`flake8 --config=python/cudf/.flake8.cython`
FLAKE_CYTHON=`flake8 --config=python/.flake8.cython`
FLAKE_CYTHON_RETVAL=$?

# Run clang-format and check for a consistent code format
CLANG_FORMAT=`python cpp/scripts/run-clang-format.py 2>&1`
CLANG_FORMAT_RETVAL=$?

# Output results if failure otherwise show pass
if [ "$ISORT_RETVAL" != "0" ]; then
echo -e "\n\n>>>> FAILED: isort style check; begin output\n\n"
Expand Down Expand Up @@ -62,7 +66,20 @@ else
echo -e "\n\n>>>> PASSED: flake8-cython style check\n\n"
fi

RETVALS=($ISORT_RETVAL $BLACK_RETVAL $FLAKE_RETVAL $FLAKE_CYTHON_RETVAL)
if [ "$CLANG_FORMAT_RETVAL" != "0" ]; then
echo -e "\n\n>>>> FAILED: clang format check; begin output\n\n"
echo -e "$CLANG_FORMAT"
echo -e "\n\n>>>> FAILED: clang format check; end output\n\n"
else
echo -e "\n\n>>>> PASSED: clang format check\n\n"
fi

# Run header meta.yml check and get results/return code
HEADER_META=`ci/checks/headers_test.sh`
HEADER_META_RETVAL=$?
echo -e "$HEADER_META"

RETVALS=($ISORT_RETVAL $BLACK_RETVAL $FLAKE_RETVAL $FLAKE_CYTHON_RETVAL $CLANG_FORMAT_RETVAL $HEADER_META_RETVAL)
IFS=$'\n'
RETVAL=`echo "${RETVALS[*]}" | sort -nr | head -n1`

Expand Down
12 changes: 6 additions & 6 deletions ci/cpu/upload_anaconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ if [ "$UPLOAD_LIBCUDF" == "1" ]; then
test -e ${LIBNVSTRINGS_FILE}
echo "Upload libNVStrings"
echo ${LIBNVSTRINGS_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${LIBNVSTRINGS_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBNVSTRINGS_FILE}

test -e ${LIBCUDF_FILE}
echo "Upload libcudf"
echo ${LIBCUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${LIBCUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBCUDF_FILE}
fi

if [ "$UPLOAD_CUDF" == "1" ]; then
Expand All @@ -47,20 +47,20 @@ if [ "$UPLOAD_CUDF" == "1" ]; then
test -e ${NVSTRINGS_FILE}
echo "Upload nvstrings"
echo ${NVSTRINGS_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${NVSTRINGS_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${NVSTRINGS_FILE}

test -e ${CUDF_FILE}
echo "Upload cudf"
echo ${CUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${CUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUDF_FILE}

test -e ${DASK_CUDF_FILE}
echo "Upload dask-cudf"
echo ${DASK_CUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${DASK_CUDF_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${DASK_CUDF_FILE}

test -e ${CUSTREAMZ_FILE}
echo "Upload custreamz"
echo ${CUSTREAMZ_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --force ${CUSTREAMZ_FILE}
anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUSTREAMZ_FILE}
fi
Loading