Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
Hydraflow is a library designed to seamlessly integrate Hydra and MLflow, making it easier to manage and track machine learning experiments. By combining the flexibility of Hydra's configuration management with the robust experiment tracking capabilities of MLflow, Hydraflow provides a comprehensive solution for managing complex machine learning workflows.
You can install Hydraflow via pip:
pip install hydraflow
Here is a simple example to get you started with Hydraflow:
import hydra
import hydraflow
import mlflow
from dataclasses import dataclass
from hydra.core.config_store import ConfigStore
from pathlib import Path
@dataclass
class MySQLConfig:
host: str = "localhost"
port: int = 3306
cs = ConfigStore.instance()
cs.store(name="config", node=MySQLConfig)
@hydra.main(version_base=None, config_name="config")
def my_app(cfg: MySQLConfig) -> None:
# Set experiment by Hydra job name.
hydraflow.set_experiment()
# Automatically log Hydra config as params.
with hydraflow.start_run():
# Your app code below.
with hydraflow.watch(callback):
# Watch files in the MLflow artifact directory.
# You can update metrics or log other artifacts
# according to the watched files in your callback
# function.
pass
# Your callback function here.
def callback(file: Path) -> None:
pass
if __name__ == "__main__":
my_app()
FAQs
Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
We found that hydraflow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.