-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #356 from nv-morpheus/branch-23.07
[RELEASE] MRC v23.07
- Loading branch information
Showing
704 changed files
with
6,135 additions
and
4,996 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,18 @@ | ||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM rapidsai/devcontainers:23.04-cuda11.8-mambaforge-ubuntu22.04 AS base | ||
|
||
ENV PATH="${PATH}:/workspaces/mrc/.devcontainer/bin" |
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,92 @@ | ||
// SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
{ | ||
"name": "mrc-dev", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"hostRequirements": { | ||
"gpu": true | ||
}, | ||
"capAdd":[ | ||
"SYS_NICE", | ||
"SYS_PTRACE" | ||
], | ||
"securityOpt": [ | ||
"seccomp=unconfined" | ||
], | ||
"runArgs": [ | ||
"--network=host" | ||
], | ||
"containerEnv": { | ||
"HOST_MRC_ROOT": "${localWorkspaceFolder}", | ||
"MRC_ROOT": "${containerWorkspaceFolder}", | ||
"DEFAULT_CONDA_ENV": "mrc", | ||
"MAMBA_NO_BANNER": "1", | ||
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai" | ||
}, | ||
"initializeCommand": [ "${localWorkspaceFolder}/.devcontainer/conda/initialize-command.sh" ], | ||
"remoteUser": "coder", | ||
"mounts": [ | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/.cache/conda/envs", | ||
"target": "/home/coder/.conda/envs" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/../.conda/pkgs", | ||
"target": "/home/coder/.conda/pkgs" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/../.config", // parent folder because sister repos are sibling dirs | ||
"target": "/home/coder/.config" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/.devcontainer/opt/mrc", | ||
"target": "/opt/mrc" | ||
}, | ||
], | ||
"features": { | ||
"ghcr.io/devcontainers/features/dotnet:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"eamodio.gitlens", | ||
"formulahendry.terminal", | ||
"hbenl.vscode-test-explorer", | ||
"josetr.cmake-language-support-vscode", | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"matepek.vscode-catch2-test-adapter", | ||
"ms-dotnettools.vscode-dotnet-runtime", | ||
"ms-vscode.cmake-tools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cpptools-themes", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.test-adapter-converter", | ||
"xaver.clang-format" | ||
], | ||
"settings": { | ||
"cmake.cmakePath": "/tmp/.current-conda-env/bin/cmake", | ||
"cmake.languageSupport.dotnetPath": "/usr/bin/dotnet", | ||
"C_Cpp.intelliSenseEngine": "disabled", | ||
"python.terminal.activateEnvironment": false | ||
} | ||
} | ||
}, | ||
} |
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,21 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# create the parent conda folder so it's found when mounting | ||
mkdir -p ../.conda | ||
|
||
# create a config directory if it does not exist so it's found when mounting | ||
mkdir -p ../.config |
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
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# create the github config directory if it does not exist so it's found when mounting | ||
mkdir -p ~/.config/gh |
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,21 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# create the parent conda folder so it's found when mounting | ||
mkdir -p ../.conda | ||
|
||
# create a config directory if it does not exist so it's found when mounting | ||
mkdir -p ../.config |
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,33 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Ensure our ~/.config directory has the correct permissions. If ~/.config did | ||
# not exist, and you mount ~/.config/gh from the host, then ~/.config will be | ||
# created with root permissions which can break things | ||
|
||
conda_env_find(){ | ||
conda env list | grep "${@}" >/dev/null 2>/dev/null | ||
} | ||
|
||
ENV_NAME=${ENV_NAME:-mrc} | ||
|
||
sed -ri "s/conda activate base/conda activate $ENV_NAME/g" ~/.bashrc; | ||
|
||
if conda_env_find "${ENV_NAME}" ; \ | ||
|
||
then mamba env update --name ${ENV_NAME} -f ${MRC_ROOT}/ci/conda/environments/dev_env.yml --prune; \ | ||
else mamba env create --name ${ENV_NAME} -f ${MRC_ROOT}/ci/conda/environments/dev_env.yml; \ | ||
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
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,18 @@ | ||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM rapidsai/devcontainers:23.04-cuda11.8-mambaforge-ubuntu22.04 AS base | ||
|
||
ENV PATH="${PATH}:/workspaces/mrc/.devcontainer/bin" |
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,92 @@ | ||
// SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
{ | ||
"name": "mrc-dev", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"hostRequirements": { | ||
"gpu": true | ||
}, | ||
"capAdd":[ | ||
"SYS_NICE", | ||
"SYS_PTRACE" | ||
], | ||
"securityOpt": [ | ||
"seccomp=unconfined" | ||
], | ||
"runArgs": [ | ||
"--network=host" | ||
], | ||
"containerEnv": { | ||
"HOST_MRC_ROOT": "${localWorkspaceFolder}", | ||
"MRC_ROOT": "${containerWorkspaceFolder}", | ||
"DEFAULT_CONDA_ENV": "mrc", | ||
"MAMBA_NO_BANNER": "1", | ||
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai" | ||
}, | ||
"initializeCommand": [ "${localWorkspaceFolder}/.devcontainer/initialize-command.sh" ], | ||
"remoteUser": "coder", | ||
"mounts": [ | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/.cache/conda/envs", | ||
"target": "/home/coder/.conda/envs" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/../.conda/pkgs", | ||
"target": "/home/coder/.conda/pkgs" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/../.config", // parent folder because sister repos are sibling dirs | ||
"target": "/home/coder/.config" | ||
}, | ||
{ | ||
"type": "bind", | ||
"source": "${localWorkspaceFolder}/.devcontainer/opt/mrc", | ||
"target": "/opt/mrc" | ||
}, | ||
], | ||
"features": { | ||
"ghcr.io/devcontainers/features/dotnet:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"eamodio.gitlens", | ||
"formulahendry.terminal", | ||
"hbenl.vscode-test-explorer", | ||
"josetr.cmake-language-support-vscode", | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"matepek.vscode-catch2-test-adapter", | ||
"ms-dotnettools.vscode-dotnet-runtime", | ||
"ms-vscode.cmake-tools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cpptools-themes", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.test-adapter-converter", | ||
"xaver.clang-format" | ||
], | ||
"settings": { | ||
"cmake.cmakePath": "/tmp/.current-conda-env/bin/cmake", | ||
"cmake.languageSupport.dotnetPath": "/usr/bin/dotnet", | ||
"C_Cpp.intelliSenseEngine": "disabled", | ||
"python.terminal.activateEnvironment": false | ||
} | ||
} | ||
}, | ||
} |
Oops, something went wrong.