Skip to content

Conversation

@atemaguer
Copy link

This PR adds support for Mithril GPU Cloud as a new cloud provider in SkyPilot, enabling users to launch and manage GPU instances on Mithril's spot-based infrastructure.

Tested (run the relevant ones):

  • Code formatting: install pre-commit (auto-check on commit) or bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: /smoke-test (CI) or pytest tests/test_smoke.py (local)
  • Relevant individual tests: /smoke-test -k test_name (CI) or pytest tests/test_smoke.py::test_name (local)
  • Backward compatibility: /quicktest-core (CI) or pytest tests/smoke_tests/test_backward_compat.py (local)

@atemaguer atemaguer force-pushed the mithril-cloud-support branch from c6cec07 to 59834dd Compare October 28, 2025 13:47
- Accept API key via command-line argument, environment variable, or config file
- Update get_api_key() to check multiple sources in order of precedence
- Update create_catalog() signature to accept optional api_key parameter
- Add get_output_path() function to determine catalog file location
- Remove hardcoded output path from create_catalog() signature
- Automatically create mithril subdirectory when needed
- Simplify main() by removing --output argument
@atemaguer atemaguer force-pushed the mithril-cloud-support branch from 48363ff to a71543d Compare October 28, 2025 14:44
…y supported GPU types

- Fix API response parsing: Mithril API uses FIDs for instance types in spot availability
- Add FID-to-name mapping to correctly associate prices with instances
- Fix price field parsing: use 'last_instance_price' field with dollar prefix
- Update GPU_MEMORY_MAP to only include Mithril-supported GPUs (A100, H100)
- Enhance parse_gpu_info to use actual GPU memory from API response
- Remove unsupported GPU types (V100, A10, L40, L4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant