Skip to content

Commit 50ffe11

Browse files
authored
Update llms.rst
1 parent 1444b07 commit 50ffe11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

triton/apps/llms.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ Here is a Python script using huggingface model.
140140

141141
.. code-block:: python
142142
143-
## Force transformer to load model(s) from local hub instead of download and load model(s) from remote hub. NOTE: this must be run before importing transformers.
143+
## Force transformer to load model(s) from local hub instead of download and load model(s) from remote hub.
144+
!!!!!! NOTE: this must be in front of import transformers.
145+
144146
import os
145147
os.environ['TRANSFORMERS_OFFLINE'] = '1'
146148

0 commit comments

Comments
 (0)