When running the cell about “calculating model toxicity before fine-tuning”, getting
ValueError: Unable to avoid copy while creating an array as requested.
Hi, and welcome to the Forum! This was patched just recently, but we’ll check again. Thanks for reporting.
Turns out there’s another recent lab env update in Sagemaker. Will fix this ASAP.
Hi. A quick patch is rolled out to address this. Please relaunch the lab and follow the instructions at the top of the page to install and switch to the right kernel. We’ll do another patch to make this more seamless, but this should work for now. Thank you.
Thank you. This wasn’t the case earlier. Will investigate. Locking the lab for now.
Hi. This should now be fixed. Thanks again for bringing this to our attention!
Interesting. This was tested a few times, including lab reset, before deploying and that didn’t come up. Will check again and resolve by Monday. In the meantime, you can submit your work now to make sure this doesn’t block you from completing the course. There is no graded function in this lab so it’s okay even if there’s an error. You can just retake it once it’s fixed. Thank you.
Hi. I wasn’t able to reproduce the issue but I see how it might happen. This should now be addressed in the latest revision. Please relaunch again from the classroom. Thank you.