Repository: TUM-DAML/seml Branch: master Commit: 2e6d78b97d18 Files: 103 Total size: 922.5 KB Directory structure: gitextract_7hga3fho/ ├── .github/ │ ├── ISSUE_TEMPLATE.md │ ├── PULL_REQUEST_TEMPLATE.md │ └── workflows/ │ ├── actions.yaml │ └── precommit.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── LICENSE ├── MANIFEST.in ├── README.md ├── ci/ │ └── examples/ │ ├── example_config.yaml │ ├── example_experiment.py │ ├── example_reschedule.py │ └── example_reschedule_config.yaml ├── docs.md ├── examples/ │ ├── .ruff.toml │ ├── README.md │ ├── advanced_example_config.yaml │ ├── advanced_example_experiment.py │ ├── config/ │ │ └── flip_augmentation.yaml │ ├── example_config.yaml │ ├── example_experiment.py │ ├── logs/ │ │ └── .gitignore │ ├── notebooks/ │ │ └── experiment_results.ipynb │ └── tutorial/ │ ├── example_config.yaml │ ├── example_experiment.py │ ├── intro_slides.ipynb │ ├── intro_slides.slides.html │ └── seml.drawio ├── pyproject.toml ├── src/ │ └── seml/ │ ├── __init__.py │ ├── __main__.py │ ├── cli_utils/ │ │ ├── __init__.py │ │ ├── cache.py │ │ ├── cli_states.py │ │ └── module_hider.py │ ├── commands/ │ │ ├── __init__.py │ │ ├── add.py │ │ ├── configure.py │ │ ├── description.py │ │ ├── manage.py │ │ ├── migration.py │ │ ├── print.py │ │ ├── project.py │ │ ├── slurm.py │ │ ├── sources.py │ │ └── start.py │ ├── console/ │ │ └── __init__.py │ ├── database.py │ ├── document.py │ ├── evaluation.py │ ├── experiment/ │ │ ├── __init__.py │ │ ├── command.py │ │ ├── config.py │ │ ├── description.py │ │ ├── experiment.py │ │ ├── mattermost_observer.py │ │ ├── observers.py │ │ ├── parameters.py │ │ └── sources.py │ ├── settings.py │ ├── templates/ │ │ └── slurm/ │ │ ├── jupyter_template.sh │ │ └── slurm_template.sh │ └── utils/ │ ├── __init__.py │ ├── errors.py │ ├── io.py │ ├── json.py │ ├── multi_process.py │ ├── network.py │ ├── slurm.py │ ├── ssh_forward.py │ └── yaml.py └── test/ ├── .ruff.toml ├── __init__.py ├── resources/ │ ├── config/ │ │ ├── config_nested_parameter_collections.yaml │ │ ├── config_resolve_config.yaml │ │ ├── config_resolve_config_named_1.json │ │ ├── config_resolve_config_named_1.yaml │ │ ├── config_resolve_config_named_2.json │ │ ├── config_resolve_config_named_2.yaml │ │ ├── config_resolve_with_interpolation.yaml │ │ ├── config_slurm_default.yaml │ │ ├── config_slurm_default_empty_sbatch.yaml │ │ ├── config_slurm_experiment.yaml │ │ ├── config_slurm_experiments_and_tasks.yaml │ │ ├── config_slurm_template.yaml │ │ ├── config_with_all_types.yaml │ │ ├── config_with_dict_choice.yaml │ │ ├── config_with_duplicate_parameters_1.yaml │ │ ├── config_with_duplicate_parameters_2.yaml │ │ ├── config_with_duplicate_parameters_3.yaml │ │ ├── config_with_duplicate_random_parameters_1.yaml │ │ ├── config_with_empty_dictionary.yaml │ │ ├── config_with_grid.yaml │ │ ├── config_with_named_config.yaml │ │ ├── config_with_parameter_collections.yaml │ │ ├── config_with_parameter_collections_random.yaml │ │ └── config_with_zipped_parameters.yaml │ └── scripts/ │ ├── experiment_resolve_config.py │ └── experiment_resolve_config_interpolate.py ├── test_config.py ├── test_start.py └── test_utils.py ================================================ FILE CONTENTS ================================================ ================================================ FILE: .github/ISSUE_TEMPLATE.md ================================================ ### Expected Behavior ### Actual Behavior ### Steps to Reproduce the Problem 1. 1. 1. ### Error message: ``` Traceback (most recent call last): File "", line 1, in ... ``` ### Specifications
Details - Version: - Python version: - Platform: - Anaconda environment (`conda list`):
================================================ FILE: .github/PULL_REQUEST_TEMPLATE.md ================================================ ### Reference issue ### What does this implement/fix? ### Additional information - [ ] I updated the docs via typer-cli with `_SEML_COMPLETE=1 typer seml.__main__ utils docs --name seml --output docs.md` or did not change the CLI. ================================================ FILE: .github/workflows/actions.yaml ================================================ name: Test on: [push, pull_request] jobs: # Run CLI test and pytest test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.10", "3.11", "3.12", "3.13"] resolution: ["highest", "lowest-direct"] steps: # Checkout the code - uses: actions/checkout@v4 # Install uv - name: Install uv uses: astral-sh/setup-uv@v6 with: enable-cache: true # Test whether the CLI is working - name: Test CLI run: uv run -p ${{ matrix.python-version }} --resolution ${{ matrix.resolution }} -U seml --help # Test with pytest - name: Test with pytest run: | cd test uv run -p ${{ matrix.python-version }} --resolution ${{ matrix.resolution }} -U pytest # Test commands in a dummy environment commands: runs-on: ubuntu-22.04 # this is the lastest release supported by MongoDB strategy: fail-fast: false matrix: python-version: ["3.10", "3.11", "3.12", "3.13"] resolution: ["highest", "lowest-direct"] # MySQL for Slurm services: mysql: image: mysql:8.0 env: MYSQL_ROOT_PASSWORD: root ports: - "8888:3306" options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.11.0 with: mongodb-username: admin mongodb-password: admin mongodb-port: 27017 - name: Install mongosh run: | sudo apt-get install gnupg wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | sudo tee /etc/apt/trusted.gpg.d/server-7.0.asc echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list sudo apt-get update sudo apt-get install -y mongodb-mongosh mongosh --version - name: Create seml MongoDB user run: | mongosh --host localhost:27017 -u admin -p admin --authenticationDatabase admin <