Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
# How to request an HPC account

:::tip
Make sure you don't already have an HPC account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.md).
Make sure you don't already have an HPC account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.mdx).
:::

Login to the URL given below, using your NetID/password, to create or manage HPC Account Requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ External (non-NYU) collaborators can access, with proper sponsorship, the NYU HP
:::note
Once the sponsoring faculty approves the account request, the HPC account is created within one hour.
:::
- Once the HPC account is created, the external collaborator can access HPC resources as described in our documentation page [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.md).
- Once the HPC account is created, the external collaborator can access HPC resources as described in our documentation page [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.mdx).

:::note
As with all sponsored accounts, HPC accounts for external collaborators are valid for a period of 12 months, at which point a renewal process is required to continue access to the NYU HPC environment. You can find information about renewing your account on our documentation page [Getting and Renewing an HPC Account](./02_getting_and_renewing_an_account.mdx).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ Host torch login.torch.hpc.nyu.edu
UserKnownHostsFile /dev/null
LogLevel ERROR
```

:::warning[No SSH Keys on Torch]
SSH keys are not supported on Torch due to increased security resrtictions.
:::


### MacOS/Linux

MacOS/Linux machines have SSH clients pre-installed. Using the editor of your choice, open the `~/.ssh/config` file on your machine and add the contents listed above.
Expand Down Expand Up @@ -119,19 +125,6 @@ There is an extra layer of security when accessing Torch which is described belo
- Return to terminal and hit Enter
![torch-ssh-2fa-9](static/torch-ssh-2fa-9.png)

## SSH Keys for Torch
:::warning
SSH keys are not supported on Torch!
:::

Instead of typing your password every time you need to log in, you can also specify an ssh key.

- Only do that on the computer you trust
- Generate ssh key pair (terminal in Linux/Mac or cmd/WSL in Windows) [using ssh keygen](https://www.ssh.com/ssh/keygen/)
- Note the path to ssh key files. Don't share key files with anybody - anybody with this key file can login to your account
- Log into cluster using regular login/password and then add the content of generated public key file (the one with .pub) to `$HOME/.ssh/authorized_keys` on cluster
- Next time you will log into cluster no password will be required


[nyu vpn link]: https://www.nyu.edu/life/information-technology/infrastructure/network-services/vpn.html

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ There are specific instruction on the [rclone web site](https://rclone.org/drive

### Step 1: Login to Torch:

Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.md) to log into the Torch HPC cluster.
Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) to log into the Torch HPC cluster.

### Step 2: Load the rclone module
```sh
Expand Down
2 changes: 1 addition & 1 deletion docs/hpc/08_ml_ai_hpc/05_run_hf_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Here we provide an example of how one can run a Hugging Face Large-language mode
## Prepare environment
### Create project directory

After [logging on to a Torch login node](../02_connecting_to_hpc/01_connecting_to_hpc.md), make a directory for this project:
After [logging on to a Torch login node](../02_connecting_to_hpc/01_connecting_to_hpc.mdx), make a directory for this project:
```bash
[NetID@log-1 ~]$ mkdir -p /scratch/NetID/llm_example
[NetID@log-1 ~]$ cd /scratch/NetID/llm_example
Expand Down
2 changes: 1 addition & 1 deletion docs/hpc/09_ood/01_ood_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Just click on the `Session ID` link and a tab will open with the contents of the

#### From terminal

If your session is no longer visible from within OOD you may still be able to find your logs via the terminal. Simply [log into Torch](../02_connecting_to_hpc/01_connecting_to_hpc.md) and `cd` to `/home/$USER/ondemand/data/sys/dashboard/batch_connect/sys/` and then `cd` into the directory for the app that you're interested in. You should find the file `output.log` there.
If your session is no longer visible from within OOD you may still be able to find your logs via the terminal. Simply [log into Torch](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) and `cd` to `/home/$USER/ondemand/data/sys/dashboard/batch_connect/sys/` and then `cd` into the directory for the app that you're interested in. You should find the file `output.log` there.
2 changes: 1 addition & 1 deletion docs/hpc/09_ood/07_jupyter_with_conda_singularity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This page describes how to use your Singularity with conda environment in OOD GUI at Torch.

### Log Into Torch via the Terminal
The following commands must be run from the terminal. Information on accessing via the terminal can be found at [Connecting to the HPC](../02_connecting_to_hpc/01_connecting_to_hpc.md) or you can log into OOD and select the `Clusters` tab at the top of the page and select `Torch Shell Access`.
The following commands must be run from the terminal. Information on accessing via the terminal can be found at [Connecting to the HPC](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) or you can log into OOD and select the `Clusters` tab at the top of the page and select `Torch Shell Access`.

### Preinstallation Warning
:::warning
Expand Down
Loading