Esc
Ask AIAnswers may be inaccurate; check the linked pages.Esc
Ask anything about these docs, like how to get started or what a function does.

timesfm_local_checkpoint

Resolve a TimesFM PyTorch checkpoint file inside an HF snapshot directory. TimesFmCheckpoint.path must be a file path for torch.load; MODEL_WEIGHTS_PATH layout provides a directory root per repo id.

local_timesfm_checkpoint_file

timesfm_local_checkpoint.local_timesfm_checkpoint_file

Return the path to a checkpoint file under snapshot_dir.

Parameter Type Default Description
snapshot_dir str - (undocumented)

Returns: str (The path to a checkpoint file under snapshot_dir). Raises: FileNotFoundError (If no TimesFM PyTorch checkpoint file is found under the local weights directory).