Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 2c03802

Browse files
committed
Adding unit tests for the flow matching pipeline
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
1 parent f308108 commit 2c03802

7 files changed

Lines changed: 1891 additions & 2 deletions

tests/unit_tests/L0_Unit_Tests_CPU.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
# Hide GPU from PyTorch by setting CUDA_VISIBLE_DEVICES to empty
1616
# This makes torch.cuda.is_available() return False
17-
CUDA_VISIBLE_DEVICES="" uv run --group megatron-bridge coverage run -a --data-file=/opt/DFM/.coverage --source=/opt/DFM/ -m pytest tests/unit_tests -m "not pleasefixme" --with_downloads
17+
CUDA_VISIBLE_DEVICES="" uv run --group megatron-bridge --group automodel coverage run -a --data-file=/opt/DFM/.coverage --source=/opt/DFM/ -m pytest tests/unit_tests -m "not pleasefixme" --with_downloads

tests/unit_tests/L0_Unit_Tests_GPU.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
CUDA_VISIBLE_DEVICES="0,1" uv run --group megatron-bridge coverage run -a --data-file=/opt/DFM/.coverage --source=/opt/DFM/ -m pytest tests/unit_tests -m "not pleasefixme" --with_downloads
14+
CUDA_VISIBLE_DEVICES="0,1" uv run --group megatron-bridge --group automodel coverage run -a --data-file=/opt/DFM/.coverage --source=/opt/DFM/ -m pytest tests/unit_tests -m "not pleasefixme" --with_downloads

0 commit comments

Comments
 (0)