Ai-microcore

Latest version: v3.12.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

3.6.0

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.5.0...v3.6.0

3.5.0

Parallel inference functionality added

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.4.0...v3.5.0

3.4.0

Changes include transformers adapter improvements, new config options: & utils:

- support inference via transformers.pipeline
- init_params.always_clear_mem: gc.collect() & torch.cuda.empty_cache() before inference
- init_params.gradient_checkpointing: bool
- init_params.pipeline_task: str
- init_params.use_pipeline: bool
- possibility to configure transformers inference function by name (str)
- utils: ui.black() added
- bugfix: prevent config validation errors for ApiType.NONE
- config validation tests, Qwen1.5-1.8B-Chat added to local transformers tests

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.3.1...v3.4.0

3.3.1

- utils.dedent() implemented, automatically removing indent from template strings in mc.prompt()
- fmt(): alias to prompt()
- fmt, prompt, Config added mo module exports

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.2.1...v3.3.1

3.2.1

Changes

- ApiType.NONE added for handling setups without language model

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.2.0...v3.2.1

3.2.0

Changes:

- New functionality: utils.extract_number() // LLMResponse.parse_number(): parsing numbers from llm responses
- LLMResponse.gen_duration: float attribute added (inference duration in seconds)
- Configuring improvements: Automatically convert configuration keys to uppercase
- Configuring improvements: Add LLM_ prefix to keys if necessary
- Configuring improvements: Allow to configure from Config instance or dictionary
- Fixed: various occurrences of inoptimal arguments merging (impossibility to override defaults)
- Local models functionality reworked

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.1.0...v3.2.0

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.