Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda_meta/basic/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.14.2" %}
{% set version = "2.0" %}
{% set buildnumber = 0 %}
package:
name: neural-compressor
Expand Down
2 changes: 1 addition & 1 deletion conda_meta/full/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.14.2" %}
{% set version = "2.0" %}
{% set buildnumber = 0 %}
package:
name: neural-compressor-full
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel® Neural Compressor: An open-source Python library supporting popular model compression techniques."""
__version__ = "1.14.2"
__version__ = "2.0"
8 changes: 4 additions & 4 deletions test/config/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_device(self):

def test_version(self):
test = '''
version: 2.0
version: 1.0

model:
name: version_yaml
Expand All @@ -128,18 +128,18 @@ def test_version(self):
'''
helper(test)
config = conf.Conf('fake_conf.yaml')
self.assertEqual(config.usr_cfg.version, 1.0)
self.assertEqual(config.usr_cfg.version, 2.0)

test = '''
version: 1.0
version: 2.0

model:
name: version_yaml
framework: mxnet
'''
helper(test)
config = conf.Conf('fake_conf.yaml')
self.assertEqual(config.usr_cfg.version, 1.0)
self.assertEqual(config.usr_cfg.version, 2.0)

def test_calibration(self):
test = '''
Expand Down