已合并
[pytorch][build]update setup.py version and python support range 2.2.0 #4078
[pytorch][build]update setup.py version and python support range 2.2.0 #4078
已合并
tichang创建于 1月21日
共 1 个文件变更+4-7
@@ -1,5 +1,5 @@
1# coding=utf-81# coding=utf-8
2-# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.2+# Copyright (c) 2025, HUAWEI CORPORATION. All rights reserved.
3#3#
4# Licensed under the Apache License, Version 2.0 (the "License");4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.5# you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ if sys.version_info < (3,):
22 raise Exception("Python 2 is not supported by MindSpeed-LLM.")22 raise Exception("Python 2 is not supported by MindSpeed-LLM.")
23 23 
24__description__ = 'MindSpeed-LLM for LLMs of Ascend'24__description__ = 'MindSpeed-LLM for LLMs of Ascend'
25-__version__ = '0.0.1'25+__version__ = '2.2.0'
26__author__ = 'Ascend'26__author__ = 'Ascend'
27__long_description__ = 'MindSpeed-LLM for LLMs of Ascend'27__long_description__ = 'MindSpeed-LLM for LLMs of Ascend'
28__keywords__ = 'Ascend, langauge, deep learning, NLP'28__keywords__ = 'Ascend, langauge, deep learning, NLP'
@@ -97,16 +97,13 @@ setuptools.setup(
97 'Topic :: Scientific/Engineering :: Artificial Intelligence',97 'Topic :: Scientific/Engineering :: Artificial Intelligence',
98 'Topic :: Software Development :: Libraries :: Python Modules',98 'Topic :: Software Development :: Libraries :: Python Modules',
99 # Supported python versions99 # Supported python versions
100- 'Programming Language :: Python :: 3.6',100+ 'Programming Language :: Python :: 3.10',
101- 'Programming Language :: Python :: 3.7',
102- 'Programming Language :: Python :: 3.8',
103- 'Programming Language :: Python :: 3.9',
104 # Additional Setting101 # Additional Setting
105 'Environment :: Console',102 'Environment :: Console',
106 'Natural Language :: English',103 'Natural Language :: English',
107 'Operating System :: OS Independent',104 'Operating System :: OS Independent',
108 ],105 ],
109- python_requires='>=3.6',106+ python_requires='>=3.10',
110 packages=setuptools.find_packages(),107 packages=setuptools.find_packages(),
111 install_requires=install_requires,108 install_requires=install_requires,
112 # Add in any packaged data.109 # Add in any packaged data.