Registry / ai-ml / seahorse

seahorse

JSON →
library1.2.3pypypi✓ verified 80d ago

Seahorse is a Pytorch-based library for constructing and training large-scale transformer language models, providing tools for distributed training, model parallelism, and efficient memory usage. Currently at version 1.2.3, with active development.

pip install seahorse
INSTALL
IMPORT
SIG · SEAHORSE
S
seahorse
ai-mlpythonv1.2.3
Install
5.8s avg
Import
Disk
32MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 31.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.8s · import 0.000s · 33MB
32MB installed
● package 32MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SeaModel
import seahorse
from seahorse import SeaModel

Load a pre-trained Seahorse model and run a forward pass.

import torch from seahorse import SeaModel model = SeaModel.from_pretrained('seahorse-base') inputs = torch.randint(0, 1000, (1, 512)) outputs = model(inputs) print(outputs.shape)
Debug
Known issues
gotchaBreaking change: The 'model_parallel' argument was removed in v1.2.0. Use 'device_map' instead.
fix
Replace model_parallel=True with device_map='auto'.
affects: >=1.2.0
deprecatedThe 'load_checkpoint' function is deprecated in v1.2.0; use 'SeaModel.from_pretrained' instead.
fix
Replace load_checkpoint('path') with SeaModel.from_pretrained('path').
affects: >=1.2.0
gotchaSeahorse requires Python >=3.11; installing on older Python fails silently or with cryptic errors.
fix
Verify Python version: python --version >= 3.11.
affects: all
Upgrade
Version history
1.2.3latest on PyPI · released Jan 29, 2026
Audit
Dependencies
torchrequiredcore dependency for tensor operations and neural networks
transformersrequiredused for model architectures and tokenizers
Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
seahorse — pip install seahorse · libregistry