Update expected values (after switching to A10) - part 4 (#39189)
* fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -446,7 +446,8 @@ class MptIntegrationTests(unittest.TestCase):
|
||||
|
||||
input_text = "Hello"
|
||||
expected_outputs = Expectations({
|
||||
("cuda", None): "Hello, I'm a new user of the forum. I have a question about the \"Solaris",
|
||||
(None, None): "Hello, I'm a new user of the forum. I have a question about the \"Solaris",
|
||||
("cuda", 8): "Hello, I'm a new user of the forum. I have a question. I have a problem with",
|
||||
("rocm", (9, 5)): "Hello, I'm a newbie to the forum. I have a question about the \"B\" in",
|
||||
}) # fmt: off
|
||||
expected_output = expected_outputs.get_expectation()
|
||||
@@ -468,10 +469,10 @@ class MptIntegrationTests(unittest.TestCase):
|
||||
|
||||
input_text = "Hello"
|
||||
expected_outputs = Expectations({
|
||||
(None, None): "Hello and welcome to the first episode of the new podcast, The Frugal Feminist.\n",
|
||||
("rocm", (9, 5)): "Hello and welcome to the first day of the new release at The Stamp Man!\nToday we are",
|
||||
("xpu", 3): "Hello and welcome to the first ever episode of the new and improved, and hopefully improved, podcast.\n",
|
||||
("cuda", 7): "Hello and welcome to the first episode of the new podcast, The Frugal Feminist.\n",
|
||||
("cuda", 8): "Hello and welcome to the first day of the new release countdown for the month of May!\nToday",
|
||||
("cuda", 8): "Hello and welcome to the first ever episode of the new and improved, and hopefully improved, podcast.\n",
|
||||
}) # fmt: off
|
||||
expected_output = expected_outputs.get_expectation()
|
||||
|
||||
@@ -499,13 +500,17 @@ class MptIntegrationTests(unittest.TestCase):
|
||||
|
||||
expected_outputs = Expectations(
|
||||
{
|
||||
(None, None): [
|
||||
"Hello my name is Tiffany and I am a mother of two beautiful children. I have been a nanny for the",
|
||||
"Today I am going at the gym and then I am going to go to the grocery store. I am going to buy some food and some",
|
||||
],
|
||||
("xpu", 3): [
|
||||
"Hello my name is Tiffany. I am a mother of two beautiful children. I have been a nanny for over",
|
||||
"Today I am going at the gym and then I am going to go to the mall with my mom. I am going to go to the",
|
||||
],
|
||||
("cuda", 7): [
|
||||
"Hello my name is Tiffany and I am a mother of two beautiful children. I have been a nanny for the",
|
||||
"Today I am going at the gym and then I am going to go to the grocery store. I am going to buy some food and some",
|
||||
("cuda", 8): [
|
||||
"Hello my name is Tiffany and I am a mother of two beautiful children. I have been a nanny for over",
|
||||
"Today I am going at the gym and then I am going to go to the grocery store. I am going to make a list of things",
|
||||
],
|
||||
("rocm", (9, 5)): [
|
||||
"Hello my name is Jasmine and I am a very sweet and loving dog. I am a very playful dog and I",
|
||||
@@ -534,8 +539,9 @@ class MptIntegrationTests(unittest.TestCase):
|
||||
|
||||
expected_slices = Expectations(
|
||||
{
|
||||
(None, None): torch.Tensor([-0.2520, -0.2178, -0.1953]),
|
||||
("xpu", 3): torch.Tensor([-0.2090, -0.2061, -0.1465]),
|
||||
("cuda", 7): torch.Tensor([-0.2520, -0.2178, -0.1953]),
|
||||
("cuda", 8): torch.Tensor([-0.2559, -0.2227, -0.2217]),
|
||||
# TODO: This is quite a bit off, check BnB
|
||||
("rocm", (9, 5)): torch.Tensor([-0.3008, -0.1309, -0.1562]),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user