Pratyush-01 commited on
Commit
cc7fd79
·
verified ·
1 Parent(s): 88a3c69

Sync pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +5 -3
pyproject.toml CHANGED
@@ -22,8 +22,10 @@ dependencies = [
22
  [project.optional-dependencies]
23
  dev = ["pytest>=7.4", "ruff>=0.4"]
24
  # Training stack pinned to versions verified to work together. trl is
25
- # HARD-pinned: see physix-train/Dockerfile for the rationale (Unsloth's
26
- # patch_trl_openenv hook crashes on trl >=0.26).
 
 
27
  train = [
28
  "torch>=2.4",
29
  "transformers>=4.56.1",
@@ -39,7 +41,7 @@ train = [
39
  # validator checks for.
40
  "matplotlib>=3.7",
41
  ]
42
- demo = ["ollama>=0.4"]
43
 
44
  [project.scripts]
45
  physix-server = "physix.server.app:main"
 
22
  [project.optional-dependencies]
23
  dev = ["pytest>=7.4", "ruff>=0.4"]
24
  # Training stack pinned to versions verified to work together. trl is
25
+ # HARD-pinned because Unsloth's patch_trl_openenv hook tries to
26
+ # inspect.getsource() the TRL OpenEnv internal, which crashes on
27
+ # trl >=0.26 ("OSError: could not get source code"). 0.24.0 is the
28
+ # upper bound declared in unsloth's own pyproject.toml.
29
  train = [
30
  "torch>=2.4",
31
  "transformers>=4.56.1",
 
41
  # validator checks for.
42
  "matplotlib>=3.7",
43
  ]
44
+ demo = ["openai>=1.30", "ollama>=0.4"]
45
 
46
  [project.scripts]
47
  physix-server = "physix.server.app:main"