-
### System Info / 系統信息
代码是readme中的示例代码,具体如下:
```
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda"
tokenizer = AutoTokenizer.from_pretrained("THUDM/gl…
-
I have a model and serializer that have some optional fields. Since 3.15 (maybe .1 but I haven't had a chance to use .0 due to different regressions) this field is suddenly required however, breaking …
-
**Description**
As part of our ongoing efforts to optimize resource usage and streamline our production environment, we need to explore and adopt a lighter Docker image for our Python Django applicat…
-
```
/usr/home/sixpiece/python/emploiquebec
InvalidImageFormatError at /admin/emplois/employer/
The source file does not appear to be an image: 'filer_public/ac/d6/acd61aca-000e-481f-9dcb-2009414daa…
-
I want to implement a custom validator, in order to verify that a token was used only once to read, and only once to write.
In my `settings.py` I have the following:
```
OAUTH2_PROVIDER = {
…
-
Hello!
It looks like there is a missing migration causing this error when running `manage.py migrate`
`Your models in app(s): 'eventlog' have changes that are not yet reflected in a migration…
-
I am not sure if this is already supported (since I could not find it in docs).
Application's Redirect URIs should accept wildcard URIs (for sub-domains), and OAuth2 Validator should be able to val…
-
in a model field (`FileField`) I have `validators=[validate_file_extension]` and I'm able to upload files which aren't allowed in the validator.
I suppose the `auto` thingy doesn't take validators fr…
-
## Due date
2024.02.20
## Complete date
## Description
* NLP 관련 DB를 Django 서버에 추가
* 기존의 DB는 유지하고 새로운 DB 추가
## TO-DO
* Django multi-DB setting
* settings.py 설정 업데이트
* mulit-DB 관련 r…
-
I'm using different settings files (base.py, dev.py, prod.py) which are stored in a settings directory. The composent directory is at the root of the project.
In this case, django-components fails …