Skip to content

Commit bfc7211

Browse files
committed
Update
[ghstack-poisoned]
2 parents 7fa90a9 + 1715158 commit bfc7211

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backends/vulkan/test/op_tests/adamw_step_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void test_vulkan_adamw_step(
6262
const double eps,
6363
const double weight_decay,
6464
const int step) {
65-
torch::manual_seed(0);
65+
at::manual_seed(0);
6666

6767
const double bias_correction1 = 1.0 - std::pow(beta1, step);
6868
const double bias_correction2 = 1.0 - std::pow(beta2, step);

backends/vulkan/test/op_tests/fused_ce_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void test_vulkan_fused_ce(
4848
const int vocab,
4949
const std::vector<int32_t>& labels_data,
5050
const double n_valid) {
51-
torch::manual_seed(0);
51+
at::manual_seed(0);
5252

5353
at::Tensor logits =
5454
at::rand({n_rows, vocab}, at::device(at::kCPU).dtype(at::kFloat)) * 4.0 -

0 commit comments

Comments
 (0)