Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with torch rmm and nemo #155

Merged
merged 2 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions nemo_curator/services/nemo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
# 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.
from __future__ import annotations

import warnings
from typing import Iterable, List, Optional, Union

from nemo_curator.services.conversation_formatter import ConversationFormatter
from nemo_curator.utils.import_utils import safe_import_from

from .model_client import AsyncLLMClient, LLMClient

NemoQueryLLM = safe_import_from("nemo.deploy.nlp", "NemoQueryLLM")


class NemoDeployClient(LLMClient):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"charset_normalizer>=3.1.0",
"awscli>=1.22.55",
"fasttext==0.9.2",
"pycld2==0.41",
"pycld2",
"justext==3.0.1",
"resiliparse",
"ftfy==6.1.1",
Expand Down