-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tests to make them runnable on GCP #1203
Conversation
from pathlib import Path | ||
|
||
|
||
def get_configs_dir() -> Path: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these should be under conftest
with the other generic text fixtures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted. Note that these are regular functions, not fixtures: Unlike test fixtures they weren't visible in tests by default if defined in conftest
(I haven't fully figured out how to use conftest
yet). May revisit later.
Description
-- Add GCP Launcher script for running tests.
-- Minimal changes to making tests pass on GCP multi-GPU machine.
-- New utils to get locations of
testdata
,notebooks
(get_oumi_root_directory().parent...
leads tominiconda3
location foroumi
package~/miniconda3/lib/python3.10/site-packages/oumi
vs/home/gcpuser/sky_workdir/
)-- Tested on GCP
A100:4
,A100:1
, locally, and on Github-- Minor improvements.
Related issues
Towards OPE-698, OPE-909
Before submitting
Reviewers
At least one review from a member of
oumi-ai/oumi-staff
is required.