{"id":27949,"library":"mct-quantizers-nightly","title":"MCT Quantizers Nightly","description":"Nightly (pre-release) builds of MCT Quantizers, providing infrastructure for neural network compression via quantization. Current version is 1.6.0.20250912.post11759. Released nightly, not for production use.","status":"active","version":"1.6.0.20250912.post11759","language":"python","source_language":"en","source_url":"https://github.com/sony/mct-quantizers","tags":["quantization","neural-networks","compression","nightly"],"install":[{"cmd":"pip install mct-quantizers-nightly","lang":"bash","label":"Install nightly build"}],"dependencies":[],"imports":[{"note":"Wrong submodule path; top-level import is correct.","wrong":"from mct_quantizers.quantization import QuantizationConfig","symbol":"QuantizationConfig","correct":"from mct_quantizers import QuantizationConfig"},{"note":"QuantizedLayer is at package root, not in layers submodule.","wrong":"from mct_quantizers.layers import QuantizedLayer","symbol":"QuantizedLayer","correct":"from mct_quantizers import QuantizedLayer"}],"quickstart":{"code":"import mct_quantizers\nfrom mct_quantizers import QuantizationConfig\n\n# Example: set quantization configuration\nconfig = QuantizationConfig(n_weights_bits=8, n_activation_bits=8)\nprint(config)","lang":"python","description":"Import the library and configure basic quantization parameters."},"warnings":[{"fix":"Use the stable release mct-quantizers for production.","message":"Nightly builds may have APIs that are removed in the future. Do not rely on stable interfaces.","severity":"deprecated","affected_versions":"all nightly"},{"fix":"Always import from the top-level 'mct_quantizers' package.","message":"Import paths differ between nightly and stable releases. Check documentation before upgrading.","severity":"gotcha","affected_versions":"1.6.0.*"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install the package with 'pip install mct-quantizers-nightly' and import as 'mct_quantizers'.","cause":"Nightly package is named 'mct-quantizers-nightly' on PyPI, but import uses 'mct_quantizers'.","error":"ModuleNotFoundError: No module named 'mct_quantizers'"},{"fix":"Use 'from mct_quantizers import QuantizationConfig' instead of from a submodule.","cause":"Incorrect import from a submodule that doesn't exist in nightly version.","error":"AttributeError: module 'mct_quantizers' has no attribute 'QuantizationConfig'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}