solve python 3.13 pip install
This commit is contained in:
parent
4788bbe184
commit
391d29fe4f
10
README.md
10
README.md
@ -55,6 +55,16 @@ uv tool install --upgrade mflux
|
|||||||
|
|
||||||
to get the `mflux-generate` and related command line executables. You can skip to the usage guides below.
|
to get the `mflux-generate` and related command line executables. You can skip to the usage guides below.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>For Python 3.13 dev preview</summary>
|
||||||
|
```sh
|
||||||
|
uv venv --python 3.13
|
||||||
|
python -V # e.g. Python 3.13.0rc2
|
||||||
|
source .venv/bin/activate
|
||||||
|
uv pip install --pre --extra-index-url https://download.pytorch.org/whl/nightly -e .
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>For the classic way to create a user virtual environment:</summary>
|
<summary>For the classic way to create a user virtual environment:</summary>
|
||||||
|
|
||||||
|
|||||||
@ -14,14 +14,18 @@ license = { file = "LICENSE" }
|
|||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"huggingface-hub>=0.24.5,<1.0",
|
"huggingface-hub>=0.24.5,<1.0",
|
||||||
"mlx>=0.16.0,<1.0",
|
"mlx>=0.20.0,<1.0",
|
||||||
"numpy>=2.0.1,<3.0",
|
"numpy>=2.0.1,<3.0",
|
||||||
"opencv-python>=4.10.0,<5.0",
|
"opencv-python>=4.10.0,<5.0",
|
||||||
"piexif>=1.1.3,<2.0",
|
"piexif>=1.1.3,<2.0",
|
||||||
"pillow>=10.4.0,<11.0",
|
"pillow>=10.4.0,<11.0; python_version<'3.13'",
|
||||||
|
"pillow>=11.0,<12.0; python_version>='3.13'",
|
||||||
"safetensors>=0.4.4,<1.0",
|
"safetensors>=0.4.4,<1.0",
|
||||||
"sentencepiece>=0.2.0,<1.0",
|
"sentencepiece>=0.2.0,<1.0; python_version<'3.13'",
|
||||||
"torch>=2.3.1,<3.0",
|
"tokenizers>=0.20.3; python_version>='3.13'", # transformers -> tokenizers
|
||||||
|
"torch>=2.3.1,<3.0; python_version<'3.13'",
|
||||||
|
# torch dev builds: pip install --pre --index-url https://download.pytorch.org/whl/nightly
|
||||||
|
"torch>=2.6.0.dev20241106; python_version>='3.13'",
|
||||||
"tqdm>=4.66.5,<5.0",
|
"tqdm>=4.66.5,<5.0",
|
||||||
"transformers>=4.44.0,<5.0",
|
"transformers>=4.44.0,<5.0",
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user