-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use conda environment yaml's for training-tuning-scripts (#1256)
- Replace `requirements.txt`files (pip) with `requirements.yml` (conda environment). - Update dependency versions. Closes #1226 Closes #1227 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Eli Fajardo (https://github.com/efajardo-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: #1256
- Loading branch information
1 parent
c320903
commit 78c6e3a
Showing
17 changed files
with
360 additions
and
183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
models/training-tuning-scripts/abp-models/requirements.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,25 @@ | ||
# 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. | ||
|
||
channels: | ||
- rapidsai | ||
- nvidia | ||
- conda-forge | ||
dependencies: | ||
- cuml=23.06 | ||
- jupyterlab | ||
- python=3.10 | ||
- scikit-learn=1.2.2 | ||
- xgboost |
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
290 changes: 144 additions & 146 deletions
290
models/training-tuning-scripts/dfp-models/hammah-20211017.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
models/training-tuning-scripts/dfp-models/requirements.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,29 @@ | ||
# 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. | ||
|
||
channels: | ||
- nvidia | ||
- pytorch | ||
- conda-forge | ||
dependencies: | ||
- dill | ||
- jupyterlab | ||
- matplotlib | ||
- pandas=1.3 | ||
- python=3.10 | ||
- pytorch-cuda=11.8 | ||
- pytorch=2.0.1 | ||
- scikit-learn=1.2.2 | ||
- seaborn |
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
3 changes: 0 additions & 3 deletions
3
models/training-tuning-scripts/log-parsing-models/requirements.txt
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
models/training-tuning-scripts/log-parsing-models/requirements.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,30 @@ | ||
# 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. | ||
|
||
channels: | ||
- rapidsai | ||
- nvidia | ||
- pytorch | ||
- conda-forge | ||
dependencies: | ||
- cudf=23.06 | ||
- jupyterlab | ||
- onnx | ||
- python=3.10 | ||
- pytorch-cuda=11.8 | ||
- pytorch=2.0.1 | ||
- seqeval=1.2.2 | ||
- tqdm=4 | ||
- transformers |
6 changes: 0 additions & 6 deletions
6
models/training-tuning-scripts/phishing-models/requirements.txt
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
models/training-tuning-scripts/phishing-models/requirements.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,30 @@ | ||
# 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. | ||
|
||
channels: | ||
- rapidsai | ||
- nvidia | ||
- pytorch | ||
- conda-forge | ||
dependencies: | ||
- cudf=23.06 | ||
- jupyterlab | ||
- onnx | ||
- python=3.10 | ||
- pytorch-cuda=11.8 | ||
- pytorch=2.0.1 | ||
- scikit-learn=1.2.2 | ||
- tqdm=4 | ||
- transformers |
1 change: 0 additions & 1 deletion
1
models/training-tuning-scripts/ransomware-models/requirements.txt
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
models/training-tuning-scripts/ransomware-models/requirements.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,24 @@ | ||
# 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. | ||
|
||
channels: | ||
- conda-forge | ||
dependencies: | ||
- jupyterlab | ||
- matplotlib | ||
- pandas=1.3 | ||
- python=3.10 | ||
- scikit-learn=1.2.2 | ||
- seaborn |
6 changes: 0 additions & 6 deletions
6
models/training-tuning-scripts/root-cause-models/requirements.txt
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
models/training-tuning-scripts/root-cause-models/requirements.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,30 @@ | ||
# 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. | ||
|
||
channels: | ||
- rapidsai | ||
- nvidia | ||
- pytorch | ||
- conda-forge | ||
dependencies: | ||
- cudf=23.06 | ||
- jupyterlab | ||
- onnx | ||
- python=3.10 | ||
- pytorch-cuda=11.8 | ||
- pytorch=2.0.1 | ||
- scikit-learn=1.2.2 | ||
- tqdm=4 | ||
- transformers |
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
models/training-tuning-scripts/sid-models/requirements.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,30 @@ | ||
# 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. | ||
|
||
channels: | ||
- rapidsai | ||
- nvidia | ||
- pytorch | ||
- conda-forge | ||
dependencies: | ||
- cudf=23.06 | ||
- jupyterlab | ||
- onnx | ||
- python=3.10 | ||
- pytorch-cuda=11.8 | ||
- pytorch=2.0.1 | ||
- scikit-learn=1.2.2 | ||
- tqdm=4 | ||
- transformers |
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