From 7f464ef03fca767dd9b8366780f1b2b7f6d8893b Mon Sep 17 00:00:00 2001 From: Liu Liu Date: Mon, 10 Jun 2024 13:04:08 -0400 Subject: [PATCH] Fix a seed for a unit test to dig into whether it is something else. --- test/unit/nnc/cnnp.core.tests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/nnc/cnnp.core.tests.c b/test/unit/nnc/cnnp.core.tests.c index 205403425..cddd4adfe 100644 --- a/test/unit/nnc/cnnp.core.tests.c +++ b/test/unit/nnc/cnnp.core.tests.c @@ -2072,6 +2072,7 @@ TEST_CASE("LoRA fine-tuning GEMM set is_trainable to false and with gradient che TEST_CASE("LoRA fine-tuning MLP with GELU, set is_trainable to false and with gradient checkpointing") { + ccv_nnc_stream_context_set_seed(0, 47); const ccv_cnnp_model_io_t input = ccv_cnnp_input(); ccv_cnnp_model_t* const fc1 = ccv_cnnp_dense(10, 1, -1, "fc1"); ccv_cnnp_model_t* const fc2 = ccv_cnnp_dense(10, 1, -1, "fc2");