Installation

Requirements

  • Python 3.8 or higher

  • pip package manager

Basic Installation

Install Foundry-ML from PyPI:

pip install foundry-ml

This installs the core package with HTTPS download support. No additional setup required.

Optional Dependencies

HuggingFace Integration

To export datasets to HuggingFace Hub:

pip install foundry-ml[huggingface]

All Optional Dependencies

pip install foundry-ml[all]

Verify Installation

Cloud Environments

Google Colab

Foundry works in Colab without additional setup:

Jupyter Notebooks

For Jupyter running on remote servers:

Globus Setup (Optional)

For large dataset transfers, you can use Globus instead of HTTPS:

  1. Start the Globus endpoint

  2. Enable Globus in Foundry:

Note: HTTPS is the default and works for most use cases. Only use Globus if you're transferring very large datasets (>10GB) or have institutional Globus endpoints.

Troubleshooting

Import Errors

If you get import errors, ensure you have the latest version:

Network Issues

Foundry requires internet access to search and download datasets. If behind a proxy:

Cache Location

By default, datasets are cached in your home directory. To change:

Next Steps

  • Quick Start - Load your first dataset

  • CLI - Use Foundry from the command line

Last updated

Was this helpful?