Skip to content

Commit

Permalink
Merge pull request #135 from helicalAI/main
Browse files Browse the repository at this point in the history
Fix version
  • Loading branch information
bputzeys authored Dec 5, 2024
2 parents 5183d07 + 3c21a2a commit 488294f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions examples/notebooks/Helix-mRNA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu121\n",
"!pip uninstall mamba-ssm causal-conv1d\n",
"!pip install causal-conv1d==1.4.0 && pip install mamba-ssm==2.2.2"
"!pip uninstall torch torchtext torchaudio -y\n",
"!pip install torch==2.3.0 torchtext torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
"!pip uninstall mamba-ssm causal-conv1d -y\n",
"!pip install mamba-ssm==2.2.2 --no-cache-dir"
]
},
{
Expand All @@ -49,7 +50,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install helical"
"!pip install helical\n",
"!pip uninstall causal-conv1d -y"
]
},
{
Expand Down Expand Up @@ -79,8 +81,7 @@
"import torch\n",
"import pandas as pd\n",
"\n",
"# Setting to CPU by default because of colab issues, if not run on colab, set to \"cuda\"\n",
"device=\"cpu\""
"device = \"cuda\" if torch.cuda.is_available() else \"cpu\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "helical"
version = "0.0.1a8"
version = "0.0.1a9"
authors = [
{ name="Helical Team", email="support@helical-ai.com" },
]
Expand Down Expand Up @@ -46,7 +46,7 @@ dependencies = [
'pyensembl',
'datasets==2.20.0',
'mamba-ssm==2.2.2',
'causal-conv1d==1.4.0'
'causal-conv1d==1.4.0',
]


Expand Down

0 comments on commit 488294f

Please sign in to comment.