-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (103 loc) · 2.9 KB
/
pyproject.toml
File metadata and controls
119 lines (103 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cosmos-predict2"
dynamic = ["version"]
authors = [
{name = "NVIDIA Corporation"},
]
description = "Cosmos Predict2 World Foundation Model"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: GPU :: NVIDIA CUDA",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"cosmos-oss==0.1.0",
]
[project.optional-dependencies]
gradio = ["cosmos-oss[gradio]"]
cu128 = ["cosmos-oss[cu128_torch27]"]
cu130 = ["cosmos-oss[cu130_torch29]"]
[dependency-groups]
dev = ["cosmos-oss[dev,gradio]"]
[project.readme]
content-type = "text/markdown"
text = '''
# Cosmos-Predict2
[Documentation](https://github.com/nvidia-cosmos/cosmos-predict2/blob/main/README.md)
'''
[project.urls]
documentation = "https://github.com/nvidia-cosmos/cosmos-predict2/blob/main/README.md"
homepage = "https://research.nvidia.com/labs/dir/cosmos-predict2"
issues = "https://github.com/nvidia-cosmos/cosmos-predict2/issues"
repository = "https://github.com/nvidia-cosmos/cosmos-predict2"
[tool.uv]
conflicts = [
[{extra = "cu128"}, {extra = "cu129"}, {extra = "cu130"}],
]
override-dependencies = ["numpy>=2.0.0"]
[tool.uv.workspace]
members = ["packages/*"]
[tool.uv.sources]
cosmos-oss = [{ workspace = true }]
[tool.hatch.version]
path = "cosmos_predict2/__about__.py"
[tool.hatch.build.targets.sdist]
packages = [
"cosmos_predict2",
]
include = [
"sitecustomize.py",
]
[tool.hatch.build.targets.wheel]
packages = [
"cosmos_predict2",
]
include = [
"sitecustomize.py",
]
exclude = [
"*_test.py",
]
[tool.coverage.run]
parallel = true
concurrency = ["thread", "multiprocessing"]
source = ["cosmos_predict2"]
sigterm = true
[tool.coverage.paths]
source = [
"cosmos_predict2/",
"*/site-packages/cosmos_predict2/",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@overload",
]