-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sanity_check_sync_calibration.
- Loading branch information
Showing
4 changed files
with
110 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# version 1 | ||
|
||
-r ../modules/columnflow/sandboxes/columnar.txt | ||
|
||
torch~=2.5.1 | ||
lightning~=2.4.0 | ||
torchmetrics~=1.6.0 |
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,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Script that sets up a virtual env in $CF_VENV_PATH. | ||
# For more info on functionality and parameters, see the generic setup script _setup_venv.sh. | ||
|
||
action() { | ||
local shell_is_zsh="$( [ -z "${ZSH_VERSION}" ] && echo "false" || echo "true" )" | ||
local this_file="$( ${shell_is_zsh} && echo "${(%):-%x}" || echo "${BASH_SOURCE[0]}" )" | ||
local this_dir="$( cd "$( dirname "${this_file}" )" && pwd )" | ||
|
||
# set variables and source the generic venv setup | ||
export CF_SANDBOX_FILE="${CF_SANDBOX_FILE:-${this_file}}" | ||
export CF_VENV_NAME="$( basename "${this_file%.sh}" )" | ||
export CF_VENV_REQUIREMENTS="${this_dir}/columnar_torch.txt" | ||
|
||
source "${CF_BASE}/sandboxes/_setup_venv.sh" "$@" | ||
} | ||
action "$@" |
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,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Script that sets up a virtual env in $CF_VENV_PATH. | ||
# For more info on functionality and parameters, see the generic setup script _setup_venv.sh. | ||
|
||
action() { | ||
local shell_is_zsh="$( [ -z "${ZSH_VERSION}" ] && echo "false" || echo "true" )" | ||
local this_file="$( ${shell_is_zsh} && echo "${(%):-%x}" || echo "${BASH_SOURCE[0]}" )" | ||
local this_dir="$( cd "$( dirname "${this_file}" )" && pwd )" | ||
|
||
# set variables and source the generic venv setup | ||
export CF_SANDBOX_FILE="${CF_SANDBOX_FILE:-${this_file}}" | ||
export CF_VENV_NAME="$( basename "${this_file%.sh}" )" | ||
export CF_VENV_REQUIREMENTS="${this_dir}/columnar_torch.txt,${CF_BASE}/sandboxes/dev.txt" | ||
|
||
source "${CF_BASE}/sandboxes/_setup_venv.sh" "$@" | ||
} | ||
action "$@" |