Instructions to use MemTensor/MemT-1.0-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MemTensor/MemT-1.0-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MemTensor/MemT-1.0-Pro", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MemTensor/MemT-1.0-Pro", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MemTensor/MemT-1.0-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MemTensor/MemT-1.0-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MemTensor/MemT-1.0-Pro
- SGLang
How to use MemTensor/MemT-1.0-Pro with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MemTensor/MemT-1.0-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MemTensor/MemT-1.0-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MemTensor/MemT-1.0-Pro with Docker Model Runner:
docker model run hf.co/MemTensor/MemT-1.0-Pro
Add files using upload-large-folder tool
Browse files- model-00017-of-00226.safetensors +3 -0
- model-00028-of-00226.safetensors +3 -0
- model-00035-of-00226.safetensors +3 -0
- model-00040-of-00226.safetensors +3 -0
- model-00044-of-00226.safetensors +3 -0
- model-00048-of-00226.safetensors +3 -0
- model-00066-of-00226.safetensors +3 -0
- model-00075-of-00226.safetensors +3 -0
- model-00078-of-00226.safetensors +3 -0
- model-00087-of-00226.safetensors +3 -0
- model-00096-of-00226.safetensors +3 -0
- model-00117-of-00226.safetensors +3 -0
- model-00141-of-00226.safetensors +3 -0
- model-00151-of-00226.safetensors +3 -0
- model-00158-of-00226.safetensors +3 -0
- model-00170-of-00226.safetensors +3 -0
- model-00172-of-00226.safetensors +3 -0
- model-00196-of-00226.safetensors +3 -0
- model-00203-of-00226.safetensors +3 -0
- model-00210-of-00226.safetensors +3 -0
model-00017-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f34f0675d3e6cf7017c39e2eb8ad2e2feea1d20235a9d8a9575fc046d660620c
|
| 3 |
+
size 4991252600
|
model-00028-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972af6553b2aec092afb24df2e3fb5c99e327af4a55cef7d6859aab6c19ec3bc
|
| 3 |
+
size 4966334304
|
model-00035-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45e578e598d7aa225fe2804d6688392738fca411e843263eadfc63c94e28e603
|
| 3 |
+
size 4991252840
|
model-00040-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:779e171252824eb706ed882b6efe8d31093d6556807c98d646ef2427be3008d6
|
| 3 |
+
size 4991252840
|
model-00044-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6af0faed663ff5a1ec751be83dda4cc535adb48a44cfe7bb578245edfef1f60e
|
| 3 |
+
size 4991252840
|
model-00048-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bde2d46e5aeb896b733332237821ffd62590f92adb223ebbdb88378b8669013
|
| 3 |
+
size 4991252800
|
model-00066-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cef7e5835f6d18012dcc7744dffa0023509a1df7f863a9a95ab07ff1455dfb44
|
| 3 |
+
size 4991252736
|
model-00075-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:884979316c0d314048b9a1e7dfc37eecbbb1cb889805d5eac62251be4233959b
|
| 3 |
+
size 4991252704
|
model-00078-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4e7dbfb487e34d7af04f4035ade1b08e4e60f3f3ce9b99b1d9c89b4407bcf50
|
| 3 |
+
size 4991252840
|
model-00087-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7061ac816e79db5b72324594a61a694038aad93b26370ef232b746fd89aa6a2
|
| 3 |
+
size 4991252840
|
model-00096-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb11da5e84c0fa018158aaddef1cbbcffd0e024a02bfefc110c62d68643b7c81
|
| 3 |
+
size 4991252840
|
model-00117-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91347c586dd9350a83178e9d4518a3917c4e22311a51a0c20df78bd6e0fac69b
|
| 3 |
+
size 4991252840
|
model-00141-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37e7bb701025846ad047097cf6f5f0a8f153cb786b8b5caa77d1e5c27071fe45
|
| 3 |
+
size 4991252840
|
model-00151-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8314de4eba2de7d288090850a946c30c210508bde7860df8e2ca56dd4a67a0b4
|
| 3 |
+
size 4991252840
|
model-00158-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:379007ec6008c6745f75040054ad78a713e106e7ef8afc6bc56bd6602f9f8a16
|
| 3 |
+
size 4991252840
|
model-00170-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f72e54246069583809d7d52f352154846b6241a14b004c4273621442832eb83
|
| 3 |
+
size 4987305888
|
model-00172-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a61fc51c38f5b5d452b25804c036d1d383df4c65f2f6871ead7f7cb7fcf256b
|
| 3 |
+
size 4991252840
|
model-00196-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c54b715fcaab3781bebbb669c20942c9f9984c31d2ce1138e45dc5ce5490f3e8
|
| 3 |
+
size 4991252840
|
model-00203-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d41402e6e28558283079333824ca21ac6793d79f094c89f36d017c3e44bed30
|
| 3 |
+
size 4991252928
|
model-00210-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1e6687924bba1eb3f94383e7b9d23bd32a5707b3988be06bde36f220913af4c
|
| 3 |
+
size 4991253080
|