Skip to content

Add support for non-Python models and benchmarks via environment.yml - #31

Merged
mschrimpf merged 7 commits into
mainfrom
mschrimpf/environment_yml_support
May 17, 2023
Merged

mschrimpf merged 7 commits into
mainfrom
mschrimpf/environment_yml_support

Conversation

@mschrimpf

@mschrimpf mschrimpf commented May 14, 2023 •

Copy link
Copy Markdown
Member

Adds support to models and benchmarks for any languages or packages that are accessible via conda channels.

There are now two options to include additional dependencies:

  1. If all dependencies are available through pip, add a requirements.txt to the plugin directory.
  2. If non-Python dependencies are required and can be accessed through conda (e.g. R and related packages), add an environment.yml to the plugin directory.

The environment.yml must not specify an environment name, and any included python version must be already supported (3.7, 3.8, 3.9). It is not used to create the conda environment, only to update it, and will not overwrite or remove existing installations.

formerly brain-score/language#113

mschrimpf added 4 commits May 17, 2023 10:08
# Conflicts:
#	brainscore_core/plugin_management/test_plugins.py
#	tests/test_plugin_management/test_test_plugins.py
@mschrimpf
mschrimpf merged commit ea3067b into main May 17, 2023
@mschrimpf
mschrimpf deleted the mschrimpf/environment_yml_support branch May 17, 2023 15:45
benlipkin pushed a commit to benlipkin/core that referenced this pull request May 17, 2023
…l` (brain-score#31)

* refactor brain-score/language#113 into core

* add fire dependency

* explain environment 'name' restriction

Co-authored-by: kvfairchild <[email protected]>

* fix `not` conditional

* simplify naming

* avoid redundancy

---------

Co-authored-by: kvfairchild <[email protected]>
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