Getting started
1. Create an account
Sign up at /signup. Your personal workspace and a main environment are created automatically.
2. Install the CLI
curl -sSL https://tengsuan.cloud/install.sh | sh
This places a single-file ts command in ~/.local/bin. It needs Python 3.9+ and nothing else.
3. Authenticate
In the console go to Settings → API tokens → New token and paste the command it shows:
ts token set --token-id ak-… --token-secret as-…
4. Add credits
Go to Billing → Add credits. Runs need a positive balance covering at least 10 minutes at the chosen rate.
5. Run
echo 'import torch; print(torch.cuda.get_device_name())' > hello.py
ts run hello.py --gpu t4 --image pytorch