-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Update requirements.txt #564
base: main
Are you sure you want to change the base?
Conversation
The current pip library does not provide version 2.4.1 'touch' and version 3.0.0 'triton', and the 'requirements.txt' file has been updated to a minimum to meet the current pip installation requirements
cf: #410 this and the foregoing are subject matter for an Issue not for a Pull Request |
if you update requirements.txt, please make sure it works and update readme, thanks |
torch==2.4.1 | ||
triton==3.0.0 | ||
torch==2.6.0 | ||
triton==3.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update readme here:
Line 275 in 1d7d440
torch==2.4.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the reminder. Recently, some security incidents have made it impossible for me to take time to verify every file. I am slowly sorting out the information related to the changes in this branch.
creating a virtual environment, and upgrading pip in that virtual environment to 23.0.1 in that virtual environment then running didn't let download complete however as the computer I ran the command on was running python 3.9.21 torch-2.4.1-cp39-cp39-manylinux1_x86_64.whl.metadata (26 kB) |
Currently, I can only say that the branch can meet the basic requirements and run locally on my machine. I am trying to explain from a code perspective why it is suitable to update to the current version. I will reply again when I finish. |
In this branch, I have made the following updates:
to meet the requirements for Python 3.13. Considering that the Note Linux with Python 3.10 only. Mac and Windows are not supported. I have not yet tested the version 3.9.21. However, these two versions of the environment clearly exist in the Tsinghua repository. In this branch, you can try switching to the following two wheel files for installation:
|
This pull was opened on Feb 4, 2025. I'm not trying on my end to install dependencies on an older than Python 3.10.
The wording in On Sep 4, 2024, that package's version 2.4.1 was released; the version currently listed in the README.md file. I'm not thinking personally along the lines of newest known version but known to work version, which is why above I deferred the matter to an Issue. But then perhaps I'm missing something. |
i think a work version is just fine, no need to follow the newest... but we should make sure it works fine (for Linux with Python 3.10 only) |
@piratagit As it stands neither user has been forthcoming with for example an excerpt of shell output running Python 3.10 showing failure of torch==2.4.1 and triton==3.0.0 to complete installation, under that circumstance I therefore think it is appropriate to close both Pull Requests.
As I wrote before the subject of updating [the python version] and dependencies' versions might favourably be raised in an Issue which states the reasons for the request and furthermore demonstrates that the user has confirmed before opening the Issue that a proposed updated interpreter version and/or dependencies' versions work with the specified software [and will pass tests, if and where appropriate]. This additionally might be a policy consideration as applied Organization wide. |
Yes, Torch==2.4.1 and Triton==3.0.0 can run normally in Python 3.10 version. If Deepseek does not need to consider upward compatibility issues, this branch can be closed. There are: issues#478, issues#325I believe the root cause of multiple issues caused by the Python language environment itself is due to some older libraries not keeping up with the environment after the major version update of Python 3.13, resulting in the failure of the latest Python deployment. This can be addressed through Qinghua Source As an example, Torch==2.6.0 and Triton==3.2.0 are compatible with versions from Python 3.9 to Python 3.13. I have only provided update suggestions based on my own needs, and whether forward compatibility is necessary still needs to be decided by the responsible person.
But this will take time. |
cf:
cf:
They're both running an unsupported Operating System. Neither Issue clarified which interpreter version was utilised. I point out that some users in their Issues are sparing in the information they provide. A former Bell Labs employee once commented that if you write a program you have to maintain the libraries it uses.
I'm unqualified to respond on that matter. A Python environment is a context in which you run Python code and includes global, virtual, and conda environments. An environment consists of an interpreter, a library (typically the Python Standard Library), and a set of installed packages. These components together determine valid language constructs and syntax, operating-system functionality that you can access, and packages you can use. © Microsoft 2025 |
The current pip library does not provide version 2.4.1 'touch' and version 3.0.0 'triton', and the 'requirements.txt' file has been updated to a minimum to meet the current pip installation requirements