You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Official Documentation:** For user guides, API references, and troubleshooting, visit our [official documentation](https://docs.nvidia.com/bionemo-framework/latest/).
Different branches of the repo can have different pinned versions of these third-party submodules. Ensure submodules are automatically updated after switching branches or pulling updates by configuring git with:
64
63
65
-
66
64
```bash
67
65
git config submodule.recurse true
68
66
```
@@ -72,14 +70,12 @@ You will have to run the full `git submodule update --init --recursive` command
72
70
73
71
#### Build the Docker Image Locally
74
72
75
-
76
73
With a locally cloned repository and initialized submodules, build the BioNeMo container using:
77
74
78
75
```bash
79
76
docker buildx build . -t my-container-tag
80
77
```
81
78
82
-
83
79
#### VSCode Devcontainer for Interactive Debugging
84
80
85
81
We distribute a [development container](https://devcontainers.github.io/) configuration for vscode
- We encourage you to use the following PGP key for secure email communication: [NVIDIA public PGP Key for communication](https://www.nvidia.com/en-us/security/pgp-key)
13
-
- Please include the following information:
14
-
- Product/Driver name and version/branch that contains the vulnerability
15
-
- Type of vulnerability (code execution, denial of service, buffer overflow, etc.)
16
-
- Instructions to reproduce the vulnerability
17
-
- Proof-of-concept or exploit code
18
-
- Potential impact of the vulnerability, including how an attacker could exploit the vulnerability
13
+
- We encourage you to use the following PGP key for secure email communication: [NVIDIA public PGP Key for communication](https://www.nvidia.com/en-us/security/pgp-key)
14
+
- Please include the following information:
15
+
- Product/Driver name and version/branch that contains the vulnerability
16
+
- Type of vulnerability (code execution, denial of service, buffer overflow, etc.)
17
+
- Instructions to reproduce the vulnerability
18
+
- Proof-of-concept or exploit code
19
+
- Potential impact of the vulnerability, including how an attacker could exploit the vulnerability
19
20
20
21
While NVIDIA currently does not have a bug bounty program, we do offer acknowledgement when an externally reported security issue is addressed under our coordinated vulnerability disclosure policy. Please visit our [Product Security Incident Response Team (PSIRT)](https://www.nvidia.com/en-us/security/psirt-policies/) policies page for more information.
This is an overview of how to release bionemo sub-packages.
2
+
3
+
01. The code should be in a sub-directory of `bionemo-framework/sub-packages`. The package should be named bionemo-\<package_name>. For an example of the directory structure, see https://github.com/NVIDIA/bionemo-framework/tree/main/sub-packages/bionemo-scdl.
4
+
The directory should contain:
5
+
- a `pyproject.toml` file with the dependencies
6
+
- a `README.md`
7
+
- a `LICENSE` file
8
+
- a `VERSION` file
9
+
- the source code should be in src/bionemo/package-name.
10
+
- the test should be in tests/bionemo/package-name. The test directory structure should be the same as the source code directory structure.
11
+
02. Create some tests that can be run in a notebook within the package or as a small python script that verifies that the package is correctly installed. These can be re-purposed for QA test plan.
12
+
03. In the VERSION file in the root of the sub-package, set the package version. Currently, the sub-package versions are independent of the overall BioNeMo version. An ideal approach is to specify the bionemo sub-package versions. That the package depends on. This may create issues. For example, an issue could arise if the latest version of your sub-package depends on the newest bionemo-core, but the latest pushed version of bionemo-core does not have these changes. It may be necessary to update bionemo-core then, but before updating another package, it should be tested and its authors should be consulted.
13
+
04. Make sure that the directory dist doesn’t exist or is empty.
14
+
05. Run `python -m build .`
15
+
06. Create a test-pypi and pypi account if you don’t have one at: https://test.pypi.org/ and https://pypi.org/
10. If everything looks good, upload it to the actual pypi repository: `twine upload dist/* --non-interactive -u $TWINE_USERNAME -p $TWINE_PASSWORD --verbose`
22
+
11. Run steps 7 and 8 with pypi instead of test-pypi.
0 commit comments