Commit 92ba50d6 authored by jameskrw's avatar jameskrw
Browse files

udpate setup

parent 43661cc1
Loading
Loading
Loading
Loading
+3 −13
Changes for README.md: 3 added lines, 13 removed lines.
Original line number Diff line number Diff line
# My Project with VERL Submodule

This repository includes [VERL (Volcengine Reinforcement Learning)](https://github.com/volcengine/verl) as a submodule.

## Setup

To clone this repository with its submodules:

```bash
git clone --recursive [your-repo-url]
```

Or if you've already cloned it:

```bash
git submodule update --init --recursive
git clone git@github.com:JamesKrW/vagen.git
cd vagen
bash scripts/install.sh
```


scripts/install.sh

0 → 100644
+31 −0
Changes for scripts/install.sh: 31 added lines, 0 removed lines.
Original line number Diff line number Diff line
#!/bin/bash
set -e

echo "Starting installation process..."

# Initialize and update git submodules
echo "Initializing git submodules..."
git submodule update --init

# First install verl subdirectory as editable package
echo "Installing verl package..."
cd verl
pip install -e .
cd ../

# Now install the main requirements
echo "Installing vagen dependencies..."
pip install 'transformers>=4.49.0'
pip install 'vllm>=0.7.3'
pip install 'qwen-vl-utils'
pip install 'mathruler'

# Install flash-attn with special flags
echo "Installing flash-attn with no build isolation..."
pip install flash-attn --no-build-isolation

# Install the main package
echo "Installing vagen package..."
pip install -e .

echo "Installation complete!"
 No newline at end of file

setup.py

0 → 100644
+20 −0
Changes for setup.py: 20 added lines, 0 removed lines.
Original line number Diff line number Diff line
from setuptools import setup, find_packages
import os

setup(
    name="vagen",
    version="0.1.0",
    packages=find_packages(),
    python_requires='>=3.11',
    author="",
    author_email="",
    description="A Python package for vagen",
    long_description=open("README.md", "r").read() if os.path.exists("README.md") else "",
    long_description_content_type="text/markdown",
    url="",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)
 No newline at end of file