Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python_seed_env/src/seed_env/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
DEFAULT_PYTHON_VERSION = "3.12"
DEFAULT_HARDWARE = "tpu"
DEFAULT_BUILD_PROJECT = False
SUPPORTED_HARDWARE = ["tpu", "gpu", "cuda12", "cuda13"]
SUPPORTED_HARDWARE = ["tpu", "gpu", "cuda12", "cuda13", "cpu"]

TENSORFLOW_DEPS = [
"tensorflow",
Expand Down
5 changes: 5 additions & 0 deletions python_seed_env/src/seed_env/uv_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ def _remove_hardware_specific_deps(hardware: str, pyproject_file: str, output_di
hardware_specific_deps_list = TPU_SPECIFIC_DEPS.copy()
hardware_specific_deps_list.extend(CUDA12_SPECIFIC_DEPS)
hardware_specific_deps_list.extend(TENSORFLOW_DEPS)
elif hardware == "cpu":
hardware_specific_deps_list = TPU_SPECIFIC_DEPS.copy()
hardware_specific_deps_list.extend(CUDA12_SPECIFIC_DEPS)
hardware_specific_deps_list.extend(CUDA13_SPECIFIC_DEPS)
hardware_specific_deps_list.extend(TENSORFLOW_DEPS)
else:
logging.warning(f"Unknown hardware {hardware}. Please use tpu or gpu.")
return
Expand Down