Skip to content

Commit

Permalink
Fix bug with torch rmm and nemo (NVIDIA#155)
Browse files Browse the repository at this point in the history
* Fix bug with torch rmm and nemo

Signed-off-by: Ryan Wolf <rywolf@nvidia.com>

* Change pycld2 version pin

Signed-off-by: Ryan Wolf <rywolf@nvidia.com>

---------

Signed-off-by: Ryan Wolf <rywolf@nvidia.com>
  • Loading branch information
ryantwolf authored and sarahyurick committed Jul 23, 2024
1 parent 70acdbf commit fb63051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
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

0 comments on commit fb63051

Please sign in to comment.