We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a99b2 commit 1c017adCopy full SHA for 1c017ad
triton/apps/llms.rst
@@ -133,6 +133,7 @@ To access Huggingface models:
133
134
import os
135
os.environ['TRANSFORMERS_OFFLINE'] = '1'
136
+ os.environ['HF_HUB_OFFLINE'] = '1'
137
os.environ['HF_HOME']='/scratch/shareddata/dldata/huggingface-hub-cache'
138
139
@@ -144,6 +145,7 @@ Here is a Python script using huggingface model.
144
145
## !!!!!! NOTE: this must be in front of import transformers.
146
147
148
149
150
from transformers import AutoModelForCausalLM, AutoTokenizer
151
0 commit comments