# Lab 3 Not getting the right compute

**URL:** <https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737>\
**Category:** Generative AI with Large Language Models\
**Tags:** week-module-3\
**Created:** [October 22, 2023, 1:37am UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737 "2023-10-22T01:37:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BharatBargujar](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@BharatBargujar](https://community.deeplearning.ai/u/BharatBargujar)\
**Post date:** [October 22, 2023, 1:37am UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/1 "2023-10-22T01:37:53Z")

</div>

Hi All,

I am not able to select large kernel: Recommended is “8vCPU + 32 GiB” but I am not able to select anything else other than “2vCPU + 4 GiB”. And because of that Lab is crashing and Kernal is getting restarted on following code:

toxicity\_evaluator = evaluate.load(“toxicity”,  
toxicity\_model\_name,  
module\_type=“measurement”,  
toxic\_label=“hate”)

Please help as tomorrow is the last date of submission. I need to finish this.

Regards,  
Bharat

---

<div class="post-metadata">

**Author:** ![leonardo.pabon](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/leonardo.pabon/32/67180_2.png) [@leonardo.pabon](https://community.deeplearning.ai/u/leonardo.pabon)\
**Post date:** [October 22, 2023, 2:15am UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/2 "2023-10-22T02:15:15Z")

</div>

Hi,

It’s important to select the instance with the exact name as provided in the instructions. When I did this course the instance name was: **Ml.m5.2xlarge**.

---

<div class="post-metadata">

**Author:** ![BharatBargujar](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@BharatBargujar](https://community.deeplearning.ai/u/BharatBargujar)\
**Post date:** [October 23, 2023, 8:18pm UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/3 "2023-10-23T20:18:52Z")

</div>

For me it is not letting me select large but only Medium.

---

<div class="post-metadata">

**Author:** ![Sandip\_Lahiri](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sandip\_Lahiri](https://community.deeplearning.ai/u/Sandip_Lahiri)\
**Post date:** [October 25, 2023, 7:05pm UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/4 "2023-10-25T19:05:05Z")

</div>

The python notebook is not letting me select _any_ instance type other than the default ml.m5.medium 2 vCPU and 4 GiB RAM.

---

<div class="post-metadata">

**Author:** ![leonardo.pabon](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/leonardo.pabon/32/67180_2.png) [@leonardo.pabon](https://community.deeplearning.ai/u/leonardo.pabon)\
**Post date:** [October 26, 2023, 12:12pm UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/5 "2023-10-26T12:12:34Z")

</div>

Someone said you should select the second instance **ml.m5.2xlarge**.

If it doesn’t work, use this form to ask for help.

> **[GenAI with LLMs Lab Issue Report](https://docs.google.com/forms/d/e/1FAIpQLSfzegoOO0vitgyP4bu1-pf--gnfcSFoX_dGLPTgiciKmkrAnA/viewform)**
>
> Please fill out this form so we can resolve issues with your AWS student account.

---

<div class="post-metadata">

**Author:** ![Dr\_Gregory\_Hill](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@Dr\_Gregory\_Hill](https://community.deeplearning.ai/u/Dr_Gregory_Hill)\
**Post date:** [November 17, 2023, 7:10am UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/6 "2023-11-17T07:10:33Z")

</div>

I have struggled with this issue for several days.

The team at Vocareum have confirmed they can’t change the machine on their side; it needs to be done by Coursera.

This is very disappointing. Every lab for me has been riddled with various problems, as noted here and elsewhere.

---

<div class="post-metadata">

**Author:** ![Dr\_Gregory\_Hill](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@Dr\_Gregory\_Hill](https://community.deeplearning.ai/u/Dr_Gregory_Hill)\
**Post date:** [November 17, 2023, 7:55am UTC](https://community.deeplearning.ai/t/lab-3-not-getting-the-right-compute/474737/8 "2023-11-17T07:55:41Z")

</div>

Okay, it has loaded the “right” kernel and I’ve been able to complete the lab.

Unfortunately, I can’t offer any guidance as to why it started to work. I have tried it over 20 times across three days and two different laptops. I tried all the kernels equivalent to the target spec (ml.m5.2xlarge).

After posting here, I gave it one more go and it worked. I can’t explain why.
