Skip to content

Commit e3665d5

Browse files
rpranabPranab Rajbhandari
and
Pranab Rajbhandari
authored
Genai fixes (#1759)
* installation documentation for oneliner * screenshot fix * Update Gemfile.lock --------- Co-authored-by: Pranab Rajbhandari <pranabrajbhandari@Pranabs-MacBook-Pro.local>
1 parent 8876cf7 commit e3665d5

File tree

2 files changed

+63
-14
lines changed

2 files changed

+63
-14
lines changed
-149 KB
Loading

docs/en/alab/install.md

Lines changed: 63 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ Visit the [product page on AWS Marketplace](https://aws.amazon.com/marketplace/p
4747
- Deploy it on a new machine.
4848
- In Launch an instance configuration attach IAM role to the AMI (IAM role attached to the AMI machine should have access to both `aws-marketplace:MeterUsage` and `ec2:DescribeInstanceTypes` permission)
4949

50-
![IAM](/assets/images/annotation_lab/iam.png)
51-
50+
![IAM](/assets/images/annotation_lab/iam.png)
51+
5252
- In advance details, enable `Metadata accessible` and select `V1 and V2` in `Metadata version`
5353

54-
![metadata](/assets/images/annotation_lab/metadata.png)
54+
![metadata](/assets/images/annotation_lab/metadata.png)
5555

5656
- Access the login page for a guided experience on `http://INSTANCE_IP`. For the first login use the following credentials:
57-
Username: admin
58-
Password: INSTANCE_ID
57+
Username: admin
58+
Password: INSTANCE_ID
5959

6060
<div class="cell cell--12 cell--lg-6 cell--sm-12"><div class="video-item">{%- include extensions/youtube.html id='ebaewU4BcQA' -%}<div class="video-descr">Deploy Generative AI Lab via AWS Marketplace</div></div></div>
6161

@@ -198,24 +198,24 @@ Visit the [product page on Azure Marketplace](https://azuremarketplace.microsoft
198198

199199
1. Click on the "Get It Now" link.
200200

201-
![azure](/assets/images/annotation_lab/aws/getitnow.png)
201+
![azure](/assets/images/annotation_lab/aws/getitnow.png)
202202

203203
2. Select your subscription and the region where you want to deploy the cluster, then click "Next."
204204

205-
![azure](/assets/images/annotation_lab/aws/resourceGroup.png)
205+
![azure](/assets/images/annotation_lab/aws/resourceGroup.png)
206206

207207
3. Choose the appropriate VM size and enable auto-scaling if you want nodes to be added automatically when needed. Then click "Next."
208208

209-
![azure](/assets/images/annotation_lab/aws/clustersize.png)
209+
![azure](/assets/images/annotation_lab/aws/clustersize.png)
210210

211211
4. Provide the password (this will be used to access the Generative AI Lab UI with the admin user), then click "Next."
212212

213-
![azure](/assets/images/annotation_lab/aws/pass.png)
213+
![azure](/assets/images/annotation_lab/aws/pass.png)
214214

215215
5. Review the configuration and then click "Create."
216216

217-
![azure](/assets/images/annotation_lab/aws/create.png)
218-
217+
![azure](/assets/images/annotation_lab/aws/create.png)
218+
219219
6. Visit the login page at http://External_IP for a guided experience. For your initial login, use the following credentials: Username: admin, Password: the password set in step 4.
220220

221221
**Note:** You can find the External_IP under Kubernetes resources by navigating to Services and ingresses and locating the addon-http-application-routing-nginx-ingress service name.
@@ -268,10 +268,59 @@ kubectl get pods
268268
</div><div class="h3-box" markdown="1">
269269

270270

271-
272271
## Dedicated Server
273272

274-
For installing Generative AI Lab on a dedicated server please contact us at [support@johnsnowlabs.com](mailto:support@johnsnowlabs.com).
273+
**On-Prem Installation Guide**
274+
275+
**Prerequisites:** `curl` and `jq` tools must be installed.
276+
277+
**Step 1: Create the License File**
278+
Create a file named `License` and add your application key inside the file. You can use the following command:
279+
280+
```sh
281+
echo "YOUR_APPLICATION_KEY" > LICENSE
282+
```
283+
284+
**Step 2: Run the Installation/Upgrade Command**
285+
286+
- Install `latest` version:
287+
288+
```sh
289+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/install.sh | bash
290+
```
291+
292+
- Install `latest` version with GPU support
293+
294+
```sh
295+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/install.sh | bash -s GPU
296+
```
297+
298+
- Install custom version
299+
300+
```sh
301+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/install.sh | bash -s 7.0.0
302+
```
303+
304+
- Install custom version with GPU support
305+
306+
```sh
307+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/install.sh | bash -s 7.0.0 GPU
308+
```
309+
310+
- Upgrade to `latest` version
311+
312+
```sh
313+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/upgrade.sh | bash
314+
```
315+
316+
- Upgrade to custom version
317+
318+
```sh
319+
curl -sSL https://s3.us-east-1.amazonaws.com/artifacts.genailab.johnsnowlabs.com/upgrade.sh | bash -s 7.0.0
320+
```
321+
322+
For more information regarding installation of Generative AI Lab on a dedicated server please contact us at [support@johnsnowlabs.com](mailto:support@johnsnowlabs.com).
323+
275324

276325
### Recommended Configurations
277326

@@ -288,7 +337,7 @@ For installing Generative AI Lab on a dedicated server please contact us at [sup
288337
<th>Server requirements</th>
289338
<td>The minimal required configuration is <bl>32GB RAM, 8 Core CPU, 512 Storage (Root directory requires 80 gb free space for k3s installation)</bl>.<br /><br />
290339

291-
The ideal configuration in case model training and preannotations are required on a large number of tasks is <bl>64 GiB, 16 Core CPU, 512 SSD</bl>.
340+
The ideal configuration in case model training and pre-annotations are required on a large number of tasks is <bl>64 GiB, 16 Core CPU, 512 SSD</bl>.
292341
</td>
293342

294343
</tr>

0 commit comments

Comments
 (0)