-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change defaults python version * Update docs for conda environment creation script * Recommend python 3.10 instead of 3.9 * Add note on python version requirement for jax * Update jax/gpu instructions * Add note on availgpu.py script * Move gpu util scripts * Formatting fix * Add readme files * Minor phrasing improvement * Improve formatting * Avoid issues with ray and conda version of hyperopt * Python 3.7 no longer supported * Trivial edit * Address PR review comments * Switch for Python 3.12 for CI * Attempt to resolve CI test failures * Fix yaml syntax error * Clean up * Add comment * Address PR comments * Bump actions/cache version * Avoid use of mambaforge in response to deprecation warning
- Loading branch information
Showing
17 changed files
with
99 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ Installing a Development Version | |
1. Fork both the ``scico`` and ``scico-data`` repositories, creating | ||
copies of these repositories in your own git account. | ||
|
||
2. Make sure that you have Python 3.8 or later installed in order to | ||
2. Make sure that you have Python 3.10 or later installed in order to | ||
create a conda virtual environment. | ||
|
||
3. Clone your fork from the source repo. | ||
|
@@ -26,11 +26,11 @@ Installing a Development Version | |
|
||
git clone --recurse-submodules [email protected]:<username>/scico.git | ||
|
||
4. Create a conda environment using Python 3.8 or later, e.g.: | ||
4. Create a conda environment using Python 3.10 or later, e.g.: | ||
|
||
:: | ||
|
||
conda create -n scico python=3.9 | ||
conda create -n scico python=3.12 | ||
|
||
5. Activate the created conda virtual environment: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
Miscellaneous | ||
============= | ||
|
||
This directory is a temporary location for content for which there is no immediately obvious correct location. | ||
This directory is a temporary location for content for which there is no | ||
obviously more appropriate location: | ||
|
||
- ``conda``: Scripts intended to faciliate the installation of miniconda and an environment with all SCICO requirements. | ||
- ``gpu``: Scripts for debugging and managing JAX use of GPUs. | ||
- ``pytest``: Scripts for specialized use of ``pytest``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
GPU Utility Scripts | ||
=================== | ||
|
||
These scripts are intended for debugging and managing JAX use of GPUs: | ||
|
||
- ``availgpu.py``: Automatically recommend a setting of the ``CUDA_VISIBLE_DEVICES`` environment variable that excludes GPUs that are already in use. | ||
- ``envinfo.py``: An aid to debugging JAX GPU access. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Specialized Pytest Usage | ||
======================== | ||
|
||
These scripts support specialized ``pytest`` usage: | ||
|
||
- ``pytest_cov.sh``: This script runs ``scico`` unit tests using the ``pytest-cov`` plugin for test coverage analysis. | ||
- ``pytest_fast.sh``: This script runs ``pytest`` tests in parallel using the ``pytest-xdist`` plugin. Some tests (those that do not function correctly when run in parallel) are run separately. | ||
- ``pytest_time.sh``: This script runs each ``scico`` unit test module and lists them all in order of decreasing run time. | ||
|
||
All of these scripts must be run from the repository root directory. |
Oops, something went wrong.