Skip to content

Commit cd32d2d

Browse files
committed
Merge branch 'feature/env_config' of https://github.com/VectorInstitute/vector-inference into feature/env_config
2 parents 1d4ebfe + 262686a commit cd32d2d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ If you'd like to use `vec-inf` on your own Slurm cluster, you would need to upda
1616
* Clone the repository and update the `environment.yaml` and the `models.yaml` file in [`vec_inf/config`](vec_inf/config/), then install from source by running `pip install .`.
1717
* The package would try to look for cached configuration files in your environment before using the default configuration. The default cached configuration directory path points to `/model-weights/vec-inf-shared`, you would need to create an `environment.yaml` and a `models.yaml` following the format of these files in [`vec_inf/config`](vec_inf/config/).
1818
* The package would also look for an enviroment variable `VEC_INF_CONFIG_DIR`. You can put your `environment.yaml` and `models.yaml` in a directory of your choice and set the enviroment variable `VEC_INF_CONFIG_DIR` to point to that location.
19-

vec_inf/client/_slurm_vars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import warnings
55
from pathlib import Path
6-
from typing import Any, TypeAlias
6+
from typing import Any
77

88
import yaml
99
from typing_extensions import Literal

vec_inf/config/environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ default_args:
2424
partition: "a40"
2525
data_type: "auto"
2626
log_dir: "~/.vec-inf-logs"
27-
model_weights_parent_dir: "/model-weights"
27+
model_weights_parent_dir: "/model-weights"

0 commit comments

Comments
 (0)