Skip to content

Commit 1d8aaef

Browse files
committed
Adds prod and dev mode for tunix.
1 parent 7532814 commit 1d8aaef

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,16 @@ You can install Tunix in several ways:
6767
1. From PyPI (recommended):
6868

6969
```sh
70-
pip install tunix
70+
pip install "tunix[prod]"
7171
```
7272

73-
2. With development extras If you want to contribute or run tests and examples
74-
locally:
75-
76-
```
77-
pip install "tunix[dev]"
78-
```
79-
80-
3. Directly from GitHub (latest main branch)
73+
2. Directly from GitHub (latest main branch)
8174

8275
```sh
8376
pip install git+https://github.com/google/tunix
8477
```
8578

86-
4. From source (editable install) If you plan to modify the codebase and run it
79+
3. From source (editable install) If you plan to modify the codebase and run it
8780
in development mode:
8881

8982
```sh

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ classifiers = [
1919
]
2020
dependencies = [
2121
"datasets",
22-
"flax>=0.12.0",
2322
"gcsfs",
2423
"grain",
2524
"huggingface_hub",
@@ -49,9 +48,11 @@ docs = [
4948
"sphinx-collections>=0.0.1",
5049
"sphinx_contributors",
5150
]
51+
prod = [
52+
"flax>=0.12.0",
53+
]
5254
dev = [
53-
"flax@git+https://github.com/google/flax",
54-
"qwix@git+https://github.com/google/qwix",
55+
"flax>=0.11.2",
5556
]
5657

5758
[project.urls]

0 commit comments

Comments
 (0)