Skip to content

catch ngc api key validation errors and default to not using an api key#635

Merged
pstjohn merged 2 commits into
NVIDIA-BioNeMo:mainfrom
pstjohn:pstjohn/default-to-guest-with-no-api-key
Jan 22, 2025
Merged

catch ngc api key validation errors and default to not using an api key#635
pstjohn merged 2 commits into
NVIDIA-BioNeMo:mainfrom
pstjohn:pstjohn/default-to-guest-with-no-api-key

Conversation

@pstjohn
Copy link
Copy Markdown
Collaborator

@pstjohn pstjohn commented Jan 22, 2025

Should fix issues like https://nvbugspro.nvidia.com/bug/5063178, where the SLURM environment picks up a stray and incorrect NGC api key.

…ey for guest access

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
Copy link
Copy Markdown
Collaborator

@trvachov trvachov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome peter thanks for being proactive in fixing these things.

@pstjohn pstjohn added the bug Something isn't working label Jan 22, 2025
@pstjohn pstjohn enabled auto-merge January 22, 2025 18:46
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
@pstjohn pstjohn added this pull request to the merge queue Jan 22, 2025
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 86.60%. Comparing base (e553389) to head (d602bfc).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ackages/bionemo-core/src/bionemo/core/data/load.py 94.11% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #635   +/-   ##
=======================================
  Coverage   86.59%   86.60%           
=======================================
  Files         116      116           
  Lines        6936     6948   +12     
=======================================
+ Hits         6006     6017   +11     
- Misses        930      931    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

auto-merge was automatically disabled January 22, 2025 21:31

Pull Request is not mergeable

Merged via the queue into NVIDIA-BioNeMo:main with commit 14c0f14 Jan 22, 2025
@pstjohn pstjohn deleted the pstjohn/default-to-guest-with-no-api-key branch January 22, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants