AQIT 0.1.0
Loading...
Searching...
No Matches
user_sae.py File Reference

Go to the source code of this file.

Namespaces

namespace  aquin
namespace  aquin.compute
namespace  aquin.compute.user_sae

Functions

dict[str, Any] aquin.compute.user_sae._read_meta (Path sae_path)
int|None aquin.compute.user_sae._layer_from_filename (Path path)
list[Path] aquin.compute.user_sae.user_sae_dirs_for_model (str model_id, *, bool embedding=False)
Path aquin.compute.user_sae.resolve_user_sae_path (str model_id, str name, int|None layer=None, *, bool|None embedding=None)
tuple[Path, str, int] aquin.compute.user_sae.resolve_path_sae (str|Path path, *, str|None model_id=None, int|None layer=None)
list[dict[str, Any]] aquin.compute.user_sae.list_user_saes (str|None model_id=None)
dict[str, Any]|None aquin.compute.user_sae.load_active_binding ()
dict[str, Any] aquin.compute.user_sae.save_active_binding (*, str model_id, int layer, str|Path path, str|None name=None, bool embedding=False)
None aquin.compute.user_sae.clear_active_binding ()
Path|None aquin.compute.user_sae.get_active_user_sae_path (str model_id, int layer)
dict[str, Any] aquin.compute.user_sae.activate_user_sae (*, str model_id, int layer, Path path, str|None name=None)

Variables

str aquin.compute.user_sae.USER_SAE_ROOT = Path.home() / ".aquin" / "sae" / "user"
str aquin.compute.user_sae.ACTIVE_SAE_PATH = Path.home() / ".aquin" / "active_user_sae.json"