Skip to content

Commit fd615f4

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents bd7682b + e535cd8 commit fd615f4

3 files changed

Lines changed: 17 additions & 76 deletions

File tree

.github/workflows/run_linux_cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ on:
5959
python-version:
6060
description: Python version
6161
required: true
62-
default: "3.12"
62+
default: "3.13"
6363
type: choice
6464
options:
6565
- "3.13"

.github/workflows/run_notebook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: [self-hosted, Linux, X64, CUDA]
1818

1919
container:
20-
image: ghcr.io/scverse/scvi-tools:py3.12-cu12-${{ inputs.version }}-tutorials
20+
image: ghcr.io/scverse/scvi-tools:py3.13-cu12-${{ inputs.version }}-tutorials
2121
options: --user root --gpus all
2222

2323
timeout-minutes: 600 # lenient timeout for scbasset tutorial

multimodal/totalVI_reference_mapping.ipynb

Lines changed: 15 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -201,28 +201,27 @@
201201
},
202202
{
203203
"cell_type": "code",
204-
"execution_count": 5,
204+
"execution_count": null,
205+
"metadata": {},
206+
"outputs": [],
207+
"source": [
208+
"adata = scvi.data.pbmc_seurat_v4_cite_seq(\n",
209+
" save_path=save_dir.name,\n",
210+
" mask_protein_batches=5,\n",
211+
")"
212+
]
213+
},
214+
{
215+
"cell_type": "code",
216+
"execution_count": null,
205217
"metadata": {
206218
"colab": {
207219
"base_uri": "https://localhost:8080/"
208220
},
209-
"execution": {
210-
"iopub.execute_input": "2024-02-12T17:44:05.419836Z",
211-
"iopub.status.busy": "2024-02-12T17:44:05.419692Z",
212-
"iopub.status.idle": "2024-02-12T17:46:05.952898Z",
213-
"shell.execute_reply": "2024-02-12T17:46:05.952435Z"
214-
},
215221
"id": "dqFHL3TugIPi",
216222
"outputId": "b1471da0-8e2d-4e69-8479-a43985e7dd75"
217223
},
218224
"outputs": [
219-
{
220-
"name": "stdout",
221-
"output_type": "stream",
222-
"text": [
223-
"\u001b[34mINFO \u001b[0m Downloading file at \u001b[35m/tmp/tmpkyrakh_v/\u001b[0m\u001b[95mpbmc_seurat_v4.h5ad\u001b[0m \n"
224-
]
225-
},
226225
{
227226
"name": "stdout",
228227
"output_type": "stream",
@@ -7200,10 +7199,6 @@
72007199
}
72017200
],
72027201
"source": [
7203-
"adata = scvi.data.pbmc_seurat_v4_cite_seq(\n",
7204-
" save_path=save_dir.name,\n",
7205-
" mask_protein_batches=5,\n",
7206-
")\n",
72077202
"adata.layers[\"counts\"] = adata.X.copy()\n",
72087203
"sc.pp.normalize_total(adata, target_sum=1e4)\n",
72097204
"sc.pp.log1p(adata)\n",
@@ -8305,69 +8300,15 @@
83058300
},
83068301
{
83078302
"cell_type": "code",
8308-
"execution_count": 21,
8303+
"execution_count": null,
83098304
"metadata": {
83108305
"colab": {
83118306
"base_uri": "https://localhost:8080/"
83128307
},
8313-
"execution": {
8314-
"iopub.execute_input": "2024-02-12T17:50:08.588345Z",
8315-
"iopub.status.busy": "2024-02-12T17:50:08.588175Z",
8316-
"iopub.status.idle": "2024-02-12T17:58:11.125253Z",
8317-
"shell.execute_reply": "2024-02-12T17:58:11.124828Z"
8318-
},
83198308
"id": "6JFgKTnmWM_D",
83208309
"outputId": "c171ad12-db4e-4137-d24d-ffc9fb7e6733"
83218310
},
83228311
"outputs": [
8323-
{
8324-
"name": "stdout",
8325-
"output_type": "stream",
8326-
"text": [
8327-
"\u001b[34mINFO \u001b[0m Found batches with missing protein expression \n"
8328-
]
8329-
},
8330-
{
8331-
"name": "stdout",
8332-
"output_type": "stream",
8333-
"text": [
8334-
"\u001b[34mINFO \u001b[0m Computing empirical prior initialization for protein background. \n"
8335-
]
8336-
},
8337-
{
8338-
"name": "stderr",
8339-
"output_type": "stream",
8340-
"text": [
8341-
"<frozen abc>:119: FutureWarning: SparseDataset is deprecated and will be removed in late 2024. It has been replaced by the public classes CSRDataset and CSCDataset.\n",
8342-
"\n",
8343-
"For instance checks, use `isinstance(X, (anndata.experimental.CSRDataset, anndata.experimental.CSCDataset))` instead.\n",
8344-
"\n",
8345-
"For creation, use `anndata.experimental.sparse_dataset(X)` instead.\n",
8346-
"\n",
8347-
"<frozen abc>:119: FutureWarning: SparseDataset is deprecated and will be removed in late 2024. It has been replaced by the public classes CSRDataset and CSCDataset.\n",
8348-
"\n",
8349-
"For instance checks, use `isinstance(X, (anndata.experimental.CSRDataset, anndata.experimental.CSCDataset))` instead.\n",
8350-
"\n",
8351-
"For creation, use `anndata.experimental.sparse_dataset(X)` instead.\n",
8352-
"\n",
8353-
"/env/lib/python3.11/site-packages/scvi/model/base/_utils.py:126: UserWarning: Some proteins have all 0 counts in some batches. These proteins will be treated as missing measurements; however, this can occur due to experimental design/biology. Reinitialize the model with `override_missing_proteins=True`,to override this behavior.\n",
8354-
" model = cls(adata, **non_kwargs, **kwargs)\n"
8355-
]
8356-
},
8357-
{
8358-
"name": "stderr",
8359-
"output_type": "stream",
8360-
"text": [
8361-
"GPU available: True (cuda), used: True\n"
8362-
]
8363-
},
8364-
{
8365-
"name": "stderr",
8366-
"output_type": "stream",
8367-
"text": [
8368-
"TPU available: False, using: 0 TPU cores\n"
8369-
]
8370-
},
83718312
{
83728313
"name": "stderr",
83738314
"output_type": "stream",
@@ -12415,7 +12356,7 @@
1241512356
"name": "python",
1241612357
"nbconvert_exporter": "python",
1241712358
"pygments_lexer": "ipython3",
12418-
"version": "3.12.8"
12359+
"version": "3.12.7"
1241912360
},
1242012361
"toc": {
1242112362
"base_numbering": 1,

0 commit comments

Comments
 (0)