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

Detailed 4.0 project planning for release #445

Open
12 of 15 tasks
mrshirts opened this issue Jun 28, 2022 · 8 comments
Open
12 of 15 tasks

Detailed 4.0 project planning for release #445

mrshirts opened this issue Jun 28, 2022 · 8 comments

Comments

@mrshirts
Copy link
Collaborator

mrshirts commented Jun 28, 2022

Moving from the general task #255 to specific tasks

@Lnaden
Copy link
Contributor

Lnaden commented Jun 28, 2022

It looks like Conda JAX is usable as is with some small tweaking: jax-ml/jax#189. There is some odd nuance with a couple of caveates:

  • Add a jaxlib==0.3.10=*cuda* to the install (we can do that with the meta file)
  • you need a CONDA_OVERRIDE_CUDA="11.2" as part of the invocation of conda install if you dont have a GPU.
  • We may want to look at the OpenMM feedstock for the multiple conditions of gpus/cpus conda/pip

@Lnaden
Copy link
Contributor

Lnaden commented Jun 28, 2022

@mrshirts can you make a nudge or re-trigger #402 so we can see what the errors are exactly?

@Lnaden
Copy link
Contributor

Lnaden commented Jun 28, 2022

Address pytest issues with flaky? (Levi?)

We do have the flaky plugin setup to be used in one test already. I'm going to keep triggering tests locally and on my fork to see if I can figure out which tests are problematic.

@mrshirts
Copy link
Collaborator Author

For #402, that will take a couple of days, I need to revisit what is actually the right way to do this.

@mrshirts
Copy link
Collaborator Author

The specific test failure I got was:

test_mbar_solvers.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.flaky(max_runs=2) # Uses flaky plugin for pytest

But that was running pytest v 7.1.1 locally, so I guess the issue was that I was running w/o the plugin?

@Lnaden
Copy link
Contributor

Lnaden commented Jun 28, 2022

The specific test failure I got was:

That's the generic error message from pytest if you try to use a mark it doesn't recognize (or don't have the plugin to recognize). The test will run fine without the flaky plugin, so its a relatively harmless warning. I have that one test marked flaky because it can stochastically fail rarely. Post 4.0, it may not even be a valid test anymore since we are changing the way solvers work. For now, the GitHub Actions CI installs the plugin so it should not throw the warning in online testing.

@mattwthompson
Copy link
Contributor

I've had pretty good success pulling down JAX from conda-forge, with the caveat that I haven't needed CUDA acceleration and for a brief period of time all of the builds were broken on macOS because the feedstock was more or less only maintained by automation. But it's generally available and not been a pain to install lately.

@mattwthompson
Copy link
Contributor

And a totally trivial suggestion, but you might want to remove devtools/conda-recipe now that the conda builds happen in the feedstock.

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

No branches or pull requests

3 participants