Skip to content

Mistral Large 4: FP8 quantized fixtures (#222) - #252

Draft
tarekziade wants to merge 10 commits into
mainfrom
fix/mistral4-quantization-222
Draft

tarekziade wants to merge 10 commits into
mainfrom
fix/mistral4-quantization-222

Conversation

@tarekziade

Copy link
Copy Markdown
Collaborator

Draft, not ready to land. Opened to keep the work for #222 in the repo, rebased onto current main.

What it does

Status

  • Rebased onto main. There were two conflicts, both where the branch and main had appended to the same place: tests appended next to each other (both kept), and a docs/fixtures.md bullet (main's text kept, plus the branch's new bullet).
  • python -m pytest tests/ -q (Python 3.11, torch 2.15.0, transformers 5.22.1): 586 passed, 1 skipped (sentence_transformers is not installed).
  • Only the CPU path is tested, and on CPU loading dequantizes. Native FP8 kernels and contract baselines are not validated.

Open questions

  • #50462 shape: the parser expects a @staticmethod get_small_config_defaults() that returns a literal. #50462 as it stands puts the literal in a class-level small_config_overrides and makes get_small_config_defaults(cls, **kwargs) a classmethod that merges base defaults from tests/model_tester_config.py. So the migrated Mistral Large 4 tester would not be read. The parser should probably read small_config_overrides plus the base dicts, and keep using ast.
  • The experiment workspace's fleet.lock pins torch 2.14.0, while main's fleet runs 2.15.0.
  • experiment/mistral4-gpu-20261107 has two more commits that are not included here: an expert-aligned fixture snapshot and GPU check changes. They also touch fixture_quantization.py, fixture_validation.py and tester.py.
  • Should the local_workspace workflow mode and verify_workspace_baselines.py land with this change or separately?

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
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