Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYPI project is not updated #8477

Open
SohamTilekar opened this issue Feb 20, 2024 · 8 comments
Open

PYPI project is not updated #8477

SohamTilekar opened this issue Feb 20, 2024 · 8 comments
Labels
question Question on using Taichi

Comments

@SohamTilekar
Copy link

How do I install Latest taichi using pypi insted of using pip install git+...
taichi project is not updated on pypi. It is Hard to install it using git+ way for any module.

@SohamTilekar SohamTilekar added the question Question on using Taichi label Feb 20, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Feb 20, 2024
@JamesParrott
Copy link

Taichi 1.7 is the latest release on both.

https://github.com/taichi-dev/taichi/releases
https://pypi.org/project/taichi/#history

pip install git+https://github... builds a development version from source. However other code hosting services are available too. Even non-git ones.

Pypi doesn't check every possible location a project could host its source code.

@SohamTilekar SohamTilekar closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Taichi Lang Feb 21, 2024
@SohamTilekar
Copy link
Author

But It Does not Support pyhton version 3.12. but git one dose.

pip install taichi

> ERROR: Could not find a version that satisfies the requirement taichi (from versions: none)
> ERROR: No matching distribution found for taichi

@SohamTilekar SohamTilekar reopened this Feb 21, 2024
@bobcao3
Copy link
Collaborator

bobcao3 commented Feb 21, 2024

But It Does not Support pyhton version 3.12. but git one dose.

pip install taichi

> ERROR: Could not find a version that satisfies the requirement taichi (from versions: none)
> ERROR: No matching distribution found for taichi

We won't support 3.12 until PyTorch reached it... Otherwise our CI tests simply won't pass

@SohamTilekar
Copy link
Author

git+... version supports the python3.12 but the pypi hosted version do not.

@JamesParrott
Copy link

Presumably the git+ version is not a supported release, but the in-development version, that can't pass the CI tests until PyTorch is updated.

@feature-engineer
Copy link

@JamesParrott pytorch already supports python 3.12, so I guess the next version of taichi would support it as well?

Any idea when it is going to be available?

@JamesParrott
Copy link

JamesParrott commented Jun 19, 2024

I haven't the faintest idea. But to make it happen, you could run the Python 3.12 tests the devs mentioned, that were waiting on PyTorch. #8365

It looks like they're very nearly there, there're just a couple of little issues to sort out on Apple M1 (int 32 overflows).

 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/python/test_reduction.py:85: in _test_reduction_single
    assert criterion(tot[None], ground_truth)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = 1, y = np.int32(1)

>   _test_reduction_single(ti.i32, lambda x, y: x % 2**32 == y % 2**32, op)
E   OverflowError: Python integer 4294967296 out of bounds for int32

https://github.com/taichi-dev/taichi/actions/runs/9571475701/job/26388688466

@bobcao3
Copy link
Collaborator

bobcao3 commented Jun 23, 2024

We are fixing some of the last bugs with Python 3.12 and numpy 2.0, I think for most of the x86 platforms we are building 3.12 wheels for nightly, you can install the nightly for now. The mac os arm64 nightly should be unblocked by #8522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
Status: Done
Development

No branches or pull requests

4 participants