Skip to content
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

Merged
merged 16 commits into from
Jan 22, 2025
Merged

Update tests to make them runnable on GCP #1203

merged 16 commits into from
Jan 22, 2025

Conversation

nikg4
Copy link
Collaborator

@nikg4 nikg4 commented Jan 22, 2025

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 to miniconda3 location for oumi 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

  • This PR only changes documentation. (You can ignore the following checks in that case)
  • Did you read the contributor guideline Pull Request guidelines?
  • Did you link the issue(s) related to this PR in the section above?
  • Did you add / update tests where needed?

Reviewers

At least one review from a member of oumi-ai/oumi-staff is required.

Copy link

linear bot commented Jan 22, 2025

OPE-698

OPE-909

@nikg4 nikg4 changed the title [WIP] Update tests to make them pass on GCP Update tests to make them runnable on GCP Jan 22, 2025
@nikg4 nikg4 marked this pull request as ready for review January 22, 2025 02:44
from pathlib import Path


def get_configs_dir() -> Path:
Copy link
Contributor

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

Copy link
Collaborator Author

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.

@nikg4 nikg4 merged commit 41d5015 into main Jan 22, 2025
2 checks passed
@nikg4 nikg4 deleted the xrdaukar/vlm-test-iter branch January 22, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants