Smartsim

Latest version: v0.8.0

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

Scan your dependencies

Page 1 of 3

0.8.0

<!-- Release notes generated using configuration in .github/release.yml at master -->

Released on 27 September, 2024

What's Changed
Features
* Implement support for SGE by ashao in https://github.com/CrayLabs/SmartSim/pull/610
* Add ability to specify hardware policies on dragon run requests by ankona in https://github.com/CrayLabs/SmartSim/pull/638
* Added type checking to params on model by juliaputko in https://github.com/CrayLabs/SmartSim/pull/676

Bug Fixes
* Fix build error caused by use of deprecated pkg_resources by ankona in https://github.com/CrayLabs/SmartSim/pull/598
* Mitigate dragon/numpy, mypy/typing_extension dependency issues by ankona in https://github.com/CrayLabs/SmartSim/pull/653

Build Improvements
* Building SmartSim without ML backends by m-kurz in https://github.com/CrayLabs/SmartSim/pull/601
* Remove builder from setup.py by ashao in https://github.com/CrayLabs/SmartSim/pull/654
* Refactor RedisAI Build by ashao in https://github.com/CrayLabs/SmartSim/pull/669

Miscellaneous Improvements
* Update tutorials and tutorial containers by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/589
* Fix util-tests outputs appearing in root directory by ankona in https://github.com/CrayLabs/SmartSim/pull/614
* Restrict to numpy 1.x by ashao in https://github.com/CrayLabs/SmartSim/pull/623
* Remove broken redis documentation links by ankona in https://github.com/CrayLabs/SmartSim/pull/627
* More easily discoverable dependencies by ashao in https://github.com/CrayLabs/SmartSim/pull/635
* Update codecov to 4.5.0 by mellis13 in https://github.com/CrayLabs/SmartSim/pull/657
* Pin watchdog version to prevent mypy errors by ashao in https://github.com/CrayLabs/SmartSim/pull/690
* Refine install documentation for Perlmutter and Frontier by ashao in https://github.com/CrayLabs/SmartSim/pull/717
* Change 'conda activate' to 'source activate' for Frontier by ashao in https://github.com/CrayLabs/SmartSim/pull/719
* Make a user-specific db cache by ashao in https://github.com/CrayLabs/SmartSim/pull/727
* Update release action to remove CI Build Wheel by MattToast in https://github.com/CrayLabs/SmartSim/pull/728

New Contributors
* m-kurz made their first contribution in https://github.com/CrayLabs/SmartSim/pull/601

**Full Changelog**: https://github.com/CrayLabs/SmartSim/compare/v0.7.0...v0.8.0

0.7.0

<!-- Release notes generated using configuration in .github/release.yml at master -->

Released on 14 May, 2024

What's Changed
Features
* Specify node feature for slurm job by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/529
* Optionally skip building Torch with Intel MKL by ashao in https://github.com/CrayLabs/SmartSim/pull/538
* Store SmartSim entity logs under the .smartsim directory by AlyssaCote in https://github.com/CrayLabs/SmartSim/pull/532
* Change default path for entities by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/533
* Preview by juliaputko in https://github.com/CrayLabs/SmartSim/pull/525
* Dragon launcher by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/580
Bug Fixes
* Update Redis dependency to 7.2.4 by ankona in https://github.com/CrayLabs/SmartSim/pull/507
* Formatting in Jupyter Notebooks by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/516
* Correct ExecArgs Handling During RunSetting by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/517
* Application executes before colocated Orchestrator is created by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/522
* Fix telemetry monitor logging errors for task history by ankona in https://github.com/CrayLabs/SmartSim/pull/557
* Remove init_default function by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/545
* Symlink batch ensembles and batch models by AlyssaCote in https://github.com/CrayLabs/SmartSim/pull/547
API Breaks
* Change Status Module by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/509
* Remove Long Deprecated SmartSim Modules by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/514
* Discontinue SmartSim support for python 3.8 by AlyssaCote in https://github.com/CrayLabs/SmartSim/pull/544
Miscellaneous Improvements
* Duplicate entity name prevention by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/480
* Change generic t.any in Experiment API by mellis13 in https://github.com/CrayLabs/SmartSim/pull/501
* Smartsim Documentation Refactor by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/463
* Enforce changelog for SmartSim PRs by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/518
* ReadTheDocs Configuration File by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/512
* Remove duplicate launched model names from full test suite by MattToast in https://github.com/CrayLabs/SmartSim/pull/520
* Mypy: Error on Common Truthy Mistakes by MattToast in https://github.com/CrayLabs/SmartSim/pull/524
* Add memory & conn collector, collector manager, tests by ankona in https://github.com/CrayLabs/SmartSim/pull/460
* Promote Build Device Option to Enum by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/527
* Disallow Uninitialized Variable Use by MattToast in https://github.com/CrayLabs/SmartSim/pull/521
* Readthedocs import extension error by amandarichardsonn in https://github.com/CrayLabs/SmartSim/pull/537
* Enhanced Signal Management by MattToast in https://github.com/CrayLabs/SmartSim/pull/535
* Update watchdog dependency by ankona in https://github.com/CrayLabs/SmartSim/pull/540
* Upgrade ubuntu to 22.04 by AlyssaCote in https://github.com/CrayLabs/SmartSim/pull/558
* Bump manifest.json version to 0.0.4 by AlyssaCote in https://github.com/CrayLabs/SmartSim/pull/563
* Force typing_extensions==4.6.1 in doc build by ashao in https://github.com/CrayLabs/SmartSim/pull/564
* Adapt tests to reuse Orchestrator by ashao in https://github.com/CrayLabs/SmartSim/pull/567
* Dragon server enhancement by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/582


**Full Changelog**: https://github.com/CrayLabs/SmartSim/compare/v0.6.2...v0.7.0

0.6.2

Released on 16 February, 2024

Description

- Patch SmartSim dependency version

Detailed Notes

- A critical performance concern was identified and addressed in SmartRedis. A patch fix was deployed, and SmartSim was updated to ensure users do not inadvertently pull the unpatched version of SmartRedis. ([SmartSim-PR493](https://github.com/CrayLabs/SmartSim/pull/493))

0.6.1

Released on 15 February, 2024

Description

- Duplicate for DBModel/Script prevented
- Update license to include 2024
- Telemetry monitor is now active by default
- Add support for Mac OSX on Apple Silicon
- Remove Torch warnings during testing
- Validate Slurm timing format
- Expose Python Typehints
- Fix test_logs to prevent generation of directory
- Fix Python Typehint for colocated database settings
- Python 3.11 Support
- Quality of life <span class="title-ref">smart validate</span> improvements
- Remove Cobalt support
- Enrich logging through context variables
- Upgrade Machine Learning dependencies
- Override sphinx-tabs background color
- Add concurrency group to test workflow
- Fix index when installing torch through smart build

Detailed Notes

- Modify the <span class="title-ref">git clone</span> for both Redis and RedisAI to set the line endings to unix-style line endings when using MacOS on ARM. ([SmartSim-PR482](https://github.com/CrayLabs/SmartSim/pull/482))
- Separate install instructions are now provided for Mac OSX on x64 vs ARM64 ([SmartSim-PR479](https://github.com/CrayLabs/SmartSim/pull/479))
- Prevent duplicate ML model and script names being added to an Ensemble member if the names exists. ([SmartSim-PR475](https://github.com/CrayLabs/SmartSim/pull/475))
- Updates <span class="title-ref">Copyright (c) 2021-2023</span> to <span class="title-ref">Copyright (c) 2021-2024</span> in all of the necessary files. ([SmartSim-PR485](https://github.com/CrayLabs/SmartSim/pull/485))
- Bug fix which prevents the expected behavior when the <span class="title-ref">SMARTSIM_LOG_LEVEL</span> environment variable was set to <span class="title-ref">developer</span>. ([SmartSim-PR473](https://github.com/CrayLabs/SmartSim/pull/473))
- Sets the default value of the "enable telemetry" flag to on. Bumps the output <span class="title-ref">manifest.json</span> version number to match that of <span class="title-ref">smartdashboard</span> and pins a watchdog version to avoid build errors. ([SmartSim-PR477](https://github.com/CrayLabs/SmartSim/pull/477))
- Refactor logic of <span class="title-ref">Manifest.has_db_objects</span> to remove excess branching and improve readability/maintainability. ([SmartSim-PR476](https://github.com/CrayLabs/SmartSim/pull/476))
- SmartSim can now be built and used on platforms using Apple Silicon (ARM64). Currently, only the PyTorch backend is supported. Note that libtorch will be downloaded from a CrayLabs github repo. ([SmartSim-PR465](https://github.com/CrayLabs/SmartSim/pull/465))
- Tests that were saving Torch models were emitting warnings. These warnings were addressed by updating the model save test function. ([SmartSim-PR472](https://github.com/CrayLabs/SmartSim/pull/472))
- Validate the timing format when requesting a slurm allocation. ([SmartSim-PR471](https://github.com/CrayLabs/SmartSim/pull/471))
- Add and ship <span class="title-ref">py.typed</span> marker to expose inline type hints. Fix type errors related to SmartRedis. ([SmartSim-PR468](https://github.com/CrayLabs/SmartSim/pull/468))
- Fix the <span class="title-ref">test_logs.py::test_context_leak</span> test that was erroneously creating a directory named <span class="title-ref">some value</span> in SmartSim's root directory. ([SmartSim-PR467](https://github.com/CrayLabs/SmartSim/pull/467))
- Add Python type hinting to colocated settings. ([SmartSim-PR462](https://github.com/CrayLabs/SmartSim/pull/462))
- Add github actions for running black and isort checks. ([SmartSim-PR464](https://github.com/CrayLabs/SmartSim/pull/464))
- Relax the required version of <span class="title-ref">typing_extensions</span>. ([SmartSim-PR459](https://github.com/CrayLabs/SmartSim/pull/459))
- Addition of Python 3.11 to SmartSim. ([SmartSim-PR461](https://github.com/CrayLabs/SmartSim/pull/461))
- Quality of life <span class="title-ref">smart validate</span> improvements such as setting <span class="title-ref">CUDA_VISIBLE_DEVICES</span> environment variable within <span class="title-ref">smart validate</span> prior to importing any ML deps to prevent false negatives on multi-GPU systems. Additionally, move SmartRedis logs from standard out to dedicated log file in the validation temporary directory as well as suppress <span class="title-ref">sklearn</span> deprecation warning by pinning <span class="title-ref">KMeans</span> constructor argument. Lastly, move TF test to last as TF may reserve the GPUs it uses. ([SmartSim-PR458](https://github.com/CrayLabs/SmartSim/pull/458))
- Some actions in the current GitHub CI/CD workflows were outdated. They were replaced with the latest versions. ([SmartSim-PR446](https://github.com/CrayLabs/SmartSim/pull/446))
- As the Cobalt workload manager is not used on any system we are aware of, its support in SmartSim was terminated and classes such as <span class="title-ref">CobaltLauncher</span> have been removed. ([SmartSim-PR448](https://github.com/CrayLabs/SmartSim/pull/448))
- Experiment logs are written to a file that can be read by the dashboard. ([SmartSim-PR452](https://github.com/CrayLabs/SmartSim/pull/452))
- Updated SmartSim's machine learning backends to PyTorch 2.0.1, Tensorflow 2.13.1, ONNX 1.14.1, and ONNX Runtime 1.16.1. As a result of this change, there is now an available ONNX wheel for use with Python 3.10, and wheels for all of SmartSim's machine learning backends with Python 3.11. ([SmartSim-PR451](https://github.com/CrayLabs/SmartSim/pull/451)) ([SmartSim-PR461](https://github.com/CrayLabs/SmartSim/pull/461))
- The sphinx-tabs documentation extension uses a white background for the tabs component. A custom CSS for those components to inherit the overall theme color has been added. ([SmartSim-PR453](https://github.com/CrayLabs/SmartSim/pull/453))
- Add concurrency groups to GitHub's CI/CD workflows, preventing multiple workflows from the same PR to be launched concurrently. ([SmartSim-PR439](https://github.com/CrayLabs/SmartSim/pull/439))
- Torch changed their preferred indexing when trying to install their provided wheels. Updated the <span class="title-ref">pip install</span> command within <span class="title-ref">smart build</span> to ensure that the appropriate packages can be found. ([SmartSim-PR449](https://github.com/CrayLabs/SmartSim/pull/449))

0.6.0

Released on 18 December, 2023

Description

- Conflicting directives in the SmartSim packaging instructions were
fixed
- <span class="title-ref">sacct</span> and
<span class="title-ref">sstat</span> errors are now fatal for
Slurm-based workflow executions
- Added documentation section about ML features and TorchScript
- Added TorchScript functions to Online Analysis tutorial
- Added multi-DB example to documentation
- Improved test stability on HPC systems
- Added support for producing & consuming telemetry outputs
- Split tests into groups for parallel execution in CI/CD pipeline
- Change signature of
<span class="title-ref">Experiment.summary()</span>
- Expose first_device parameter for scripts, functions, models
- Added support for MINBATCHTIMEOUT in model execution
- Remove support for RedisAI 1.2.5, use RedisAI 1.2.7 commit
- Add support for multiple databases

Detailed Notes

- Several conflicting directives between the
<span class="title-ref">setup.py</span> and the
<span class="title-ref">setup.cfg</span> were fixed to mitigate
warnings issued when building the pip wheel.
([SmartSim-PR435](https://github.com/CrayLabs/SmartSim/pull/435))
- When the Slurm functions <span class="title-ref">sacct</span> and
<span class="title-ref">sstat</span> returned an error, it would be
ignored and SmartSim's state could become inconsistent. To prevent
this, errors raised by <span class="title-ref">sacct</span> or
<span class="title-ref">sstat</span> now result in an exception.
([SmartSim-PR392](https://github.com/CrayLabs/SmartSim/pull/392))
- A section named *ML Features* was added to documentation. It
contains multiple examples of how ML models and functions can be
added to and executed on the DB. TorchScript-based post-processing
was added to the *Online Analysis* tutorial
([SmartSim-PR411](https://github.com/CrayLabs/SmartSim/pull/411))
- An example of how to use multiple Orchestrators concurrently was
added to the documentation
([SmartSim-PR409](https://github.com/CrayLabs/SmartSim/pull/409))
- The test infrastructure was improved. Tests on HPC system are now
stable, and issues such as non-stopped
<span class="title-ref">Orchestrators</span> or experiments created
in the wrong paths have been fixed
([SmartSim-PR381](https://github.com/CrayLabs/SmartSim/pull/381))
- A telemetry monitor was added to check updates and produce events
for SmartDashboard
([SmartSim-PR426](https://github.com/CrayLabs/SmartSim/pull/426))
- Split tests into <span class="title-ref">group_a</span>,
<span class="title-ref">group_b</span>,
<span class="title-ref">slow_tests</span> for parallel execution in
CI/CD pipeline
([SmartSim-PR417](https://github.com/CrayLabs/SmartSim/pull/417),
[SmartSim-PR424](https://github.com/CrayLabs/SmartSim/pull/424))
- Change <span class="title-ref">format</span> argument to
<span class="title-ref">style</span> in
<span class="title-ref">Experiment.summary()</span>, this is an API
break
([SmartSim-PR391](https://github.com/CrayLabs/SmartSim/pull/391))
- Added support for first_device parameter for scripts, functions, and
models. This causes them to be loaded to the first num_devices
beginning with first_device
([SmartSim-PR394](https://github.com/CrayLabs/SmartSim/pull/394))
- Added support for MINBATCHTIMEOUT in model execution, which caps the
delay waiting for a minimium number of model execution operations to
accumulate before executing them as a batch
([SmartSim-PR387](https://github.com/CrayLabs/SmartSim/pull/387))
- RedisAI 1.2.5 is not supported anymore. The only RedisAI version is
now 1.2.7. Since the officially released RedisAI 1.2.7 has a bug
which breaks the build process on Mac OSX, it was decided to use
commit
[634916c](https://github.com/RedisAI/RedisAI/commit/634916c722e718cc6ea3fad46e63f7d798f9adc2)
from RedisAI's GitHub repository, where such bug has been fixed.
This applies to all operating systems.
([SmartSim-PR383](https://github.com/CrayLabs/SmartSim/pull/383))
- Add support for creation of multiple databases with unique
identifiers.
([SmartSim-PR342](https://github.com/CrayLabs/SmartSim/pull/342))

0.5.1

What's Changed
* Refactor smart cli into subparsers by ankona in https://github.com/CrayLabs/SmartSim/pull/308
* Fix Frontier code block in doc by ashao in https://github.com/CrayLabs/SmartSim/pull/321
* Update, Apply, and Automate Python Linting by ankona in https://github.com/CrayLabs/SmartSim/pull/311
* Avoid using `shell=True` by ankona in https://github.com/CrayLabs/SmartSim/pull/327
* fix for incorrect logging message format/args by ankona in https://github.com/CrayLabs/SmartSim/pull/330
* Alter launchers to pass env when starting a local step by ankona in https://github.com/CrayLabs/SmartSim/pull/329
* Raise error for inconsistent add_ml_model and add_script parameters by juliaputko in https://github.com/CrayLabs/SmartSim/pull/324
* Raising error for reserved keywords under function parameter options in get_allocation by juliaputko in https://github.com/CrayLabs/SmartSim/pull/325
* Fix bug in logging msg format string by ankona in https://github.com/CrayLabs/SmartSim/pull/332
* Log sacct failures by ankona in https://github.com/CrayLabs/SmartSim/pull/331
* Added PR324 and PR325 to changelog by juliaputko in https://github.com/CrayLabs/SmartSim/pull/333
* Add more tests for RAI_PATH and lib path interactions by ankona in https://github.com/CrayLabs/SmartSim/pull/328
* Enable mypy generic-related checks by ankona in https://github.com/CrayLabs/SmartSim/pull/338
* Fix colocated db preparation bug when using `JsrunSettings` by ankona in https://github.com/CrayLabs/SmartSim/pull/339
* Ensemble documentation update by billschereriii in https://github.com/CrayLabs/SmartSim/pull/322
* Mitigate suppressed protected-access errors from pylint by ankona in https://github.com/CrayLabs/SmartSim/pull/341
* Apply typehints to `smartsim._core.launcher.step.*` by ankona in https://github.com/CrayLabs/SmartSim/pull/334
* Add missing changelog entries by ankona in https://github.com/CrayLabs/SmartSim/pull/345
* Add support for Slurm heterogeneous jobs by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/346
* Remove ensemble generation from DB Object tests by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/349
* Integrate PalsMpiexecSettings into Experiment factory methods by MattToast in https://github.com/CrayLabs/SmartSim/pull/343
* Smart Info by MattToast in https://github.com/CrayLabs/SmartSim/pull/350
* `smart validate` should not hang when error in TF process by MattToast in https://github.com/CrayLabs/SmartSim/pull/351
* Print attached files by al-rigazzi in https://github.com/CrayLabs/SmartSim/pull/352
* Update documentation surrounding contributions by ashao in https://github.com/CrayLabs/SmartSim/pull/344
* Remove references in docs to nonexistent CLI flag by MattToast in https://github.com/CrayLabs/SmartSim/pull/358
* Pretty print error message when onnx wheel not available by MattToast in https://github.com/CrayLabs/SmartSim/pull/359
* Update `cibuildwheel` version by MattToast in https://github.com/CrayLabs/SmartSim/pull/360
* Update changelog for release by MattToast in https://github.com/CrayLabs/SmartSim/pull/361
* Version Bump by MattToast in https://github.com/CrayLabs/SmartSim/pull/362


**Full Changelog**: https://github.com/CrayLabs/SmartSim/compare/v0.5.0...v0.5.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.