Skip to content

Commit

Permalink
cmake update and file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Jan 18, 2024
1 parent 978991e commit 25d0e32
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-121_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- breathe=4.35.0
- clangdev=16
- click >=8
- cmake=3.26.4
- cmake=3.27
- cuda-cudart-dev=12.1
- cuda-nvcc
- cuda-nvml-dev=12.1
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/dev_cuda-121_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- breathe=4.35.0
- clangdev=16
- click >=8
- cmake=3.26.4
- cmake=3.27
- cuda-cudart-dev=12.1
- cuda-nvcc
- cuda-nvml-dev=12.1
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ dependencies:
- gcc_linux-64=11.2
- gxx_linux-64=11.2
- boost-cpp=1.84
- cmake=3.26.4
- cmake=3.27
- cuda-nvcc
- cudf=24.02
- cxx-compiler
Expand Down
4 changes: 1 addition & 3 deletions morpheus/_lib/src/messages/multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ std::shared_ptr<MessageMeta> MultiMessage::copy_meta_ranges(const std::vector<Ra

auto table_view = table_info.get_view();
auto sliced_views = cudf::slice(table_view, cudf_ranges);
cudf::io::table_with_metadata table = {
cudf::concatenate(sliced_views),
std::move(metadata)};
cudf::io::table_with_metadata table = {cudf::concatenate(sliced_views), std::move(metadata)};

return MessageMeta::create_from_cpp(std::move(table), 1);
}
Expand Down
2 changes: 1 addition & 1 deletion morpheus/_lib/src/stages/preprocess_nlp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ PreprocessNLPStage::subscribe_fn_t PreprocessNLPStage::build_operator()
// Perform the tokenizer
nvtext::tokenizer_result token_results;

if (normalized_col_view.chars_size() > 0)
if (normalized_col_view.chars_size(rmm::cuda_stream_default) > 0)
{
token_results = nvtext::subword_tokenize(normalized_col_view,
*vocab,
Expand Down

0 comments on commit 25d0e32

Please sign in to comment.