google / google/tunix

Gemma 3 1b model loading asyncio error on kaggle notebook

Open
#884 3 comments 0 reactions 1 assignee Claimed by @selamw1 View on GitHub
type:bug
Dominant language
Python
Stars
2.5k
Forks
345
Avg merge
1d 7h
Merged PRs (30d)
240

Description

**Expected Behavior**
The model loading without any asyncio error.
**Actual Behavior**
The model is loaded properly. But the notebook cell execution is stopped after the model load cell. Need to manually run after the model loading cells.

**Steps to Reproduce the Problem**

[tunix-error.ipynb](https://github.com/user-attachments/files/24148738/tunix-error.ipynb)

**Environment**

- **OS:** Kaggle TPU Notebook
- **Project Version:**

| Package Name | Version |
| :--- | :--- |
| jax[tpu] | 0.8.1 |
| flax | 0.12.1 |
| optax | 0.2.6 |
| qwix | 0.1.5 |
| orbax-checkpoint | 0.11.31 |
| grain | 0.2.15 |
| google-metrax | 0.2.4 |
| google-tunix[prod] | 0.1.5 |

**Checklist**

- [x] I have searched the existing issues for a similar bug report.
- [x] I have provided all the required information in the "Environment" section.
- [x] I have provided a minimal, reproducible example.

**Would you like to help us fix it?**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.