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
TORCH_VERSION = "2.3.1" | |
CUDA_VERSION = "cu118" | |
TORCH_CUDA_WHEEL_URL = "https://download.pytorch.org/whl/cu118/torch-2.3.1%2Bcu118-cp311-cp311-linux_x86_64.whl#sha256=5b0d531814886573cbe8c8ca91d17676f96bbaa33b569dd37ea235f124314e97" | |
TORCH_LINUX_CPU_WHEEL_URL = "https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp311-cp311-linux_x86_64.whl#sha256=a272defe305dbd944aa28a91cc3db0f0149495b3ebec2e39723a7224fa05dc57" | |
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
#!/bin/bash | |
help() | |
{ | |
# Display Help | |
echo "Launches MTGA with Epic's command line options and fills in screen | |
resolution" | |
echo | |
echo "Syntax: mtga_open.sh [h|r]" | |
echo "options:" |
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
from functools import wraps | |
def pipeable_func(func): | |
"""allows any function to be used in a | |
``.pipe`` context on a dataframe, assigning output from this function as applied | |
to a dataframe column. | |
Usage: | |
@pipeable_func | |
def is_odd(n): |
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
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "Error: Please provide a branch name and repo name from which documentation will be built"; | |
exit 1 | |
fi | |
BRANCH_NAME=$1 | |
REPO_NAME=$2 |