From 58794e4945e1e516982f997f50b3481a41f64b2a Mon Sep 17 00:00:00 2001 From: pjflux2001 Date: Mon, 2 Oct 2023 19:08:16 +0530 Subject: [PATCH 1/2] fix CI pipelines --- .../jupyter/production/PolyPhy_3D_discrete_data.ipynb | 2 +- experiments/jupyter/production/imgui.ini | 6 +++--- experiments/jupyter/production/polyphy_2DDiscrete.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/experiments/jupyter/production/PolyPhy_3D_discrete_data.ipynb b/experiments/jupyter/production/PolyPhy_3D_discrete_data.ipynb index 29b4f49..8d82534 100644 --- a/experiments/jupyter/production/PolyPhy_3D_discrete_data.ipynb +++ b/experiments/jupyter/production/PolyPhy_3D_discrete_data.ipynb @@ -134,7 +134,7 @@ "outputs": [], "source": [ "## Initialize Taichi\n", - "ti.init(arch=ti.gpu, device_memory_GB=4.0, dynamic_index=True)\n", + "ti.init(arch=ti.cpu)\n", "rng = default_rng()\n", "\n", "## Initialize data and agents\n", diff --git a/experiments/jupyter/production/imgui.ini b/experiments/jupyter/production/imgui.ini index e614382..b86526b 100644 --- a/experiments/jupyter/production/imgui.ini +++ b/experiments/jupyter/production/imgui.ini @@ -4,12 +4,12 @@ Size=400,400 Collapsed=0 [Window][Main] -Pos=14,9 -Size=327,870 +Pos=14,8 +Size=327,757 Collapsed=0 [Window][Help] -Pos=358,9 +Pos=358,8 Size=864,307 Collapsed=1 diff --git a/experiments/jupyter/production/polyphy_2DDiscrete.py b/experiments/jupyter/production/polyphy_2DDiscrete.py index c39563b..2e2c7f8 100644 --- a/experiments/jupyter/production/polyphy_2DDiscrete.py +++ b/experiments/jupyter/production/polyphy_2DDiscrete.py @@ -12,7 +12,7 @@ def __init__(self): self.rng = default_rng() self.ppInputData = PPInputData_2DDiscrete(self.input_file, self.rng) self.ppConfig.register_data(self.ppInputData) - ti.init(arch=ti.gpu) + ti.init(arch=ti.cpu) self.kernels = PPKernels() self.ppInternalData = PPInternalData_2DDiscrete(self.rng, self.kernels, self.ppConfig) From ab6bbecfe1666c36dd303beebeaa2766ac2c88b5 Mon Sep 17 00:00:00 2001 From: pjflux2001 Date: Mon, 2 Oct 2023 19:10:09 +0530 Subject: [PATCH 2/2] fixing the gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 929700c..19034c4 100644 --- a/.gitignore +++ b/.gitignore @@ -128,7 +128,7 @@ dmypy.json # Pyre type checker .pyre/ -experiments/jupyter/imgui.ini +experiments/jupyter/production/imgui.ini src/imgui.ini # MacOS files