You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pyproject.toml 1.4 kB

10 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [project]
  2. name = "dora-rdt-1b"
  3. version = "0.3.12"
  4. authors = [{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" }]
  5. description = "Dora Node for RDT 1B"
  6. license = { text = "MIT" }
  7. readme = "README.md"
  8. requires-python = ">=3.9"
  9. dependencies = [
  10. "dora-rs >= 0.3.9",
  11. "numpy > 1.24.4",
  12. "torch >= 2.7.0",
  13. "torchvision >= 0.22",
  14. "torchaudio >= 2.7.0",
  15. "transformers >= 4.45",
  16. "qwen-vl-utils >= 0.0.2",
  17. "accelerate >= 0.33",
  18. "opencv-python >= 4.1.1",
  19. "modelscope >= 1.18.1",
  20. "packaging == 24.0",
  21. "wandb == 0.17.0",
  22. "diffusers == 0.27.2",
  23. "timm == 1.0.3",
  24. "sentencepiece == 0.2.0",
  25. "h5py == 3.11.0",
  26. "imgaug == 0.4.0",
  27. "huggingface_hub == 0.23.5",
  28. ]
  29. # flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation
  30. [tool.black]
  31. extend-exclude = 'dora_rdt_1b/RoboticsDiffusionTransformer'
  32. [dependency-groups]
  33. dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
  34. [project.scripts]
  35. dora-rdt-1b = "dora_rdt_1b.main:main"
  36. [tool.ruff]
  37. exclude = ["dora_rdt_1b/RoboticsDiffusionTransformer"]
  38. [build-system]
  39. requires = ["poetry-core>=1.8.0"]
  40. build-backend = "poetry.core.masonry.api"
  41. [tool.ruff.lint]
  42. extend-select = [
  43. "D", # pydocstyle
  44. "UP", # Ruff's UP rule
  45. "PERF", # Ruff's PERF rule
  46. "RET", # Ruff's RET rule
  47. "RSE", # Ruff's RSE rule
  48. "NPY", # Ruff's NPY rule
  49. "N", # Ruff's N rule
  50. "I", # Ruff's I rule
  51. ]