demo / src /constants.py
Xmaster6y's picture
new repo structure
0d998a6 unverified
raw
history blame
394 Bytes
"""Manage constants for the app.
"""
import os
import pathlib
import torch
ASSETS_FOLDER = pathlib.Path(__file__).parent.parent / "assets"
FIGURES_FOLER = pathlib.Path(__file__).parent.parent / "figures"
HF_TOKEN = os.getenv("HF_TOKEN")
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
MODEL_NAME = "lc0-10-4238.onnx"
SAE_CONFIG = "debug"
LAYER = 9
N_FEATURES = 7680